Re: trouble with AudioQueuePause() and AudioQueueStart()
Re: trouble with AudioQueuePause() and AudioQueueStart()
- Subject: Re: trouble with AudioQueuePause() and AudioQueueStart()
- From: Doug Wyatt <email@hidden>
- Date: Tue, 14 Jul 2009 16:23:39 -0700
On Jul 14, 2009, at 15:53 , Andrew E. Davidson wrote:
My iPhone application is built on top of AudioQueueOfflineRender()
On OS 2.2.1 I use to implement a pause and resume button on my UI. The
implementation was really simple
- (void) pause {
OSStatus status = AudioQueuePause( queueObj ) ;
If ( status != noErr ) {
Error handling
}
}
- (void) resume {
OSStatus status = AudioQueueStart( queueObj, nil );
If ( status != noErr ) {
Error handling
}
}
This worked fine on OS 2.2.1. How ever when ever I run the 2.2.1
binary on
OS 3.0 or even when I compile for OS 3.0 the call to AudioQueueStart
() in
resume: returns error -66681 "kAudioQueueErr_CannotStart"
What are you trying to accomplish by pausing a queue that's in offline
rendering mode? Why not just stop calling it to render? (clearly this
is a bug, but I don't see why it's an important one)
Doug
_______________________________________________
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