pub unsafe extern "C" fn obs_output_set_audio_encoder(
    output: *mut obs_output_t,
    encoder: *mut obs_encoder_t,
    idx: size_t
)
Expand description

Sets the current audio encoder associated with this output, required for encoded outputs.

The idx parameter specifies the audio encoder index to set the encoder to. Only used with outputs that have multiple audio outputs (RTMP typically), otherwise the parameter is ignored.