BASS.NET API for the Un4seen BASS Audio Library

BASSBuffer Methods

BASS.NET API for the Un4seen BASS Audio Library

The BASSBuffer type exposes the following members.

Methods

  NameDescription
Public methodClear
Clears the ring buffer (zeros all elements) and resets all read and write pointers.
Public methodCount
Returns the number of bytes available in the ring buffer for reading.
Public methodDispose
Implement IDisposable.
Protected methodFinalize
Finalization code.
(Overrides ObjectFinalize.)
Public methodRead(Byte, Int32, Int32)
Reads (removes) the given number of sample data from the ring buffer.
Public methodRead(IntPtr, Int32, Int32)
Reads (removes) the given number of sample data from the ring buffer.
Public methodResize
Resizes (enlarges) the ring buffer by the given factor.
Public methodSpace
Returns the number of bytes available in the ring buffer for writing until an overflow of the read pointer will happen.
Public methodWrite(Byte, Int32)
Writes (add) the given number of sample data to the ring buffer.
Public methodWrite(IntPtr, Int32)
Writes (add) the given number of sample data to the ring buffer.
Top
See Also

Reference