Checks if an attribute (or any attribute) of a sample, stream, or MOD music is sliding.
Namespace: Un4seen.Bass
Assembly: Bass.Net (in Bass.Net.dll) Version: 2.4.17.5
Syntax
[DllImportAttribute("bass")] public static bool BASS_ChannelIsSliding( int handle, BASSAttribute attrib )
Parameters
- handle
- Type: SystemInt32
The channel handle... a HCHANNEL, HMUSIC, HSTREAM or HRECORD. - attrib
- Type: Un4seen.BassBASSAttribute
The attribute to check for sliding (one of the following, see BASSAttribute or 0 for any attribute):Other attributes may be supported by add-ons, see the documentationBASS_ATTRIB_EAXMIX EAX wet/dry mix. BASS_ATTRIB_FREQ Sample rate. BASS_ATTRIB_PAN Panning/balance position. BASS_ATTRIB_VOL Volume level. BASS_ATTRIB_MUSIC_AMPLIFY Amplification level. (HMUSIC) BASS_ATTRIB_MUSIC_BPM BPM. (HMUSIC) BASS_ATTRIB_MUSIC_PANSEP Pan separation level. (HMUSIC) BASS_ATTRIB_MUSIC_PSCALER Position scaler. (HMUSIC) BASS_ATTRIB_MUSIC_SPEED Speed. (HMUSIC) BASS_ATTRIB_MUSIC_VOL_CHAN A channel volume level. (HMUSIC) BASS_ATTRIB_MUSIC_VOL_GLOBAL Global volume level. (HMUSIC) BASS_ATTRIB_MUSIC_VOL_INST An instrument/sample volume level. (HMUSIC)
Return Value
Type: BooleanIf the attribute (or any) is sliding, then is returned, else is returned.
Examples
while (Bass.BASS_ChannelIsSliding(channel, BASSAttribute.BASS_ATTRIB_VOL)) { Thread.Sleep(20); // wait 20ms }
See Also