Record AVAudioPlayer output using AVAudioRecorder
Posted
by Kieran
on Stack Overflow
See other posts from Stack Overflow
or by Kieran
Published on 2009-06-09T14:34:16Z
Indexed on
2010/05/04
5:18 UTC
Read the original article
Hit count: 460
In my app the user plays a sound by pressing a button. There are several buttons which can be played simultaneously. The sounds are played using AVAudioPlayer instances. I want to record the output of these instances using AVAudioRecorder. I have set it all up and a file is created and records but when I play it back it does not play any sound. It is just a silent file the length of the recording. Does anyone know if there is a setting I am missing with AVAudioPlayer or AVAudioRecorder? Thanks
© Stack Overflow or respective owner