• 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: QuickTime Callback
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: QuickTime Callback


  • Subject: Re: QuickTime Callback
  • From: "douglas a. welton" <email@hidden>
  • Date: Mon, 25 Feb 2008 09:23:16 -0500

Check the documentation for QTMovie and you'll find the QTMovieDidEndNotification, which is posted upon completion of a movie's playback.

On Feb 25, 2008, at 5:21 AM, ali alavi wrote:


Hi everyone

I have a list of audio segments (specified by a file name and start time and duration). What I want to do is to go through that list and play each segment one after the other. I am using QTMovieView : play method to play audio segments. The problem is that 'play' method returns immediately and doesn't wait for audio segment to be played fully before returning.
I assume that I have to use some sort of callback functions to let me know when playing a segment is finished, but I don't know exactly how to do this as I ma new to Mac OS programming and QuickTime as well.
I appreciate if someone can point me to the right direction or some sample codes.


Thanks.

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >QuickTime Callback (From: ali alavi <email@hidden>)

  • Prev by Date: Re: How to make use of Leopard APIs ?
  • Next by Date: Re: Garbage Collection makes my app look fat
  • Previous by thread: QuickTime Callback
  • Next by thread: How to make use of Leopard APIs ?
  • Index(es):
    • Date
    • Thread