• 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
audioqueue tiing w. audiotimestamps (again)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

audioqueue tiing w. audiotimestamps (again)


  • Subject: audioqueue tiing w. audiotimestamps (again)
  • From: Robert Carroll <email@hidden>
  • Date: Thu, 12 Aug 2010 10:46:22 -0400

Hi,

I have posted about this issue a few times.

So far, attempting to control the playback start times of 3 or 4 audioqueues by setting independant audiotimestamps in the AudioQueueEnqueueBufferWithParameters
is not working.

I am using hosttime with the hosttime valid flags set in the sudiotimestamps. The times are derived form mach_absolute_time following some sample code originally from Doug Wyatt. The original code to get the host time has been re-written to be in Objective-C, but returns matching values to the sample code, so I don't think there is a problem with the times being set.

Is there a fundamental flaw in using this approach? ie. I set times at one second intervals in the time stamps, enqueue the buffers with those timestamps are parameters, then trigger playback by sending a notification to all three or four queues? As I understand the documentation, this should cause them to play in sequence  starting 1 second apart, however they all just play loosely at once, the same playback I get if I pass NULL for the audiotimestamp in the enqueue buffer call, or when I was just calling AudioQueueEnqueueBuffer.

Any suggestions would be greatly appreciated.


Robert Carroll

RSM Records

Toronto

http://www.rsmrecords.com


 _______________________________________________
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 tiing w. audiotimestamps (again)
      • From: Jean-Daniel Dupas <email@hidden>
  • Prev by Date: Re: Outputting Multichannel sound from stereo sources
  • Next by Date: mac os x : Unplugging headphones or changing the sampling rate cause the audio to stop
  • Previous by thread: RE: LPCM Downmix Algorithm problem
  • Next by thread: Re: audioqueue tiing w. audiotimestamps (again)
  • Index(es):
    • Date
    • Thread