BASS.NET API for the Un4seen BASS Audio Library

BassWmaBASS_WMA_EncodeWrite Method

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

  NameDescription
Public methodStatic memberCode exampleBASS_WMA_EncodeWrite(Int32, Byte, Int32)
Encodes sample data, and writes it to the file or network.

This overload uses a managed byte[] to handover sample data to the encoder (perfect for 8-bit samples).

Public methodStatic memberCode exampleBASS_WMA_EncodeWrite(Int32, Int16, Int32)
Encodes sample data, and writes it to the file or network.

This overload uses a managed short[] to handover sample data to the encoder (perfect for 16-bit samples).

Public methodStatic memberCode exampleBASS_WMA_EncodeWrite(Int32, Int32, Int32)
Encodes sample data, and writes it to the file or network.

This overload uses a managed int[] to handover sample data to the encoder (Note: An int[] is 32-bit. When using 16-bit samples we can keep a stereo pair in here).

Public methodStatic memberCode exampleBASS_WMA_EncodeWrite(Int32, IntPtr, Int32)
Encodes sample data, and writes it to the file or network.

This overload uses an IntPtr to point to the memory block containing the data.

Public methodStatic memberCode exampleBASS_WMA_EncodeWrite(Int32, Single, Int32)
Encodes sample data, and writes it to the file or network.

This overload uses a managed float[] to handover sample data to the encoder.

Top
See Also

Reference