• 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: Auydio Streaming Error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Auydio Streaming Error


  • Subject: Re: Auydio Streaming Error
  • From: Peter Rebholz <email@hidden>
  • Date: Tue, 29 Jul 2008 08:26:36 -0500

I ran into a similar issue when I first started playing around with CoreAudio. The problem I had was that I forgot that the CoreAudio stuff is running on a different thread and doesn't block when I call AUGraphStart so after I set everything up and started the graph the app would just complete (It was just a command line app with no run loop). After looking through the samples more thoroughly I realized that they were all sleeping the main thread until the audio should be done playing. If your program isn't using a run loop you may want to check to make sure that it stays running until the audio has finished playing. The PlayFile example demonstrates sleeping the main thread until audio finishes.

Hope that helps,
Peter


On Jul 29, 2008, at 1:38 AM, SridharRao M wrote:

Hi All,
I am using audio stream & audio queue services to play my audio file.I am receiving data properly.I can able to play it perfectly using build&debug .but if we remove breakpoint and try to play it it is stopping audio file playing in the middle of the audio.I am using intel machine with leopard OS .
Can any one help me regarding this.
Regards,
Sridhar.
_______________________________________________
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
References: 
 >Auydio Streaming Error (From: "SridharRao M" <email@hidden>)

  • Prev by Date: Re: Wrap .aac into .m4a container
  • Next by Date: Re: Wrap .aac into .m4a container
  • Previous by thread: Auydio Streaming Error
  • Next by thread: AudioQueueOfflineRender question
  • Index(es):
    • Date
    • Thread