Function
trim_samples
(samples: &mut Vec<i16>, stream_cursor: &Arc<Mutex<usize>>, max_samples: usize)
Source from the content-addressed store, hash-verified
| 776 | pub fn voice() -> Self { |
| 777 | Self { |
| 778 | enabled: true, |
| 779 | noise_floor: 0.02, |
| 780 | reduction: 0.75, |
| 781 | high_pass: true, |
| 782 | high_pass_hz: 90.0, |
| 783 | } |
| 784 | } |
| 785 | |
| 786 | /// Aggressive cleanup for noisy rooms / laptop mics: deeper gate and a |
| 787 | /// higher rumble cut than [`Self::voice`]. |
| 788 | pub fn strong() -> Self { |
| 789 | Self { |
| 790 | enabled: true, |
Tested by
no test coverage detected