John Dammeyer wrote:
> What I need is to be able to run the events, not
> from a TimerDone Event but from a mark in a music file.  To put the mark
> into a music file I need to create a play file that has the music and the
> marks in one.  As I send the music buffer out to the player, I will
> periodically come across the marks which tell me to do the next sequence
> or event.
>   

What about reading the position of the file being played back and
comparing with a list of cue points? You will have to allow a small
capture range, as it may be hard to get the position values to line up
with the entered cue points with frame accuracy.
David...

-- 
___________________________________________
David Duffy        Audio Visual Devices P/L
Unit 8, 10 Hook St, Capalaba 4157 Australia
Ph: +61 7 38235717      Fax: +61 7 38234717
Our Web Site: www.audiovisualdevices.com.au
___________________________________________

_______________________________________________
Delphi mailing list -> Delphi@elists.org
http://lists.elists.org/cgi-bin/mailman/listinfo/delphi

Reply via email to