Writes (add) the given number of sample data to the ring buffer.
Assembly: Bass.Net (in Bass.Net.dll) Version: 22.214.171.124
public int Write( IntPtr buffer, int length )
Public Function Write ( buffer As IntPtr, length As Integer ) As Integer
- Type: SystemIntPtr
The pointer to the buffer containing the sample data to write to the ring buffer (e.g. as provided by a RECORDPROC, DSPPROC etc. or even by BASS_ChannelGetData(Int32, IntPtr, Int32)).
- Type: SystemInt32
The number of BYTES to write to the ring buffer (from the buffer).
Return ValueType: Int32
The number of bytes actually written to the ring buffer.