BASS_ChannelGetFlags

Retrieves some information on a sample, stream, or MOD music channel.

DWORD WINAPI BASS_ChannelGetFlags(
    DWORD handle
);

Parameters
handleThe channel handle... a HCHANNEL, HMUSIC, HSTREAM.

Return value
If an error occurs, 0xFFFFFFFF is returned, use BASS_ErrorGetCode to get the error code. If successful, a combination of these flags is returned.

BASS_SAMPLE_8BITSThe channel's resolution is 8 bit, else 16 bit.
BASS_SAMPLE_MONOThe channel is mono, else stereo.
BASS_SAMPLE_LOOPThe channel is looped.
BASS_SAMPLE_3DThe channel has 3D functionality enabled.
BASS_SAMPLE_SOFTWAREThe channel is NOT using hardware mixing... it doesn't benefit from any special hardware interpolation, etc...
BASS_SAMPLE_VAMThe channel is using the DX7 voice allocation and management features (HCHANNEL only).

Error codes
BASS_ERROR_HANDLEhandle is not a valid channel.

Remarks
The BASS_SAMPLE_SOFTWARE flag indicates whether or not the channel's sample data is being mixed into the final output by the hardware. It does not indicate (in the case of a stream or MOD music) whether the processing required to generate the sample data is being done by the hardware, this processing is always done in software by BASS, a CODEC (WAV file stream), or a user defined function (user stream).

See also
BASS_ChannelGetAttributes