kaizen-app/app
Bruno Deanoz 0baab7db9e fix Live Call echo: proper AEC pipeline for Android voice communication
The model was talking to itself because the mic picked up speaker output.
Three fixes that together enable Android's hardware echo cancellation:

1. AudioManager.MODE_IN_COMMUNICATION — tells the platform this is a
   voice call so the audio routing + AEC pipeline activates
2. USAGE_VOICE_COMMUNICATION on AudioTrack — links playback to the
   capture path so AEC knows what to subtract from the mic signal
3. Explicit AcousticEchoCanceler on the AudioRecord session as fallback

Also enables speakerphone mode (isSpeakerphoneOn) since MODE_IN_COMMUNICATION
defaults to earpiece routing. Cleanup restores previous audio mode.
2026-06-24 13:45:44 +02:00
..
src fix Live Call echo: proper AEC pipeline for Android voice communication 2026-06-24 13:45:44 +02:00
.gitignore Initial commit - Kaizen App 2026-06-18 15:08:09 +02:00
build.gradle.kts feat: KaizenIcons system — Lucide base, full Material Icons migration 2026-06-22 14:11:34 +02:00
proguard-rules.pro Initial commit - Kaizen App 2026-06-18 15:08:09 +02:00