• 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: AudioQueue and seeking through file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AudioQueue and seeking through file


  • Subject: Re: AudioQueue and seeking through file
  • From: Thomas Clement <email@hidden>
  • Date: Thu, 8 May 2008 12:21:54 +0200

Matthew Leon Grinshpun wrote :

I have, oddly enough, had good luck with the following approach:
Change the packet index as you propose, then immediately call
AudioQueueStop on the queue and then, right afterward, call
AudioQueueStart.

This seems to do the trick for me.

While this does work, I can still hear half a second of audio (the currently used buffer I presume) before it switches to the new position.
I tried filling the buffers with the new audio data between the calls to AudioQueueStop and AudioQueueStart but the playback just stops almost immediately after calling AudioQueueStart and without any error.


Any idea?


Thanks, Thomas

_______________________________________________
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: AudioQueue and seeking through file
      • From: "Matthew Leon Grinshpun" <email@hidden>
References: 
 >AudioQueue and seeking through file (From: Thomas Clement <email@hidden>)
 >Re: AudioQueue and seeking through file (From: Jens Alfke <email@hidden>)
 >Re: AudioQueue and seeking through file (From: Thomas Clement <email@hidden>)
 >Re: AudioQueue and seeking through file (From: "Matthew Leon Grinshpun" <email@hidden>)

  • Prev by Date: Re: AudioQueue and seeking through file
  • Next by Date: AudioQueueNewOutput hangs
  • Previous by thread: Re: AudioQueue and seeking through file
  • Next by thread: Re: AudioQueue and seeking through file
  • Index(es):
    • Date
    • Thread