BASS.NET API for the Un4seen BASS Audio LibraryBassBASS_ChannelGetData Method BASS.NET API for the Un4seen BASS Audio Library
Overload List

  NameDescription
Public methodStatic memberCode exampleBASS_ChannelGetData(Int32, Byte, Int32)
Retrieves the immediate sample data of a sample channel, stream, MOD music, or recording channel. This overload uses a managed byte[] to reference the buffer data! SHOULD ONLY BE USED, if the stream was created with BASS_SAMPLE_8BITS!
Public methodStatic memberCode exampleBASS_ChannelGetData(Int32, Int16, Int32)
Retrieves the immediate sample data of a sample channel, stream, MOD music, or recording channel. This overload uses a managed short[] to reference the buffer data as 16-bit values - each element will represent one channel in this case! SHOULD ONLY BE USED, if the stream was created WITHOUT BASS_SAMPLE_FLOAT or BASS_SAMPLE_8BITS!
Public methodStatic memberCode exampleBASS_ChannelGetData(Int32, Int32, Int32)
Retrieves the immediate sample data of a sample channel, stream, MOD music, or recording channel. This overload uses a managed int[] to reference the buffer data (Note: an int is 32-bit meaning if we expect to receive 16-bit data stereo a single int value will contain 2 x 16-bit, so a full stereo pair of data)! SHOULD ONLY BE USED, if the stream was created WITHOUT BASS_SAMPLE_FLOAT or BASS_SAMPLE_8BITS!
Public methodStatic memberCode exampleBASS_ChannelGetData(Int32, IntPtr, Int32)
Retrieves the immediate sample data (or an FFT representation of it) of a sample channel, stream, MOD music, or recording channel. This overload uses an IntPtr to reference the buffer data.
Public methodStatic memberCode exampleBASS_ChannelGetData(Int32, Single, Int32)
Retrieves the immediate sample data (or an FFT representation of it) of a sample channel, stream, MOD music, or recording channel. This overload uses a managed float[] to reference the buffer data as 32-bit! SHOULD ONLY BE USED, if the stream was created with BASS_SAMPLE_FLOAT!
Top
See Also

Reference