IPhone sound recording

I am currently working on a project where it is necessary to record the sound played by the iPhone. By this I mean that the sound played in the background sounds like a sound clip or something else, NOT using the built-in microphone.

Can this be done? I'm currently experimenting with AVAudioRecorder, but this only captures sound with a built-in microphone.

Any help would be appreciated!

+3
source share
2 answers

This is only possible when using only the Audio Unit RemoteIO API or only the Audio Queue API with uncompressed original sound and without mixing the background sound. Then you have full access to the audio samples and you can queue them before being saved in a file.

API.

+6

hotpaw2, , . , . . , , . - .

0

Source: https://habr.com/ru/post/1796562/


All Articles