pub unsafe extern "C" fn opus_decoder_dred_decode_float(
st: *mut OpusDecoder,
dred: *const OpusDRED,
dred_offset: opus_int32,
pcm: *mut f32,
frame_size: opus_int32,
) -> c_intExpand description
Decode audio from an Opus DRED packet with floating point output.
§Arguments
st[in] - OpusDecoder*: Decoder statedred[in] - OpusDRED*: DRED statedred_offset[in] - opus_int32: position of the redundancy to decode (in samples before the beginning of the real audio data in the packet).pcm[out] - float*: Output signal (interleaved if 2 channels). length is frame_sizechannelssizeof(float)frame_size[in] - Number of samples per channel to decode in pcm. frame_size must be a multiple of 2.5 ms.
§Returns
Number of decoded samples or [opus_errorcodes]