• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: trouble with AudioQueuePause() and AudioQueueStart()
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • RE: trouble with AudioQueuePause() and AudioQueueStart()
      • From: "Andrew E. Davidson" <email@hidden>
References: 
 >trouble with AudioQueuePause() and AudioQueueStart() (From: "Andrew E. Davidson" <email@hidden>)

  • Prev by Date: trouble with AudioQueuePause() and AudioQueueStart()
  • Next by Date: RE: trouble with AudioQueuePause() and AudioQueueStart()
  • Previous by thread: trouble with AudioQueuePause() and AudioQueueStart()
  • Next by thread: RE: trouble with AudioQueuePause() and AudioQueueStart()
  • Index(es):
    • Date
    • Thread