Welcome to MacForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

quicktime callbacks problem

 
   Macintosh computer (Home) -> General Discussion RSS
Next:  Typing the letter "a" in VPC 7 doesn't ..  
Author Message
Steven Daedelus

External


Since: Mar 01, 2004
Posts: 94



(Msg. 1) Posted: Thu Jan 13, 2005 8:12 pm
Post subject: quicktime callbacks problem
Archived from groups: comp>sys>mac>programmer>misc, others (more info?)

Hello,

I'm working on a Director plugin that plays tracks off of a CD. I'm a
bit stumped as to how to get it to play more than one track in sequence.
Here's what I'd *like* to do:

Set a callback to be triggered at the end of the track. This callback
would play the next track in the sequence.

Here's the problem:

The Director application needs to be able to call functions in my plugin
and then return to its business, which may include calling another
function. For this reason I can't just have the play function cycle
while it waits for the track to end -- that would cause the Director
application to get a spinning cursor until the whole process is done,
and I can't just handle events myself because those events should be
handled by the Director app.

So... the way my plugin works is, when called upon to play a track, it
starts the track and then returns. I think this explains why my callback
doesn't work -- my code isn't running anymore by the time the callback
would be triggered.

In case it isn't obvious, I'm fairly new to this kind of programming.
I'm a bit out of my depth. Can anyone suggest a route I might pursue to
get this functionality working? I'm not looking for specifics,
necessarily -- not at the code level anyway. Just a general approach to
the problem.

Thanks,
sp

 >> Stay informed about: quicktime callbacks problem 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Again quicktime update problem - Hi, I have updated my quicktime version to current version for Mac OS X 10.3.9. Building my software then resulted into the following error: ld: Undefined symbols: _HIPointConvert referenced from QuickTime expected to be defined in Carbon..

quicktime - once more into the breech - for a osx project i need to extract the first frame of a movie into a png image i think i found the code GraphicsExportComponent ge = 0; CFStringRef outpath; CFURLRef outurl; FSRef outfsref...

How do i embed Quicktime in my Mac OS X app? - How do I embed a Quicktime 'object' in my Mac OS X app, quickly a easily? TIA

Quicktime preview problems? - Hi, writing an app to edit quicktime movies.... I can add one modifier track and there are no problems, but if I have two tracks (stacked effects) then the calls MakeFilePreview(); return a black frame.... Also the call to GetMoviePict() reutns the sam...

Job: Looking for expert QuickTime programmer - I'd like to hire someone very familiar with QuickTime to assist me with a project over the next few weeks. I'll be asking design-level questions, such as "what's the best approach to this issue?" and "what should I watch out for?" ra...
   Macintosh computer (Home) -> General Discussion All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]