SND_ReadChannelInfo

Syntax

#include <nitro/snd.h>
BOOL SND_ReadChannelInfo(
        const SNDDriverInfo* driverInfo,
        int chNo,
        SNDChannelInfo* chInfo );

Arguments

driverInfo The pointer to the driver information structure.
chNo The channel number. Takes a value between 0 and 15.
chInfo The pointer to the channel information structure to store the obtained information

Return Values

Returns whether the attempt to obtain the information succeeded or failed.

Description

Gets the channel information from the driver information structure.

The SND_ReadDriverInfo function can be used to obtain the driverInfo driver information structure.

If obtained successfully, the channel information is written to chInfo, the SNDChannelInfo-type structure for the channel information.

See Also

SND_ReadDriverInfo, SNDChannelInfo

Revision History

2005/02/17 Initial version.


CONFIDENTIAL