opus_custom_decode_float method

int opus_custom_decode_float(
  1. Pointer<OpusCustomDecoder> st,
  2. Pointer<Uint8> data,
  3. int len,
  4. Pointer<Float> pcm,
  5. int frame_size,
)

Decode an opus custom frame with floating point output @param in st OpusCustomDecoder*: Decoder state @param in data char*: Input payload. Use a NULL pointer to indicate packet loss @param in len int: Number of bytes in payload @param out pcm float*: Output signal (interleaved if 2 channels). length is frame_sizechannelssizeof(float) @param in frame_size Number of samples per channel of available space in *pcm. @returns Number of decoded samples or @ref opus_errorcodes

Implementation

int opus_custom_decode_float(
  ffi.Pointer<OpusCustomDecoder> st,
  ffi.Pointer<ffi.Uint8> data,
  int len,
  ffi.Pointer<ffi.Float> pcm,
  int frame_size,
) {
  return _opus_custom_decode_float(st, data, len, pcm, frame_size);
}