• 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
trouble with AudioQueuePause() and AudioQueueStart()
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

trouble with AudioQueuePause() and AudioQueueStart()


  • Subject: trouble with AudioQueuePause() and AudioQueueStart()
  • From: "Andrew E. Davidson" <email@hidden>
  • Date: Tue, 14 Jul 2009 15:53:44 -0700

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"

Any idea what my problem is?

Thanks

Andy


 _______________________________________________
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: Doug Wyatt <email@hidden>
  • Prev by Date: Echo in 3.0
  • Next by Date: Re: trouble with AudioQueuePause() and AudioQueueStart()
  • Previous by thread: Echo in 3.0
  • Next by thread: Re: trouble with AudioQueuePause() and AudioQueueStart()
  • Index(es):
    • Date
    • Thread