Re: Audio Queue Recording and Playing at the same time?
Re: Audio Queue Recording and Playing at the same time?
- Subject: Re: Audio Queue Recording and Playing at the same time?
- From: Chris Polcyn <email@hidden>
- Date: Mon, 23 Aug 2010 15:34:00 -0400
Hi Joey,
I did this recently by using separate Audio Queues for recording and playback, and a third for synchronization purposes only. I don't think there is a way to have a single Audio Queue do both recording and playback.
Chris Polcyn
On Sat, Aug 21, 2010 at 6:42 PM, Joey Green
<email@hidden> wrote:
Let me describe my problem first.
I record audio through the mic. Once recording is done, I immediately start playback. Once playing is done, I immediately start recording. The problem I have is after playback is done it takes almost a second for AudioQueueStart to start back my recoding audio queue. The user is going to expect to be able to start making noise as soon as the playback is over. This needs to be less OR maybe have some other recorder going while we are doing playback.
So, is there a way to have a AQ player and recorder going at the same time?
Is there something I'm overlooking that would be easier than having a recorder and player going at the same time?
I don't keep the files that I'm recording/playing. So maybe there is a way to use just buffers that I don't see.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden