The BASS_CHANNELINFO type exposes the following members.
Fields
Name | Description | |||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
chans |
Number of channels... 1=mono, 2=stereo, etc.
| |||||||||||||||||||||||||||||||||||||||||||||||||
ctype |
The type of channel it is, which can be one of the following (see BASSChannelType), or another value if it's an add-on format (see the add-on's API).
| |||||||||||||||||||||||||||||||||||||||||||||||||
filename |
The filename associated with the channel. (HSTREAM only)
| |||||||||||||||||||||||||||||||||||||||||||||||||
flags |
BASS_SAMPLE/STREAM/MUSIC/SPEAKER flags. A combination of these flags (see BASSFlag):
| |||||||||||||||||||||||||||||||||||||||||||||||||
freq |
Default playback rate.
| |||||||||||||||||||||||||||||||||||||||||||||||||
origres |
The original resolution (bits per sample)... 0 = undefined.
| |||||||||||||||||||||||||||||||||||||||||||||||||
origresIsFloat |
Is the original resolution floating point?
| |||||||||||||||||||||||||||||||||||||||||||||||||
plugin |
The plugin that is handling the channel... 0 = not using a plugin.
Note this is only available with streams created using the plugin system via the standard BASS stream creation functions, not those created by add-on functions. Information on the plugin can be retrieved via BASS_PluginGetInfo(Int32). | |||||||||||||||||||||||||||||||||||||||||||||||||
sample |
The sample that is playing on the channel. (HCHANNEL only)
|
See Also