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

  NameDescription
Public methodStatic memberBASS_Encode_Write(Int32, Byte, Int32)
Sends sample data to the encoder.

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

Public methodStatic memberBASS_Encode_Write(Int32, Int16, Int32)
Sends sample data to the encoder.

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

Public methodStatic memberBASS_Encode_Write(Int32, Int32, Int32)
Sends sample data to the encoder.

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 memberBASS_Encode_Write(Int32, IntPtr, Int32)
Sends sample data to the encoder.
Public methodStatic memberBASS_Encode_Write(Int32, Single, Int32)
Sends sample data to the encoder.

This overload uses a managed float[] to handover sample data to the encoder (typically not used, since most encoders expect 16-bit, so use the int[] or short[] overload).

Top
See Also

Reference