Retrieves the device that a channel is using.
|handle||The channel handle... a HCHANNEL, HMUSIC, HSTREAM, or HRECORD. HSAMPLE handles may also be used.
If successful, the device number is returned, else -1 is returned. Use BASS_ErrorGetCode to get the error code.
|BASS_ERROR_HANDLE||handle is not a valid channel.
Recording devices are indicated by the HIWORD of the return value being 1, when this function is called with a HRECORD channel.
The return value may be BASS_NODEVICE, if the channel is not associated with a device.
BASS_ChannelSetDevice, BASS_GetDevice, BASS_SetDevice, BASS_RecordGetDevice, BASS_RecordSetDevice