Skip to content

Commit

Permalink
Add documentation to non experimental AutomaticGainControl
Browse files Browse the repository at this point in the history
  • Loading branch information
UnknownSuperficialNight committed Oct 1, 2024
1 parent af210a6 commit 2610a27
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/source/agc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@ pub struct AutomaticGainControl<I> {
}

#[cfg(not(feature = "experimental"))]
/// Automatic Gain Control filter for maintaining consistent output levels.
///
/// This struct implements an AGC algorithm that dynamically adjusts audio levels
/// based on both **peak** and **RMS** (Root Mean Square) measurements.
#[derive(Clone, Debug)]
pub struct AutomaticGainControl<I> {
input: I,
Expand Down

0 comments on commit 2610a27

Please sign in to comment.