Hi all,
I find this difficult to understand. I'm loading a Wav file
into a TFileStream, and getting a pointer in a method run before my
timing method is started. I then play the wav file from RAM at the end
of a user-set time.
Yet it actually runs slower then playing the WAV file directly from a
File!
I tried this a couple of different ways, including the use of
code I found on the net that others recommended, yet in a 10 sec timing
method, the sound is heard in 12 sec when doing this. In the same
method but directly from the file, it only takes 11 sec!
I need to get the wav file to play at the end of the timing
cycle or at least close enough so that it appears to be in synch!
from Robert Meek dba "Tangentals Design"
e-mail: [EMAIL PROTECTED]
Freelance Windows Programming for XP and Vista
Also proud to be a Moderator of the "Delphi-List" at elists.org
"Reality cannot be explained...only enjoyed or endured as your current
perspective allows!"
_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi