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:
2026-02-27 00:00:21 +01:00
parent 6fe2f6be95
commit 18b9194530
10 changed files with 288 additions and 3 deletions

View File

@@ -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
}
}
}