Add AAC support and update version
This commit adds support for AAC audio decoding via the fdk-aac library, including: - New AAC decoder module (ADTS streaming) - Integration into the autodetection system - Support for AAC in transcoding - Updated version to 0.3.23 - Added necessary dependencies in Cargo.toml and Cargo.lock - Added tests for AAC decoding
This commit is contained in:
@@ -31,6 +31,7 @@ pub enum AudioCodec {
|
||||
OggOpus,
|
||||
Wav,
|
||||
Aiff,
|
||||
Aac,
|
||||
}
|
||||
|
||||
/// Options controlling how the transcoder operates.
|
||||
@@ -195,6 +196,9 @@ where
|
||||
DecodedAudioStream::Aiff(stream) => {
|
||||
transcode_from_decoded(AudioCodec::Aiff, stream, options.encoder_options).await
|
||||
}
|
||||
DecodedAudioStream::Aac(stream) => {
|
||||
transcode_from_decoded(AudioCodec::Aac, stream, options.encoder_options).await
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user