• 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
Notification of Audio Queue playback
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Notification of Audio Queue playback


  • Subject: Notification of Audio Queue playback
  • From: Michael Becker <email@hidden>
  • Date: Tue, 1 Dec 2009 22:12:05 +0100

Hi everyone,

I am still trying to synch what people hear and what people see on the iPhone, and if I do not completely misunderstand the docs, AudioQueue is the way to go. The audio part of my app actually works nicely. But I am wondering, how to go about the "video synching". For starters, I would be happy if I could get *any* kind of synching, e.g. displaying images depending on what my AudioQueue does.

So I have two questions:

(1) Is there any way to know (code-wise) when an audio-buffer is being played? At the moment, I have the AudioQueue run in a separate thread in a loop, and the loop constantly polls the AudioQueue for its current playback position. Although it works, this seems kind of awkward to me from a technical point of view. Furthermore, I cannot see how this should be the promised "audio-video-synching" feature of the AudioQueue.

(2) How else would one do this? I have asked this before (unfortunately without any reaction), but to quote the documentation: "You can use (AudioQueue) to synchronize (...) audio with video.". That's what I'd like to do, but I don't know how.

Sorry for the rather long mail, but I am really lost here.

Kind regards,
Michael
 _______________________________________________
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: Notification of Audio Queue playback
      • From: "Aaron B." <email@hidden>
  • Prev by Date: buggy AUMatrixReverb, reaper ??
  • Next by Date: Re: Notification of Audio Queue playback
  • Previous by thread: Re: buggy AUMatrixReverb, reaper ??
  • Next by thread: Re: Notification of Audio Queue playback
  • Index(es):
    • Date
    • Thread