BASS.NET API for the Un4seen BASS Audio Library

BASSBufferWrite Method (IntPtr, Int32)

BASS.NET API for the Un4seen BASS Audio Library
Writes (add) the given number of sample data to the ring buffer.

Namespace:  Un4seen.Bass
Assembly:  Bass.Net (in Bass.Net.dll) Version: 2.4.17.5
Syntax

public int Write(
	IntPtr buffer,
	int length
)

Parameters

buffer
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)).
length
Type: SystemInt32
The number of BYTES to write to the ring buffer (from the buffer).

Return Value

Type: Int32
The number of bytes actually written to the ring buffer.
See Also

Reference