开发者

iPhone - AudioToolbox and recording

开发者 https://www.devze.com 2023-03-09 09:38 出处:网络
In my application, I\'m playing an audio using audio toolbox framework. When its playing, how can I record the same?

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?

开发者_如何学JAVA

Can some one help me?


You can't use the AVAudioRecorder to record itself. You can use the Audio Queue or the Audio Unit RemoteIO APIs, and capture the audio samples you are putting in the output buffers to play as you play them.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号