Function ope_encoder_write_float
Source pub unsafe extern "C" fn ope_encoder_write_float(
enc: *mut OggOpusEnc,
pcm: *const f32,
samples_per_channel: c_int,
) -> c_int
Expand description
Add/encode any number of float samples to the stream.
§Arguments
enc [in,out] - Encoder
pcm - Floating-point PCM values in the +/-1 range (interleaved if multiple channels)
samples_per_channel - Number of samples for each channel
§Returns
Error code