Struct ac_ffmpeg::codec::audio::transcoder::AudioTranscoderBuilder
source · pub struct AudioTranscoderBuilder { /* private fields */ }
Expand description
Builder for the AudioTranscoder.
Implementations§
source§impl AudioTranscoderBuilder
impl AudioTranscoderBuilder
sourcepub fn set_decoder_option<V>(self, name: &str, value: V) -> Selfwhere
V: ToString,
pub fn set_decoder_option<V>(self, name: &str, value: V) -> Selfwhere
V: ToString,
Set a decoder option.
sourcepub fn set_encoder_option<V>(self, name: &str, value: V) -> Selfwhere
V: ToString,
pub fn set_encoder_option<V>(self, name: &str, value: V) -> Selfwhere
V: ToString,
Set an encoder option.
sourcepub fn build(self) -> Result<AudioTranscoder, Error>
pub fn build(self) -> Result<AudioTranscoder, Error>
Build the transcoder.