Retrieves the 3D attributes of a sample, stream, or MOD music channel with 3D functionality.
BOOL WINAPI BASS_ChannelGet3DAttributes( |
Parameters
handle | The channel handle... a HCHANNEL, HMUSIC, HSTREAM. |
mode | The 3D processing mode... NULL = don't retrieve it. |
min | The minimum distance... NULL = don't retrieve it. |
max | The maximum distance... NULL = don't retrieve it. |
iangle | The angle of the inside projection cone... NULL = don't retrieve it. |
oangle | The angle of the outside projection cone... NULL = don't retrieve it. |
outvol | The delta-volume outside the outer projection cone... NULL = don't retrieve it. |
Return value
If succesful, then TRUE is returned, else FALSE is returned. Use BASS_ErrorGetCode to get the error code.
Error codes
BASS_ERROR_HANDLE | handle is not a valid channel. |
BASS_ERROR_NO3D | The channel does not have 3D functionality... it wasn't created or loaded with the BASS_xxx_3D flag. |
Remarks
The iangle and oangle parameters must both be retrieved in a single call to this function (ie. you can't retrieve one without the other). See BASS_ChannelSet3DAttributes for an explanation of the parameters.
See also
BASS_ChannelGet3DPosition, BASS_ChannelGetAttributes, BASS_ChannelSet3DAttributes