1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
//! Audio encoders for compressing decoded audio into various formats.
//!
//! This module provides the [`crate::encoder::AudioEncoder`] trait and implementations for encoding
//! decoded audio samples into compressed formats like AAC, FLAC, MP3, and Opus.
//! Each encoder is available through its corresponding feature flag.
use Bytes;
use ;
use crateAudioOutputError;
/// AAC audio encoder implementation.
/// FLAC audio encoder implementation.
/// MP3 audio encoder implementation.
/// Opus audio encoder implementation.
/// Trait for encoding decoded audio into compressed formats.
///
/// Implementors of this trait handle encoding audio samples into various
/// compressed formats like AAC, FLAC, MP3, or Opus.