This commit streamlines audio capture, playback, and codec functionality for improved robustness and clarity.
The key changes include:
- Removes the config from the audio capture and playback structs
- Adapts the audio processing methods to take configurations as arguments, enhancing flexibility.
- Implements a robust, confidence-based acoustic modem protocol with better signal detection and character framing.
- Introduces adaptive search windows and dynamic buffer management for more reliable decoding.
- Adds timeout logic, improves signal detection, and provides real-time character printing for clearer user feedback.