Retrieves information on an Asio channel.
Namespace: Un4seen.BassAsio
Assembly: Bass.Net (in Bass.Net.dll) Version: 2.4.17.5
Syntax
[DllImportAttribute("bassasio")] public static bool BASS_ASIO_ChannelGetInfo( bool input, int channel, BASS_ASIO_CHANNELINFO info )
Parameters
- input
- Type: SystemBoolean
Dealing with an input channel? = an output channel. - channel
- Type: SystemInt32
The input/output channel number... 0 = first. - info
- Type: Un4seen.BassAsioBASS_ASIO_CHANNELINFO
An instance of the BASS_ASIO_CHANNELINFO class to store the information at.
Return Value
Type: BooleanIf successful, is returned, else is returned. Use BASS_ASIO_ErrorGetCode to get the error code.
Remarks
ERROR CODE | Description |
---|---|
BASS_ERROR_INIT | BASS_ASIO_Init(Int32, BASSASIOInit) has not been successfully called. |
BASS_ERROR_ILLPARAM | The input and channel combination is invalid. |
Examples
BASS_ASIO_CHANNELINFO info = new BASS_ASIO_CHANNELINFO(); int chan = 0; while (true) { if (!BassAsio.BASS_ASIO_ChannelGetInfo(false, chan, info)) break; Console.WriteLine( info.ToString() ); chan++; }
See Also