I need to play and record at the same time. The problem is that played and recorded sound should be different. Played sound_1 is continuously send through headphone jack to connected device, device analyzes this sound_1 and sends back another sound_2 through headphone jack. I receive this sound_2, but when I try to record it, I get mix of sound_1 and sound_2. Is there any way to play/record separately, or I need some kind of filter for incoming sound_2? I tried to play sound with AVAudioPlayer and record with AudioQueue, session was PlayAndRecord.
Found some similar topic: Playing and recording Audio simutaneouly with headset jack pin in iOS?
but there was also no constructive answer.
Solution for me was to decrease sample rate from 44100 to 22050
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With