pub unsafe extern "C" fn ope_encoder_create_file(
path: *const c_char,
comments: *mut OggOpusComments,
rate: opus_int32,
channels: c_int,
family: c_int,
error: *mut c_int,
) -> *mut OggOpusEncExpand description
Create a new OggOpus file.
§Arguments
path- Path where to create the filecomments- Comments associated with the streamrate- Input sampling rate (48 kHz is faster)channels- Number of channelsfamily- Mapping family (0 for mono/stereo, 1 for surround)error[out] - Error code (NULL if no error is to be returned)
§Returns
Newly-created encoder.