You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: Add secure audio cooperation and microphone gain control
Two major enhancements for improved iOS audio handling:
## 🔒 Secure Audio Cooperation
- Prevent audio leakage from other apps during PTT transmission
- Dynamic audio session management: ducking during PTT, mixing when idle
- Enhanced security validation in audio input processing
- Smooth transitions between cooperative and exclusive audio modes
### Changes:
- IOSAudioManager: Added ducking/mixing session configuration methods
- ReflectorClient: Secure PTT flow with session mode switching
- AudioEngine: Security validation to prevent non-microphone audio transmission
## 🎚️ Microphone Gain Control (-20dB to +20dB)
- Real-time adjustable microphone gain slider in UI
- Integrates with existing iOS 24dB base gain processing
- Professional iOS-style slider with live dB value display
- Thread-safe gain updates between UI and audio engine
### Changes:
- ReflectorClient: Added micGainDb Q_PROPERTY with bounds checking
- AudioEngine: Configurable gain application in input processing
- Main.qml: Native iOS slider control positioned above connect button
### Technical Details:
- Security: Only microphone input transmitted over radio network
- Cooperation: Music/podcast apps resume after PTT release
- Flexibility: -20dB to +20dB range with 0.5dB precision
- Safety: Automatic bounds checking and soft limiting
0 commit comments