Looking to do pretty much what Shazam is doing as far as recording audio while another app is playing audio.
1) Recording audio fine, no problem here
2) When app starts and starts recording, the music from another app stops (itunes, etc).
3) I have played with all of the incantations of the AV Audio settings with no luck in having the audio continue / resume.
4) When Shazam starts, the audio stop for a bit, and then resumes. I assume that Shazam is doing something to restart the audio with the music player? I searched and could not find if there is a way to do this.
So if anyone has the proper settings to get this to work, it would be appreciated.
Also, Saying, please read the AV docs, is not an answer, I have looked these over with no luck.
I have tried found here
Have tried both the AV and K type of settings. I do see a difference in the settings as far as how exactly the MIC works, but in all cases when my app gets the mic, it stops the audio from the other app.
If I have to sacrifice a chicken standing in the direction of Apple, this is fine, just let me know what type of chicken :-)
After some back and forth, it looks like using the MixWithOthers is the key. You have to also make sure that the audio route is set to the last / current audio route...
FYI This is with the AudioQueue interface
So we ...
/ Start Music with iPod / Start our app with