In my application, I'm playing an audio using audio toolbox framework. When its playing, how can I record the same? I tried using AVAudioRecording by setting audio session "Play and Record". But when recording, the volume of the audio being played is getting reduced. How can I use Audiotoolbox framework itself and record the audio?
Can some one help me?