Vaishnavi Naidu
Vaishnavi Naidu

Reputation: 2627

is it possible to use AVAudioRecorder alongwith MPMusicPlayerController?

When a song from iPod chosen using MPMediaQuery is playing with MPMusicPlayerController, is it possible to record a clip of the song using AVAudioRecorder?

Upvotes: 1

Views: 888

Answers (1)

invalidname
invalidname

Reputation: 3185

Not in any useful way. The AVAudioRecorder uses device input, such as the phone mic or the headset mic. You cannot route the audio played by MPMusicPlayerController into AVAudioRecorder in code.

Note that the MediaPlayer API also doesn't afford any access to raw samples or the source MP3/M4A/M4P files.

Upvotes: 1

Related Questions