Hi,
I was experimenting with the possibilities of developping games with Delphi 4.0 (Which works quite well)
But when I attempted to use sounds, I noticed that while a WAV sound is being processed, the normal flow of the program is stopped and reactived when the sound has finished playing. So, if you want to create a continuous sound by looping the WAV file, you have a problem.
Can this be solved by returning control to Delphi to process the rest of the program as soon as the sound has started?
If so, how? :-I
Thanx,
Kristof
PS: has Delphi a function simular to the Eval / Evaluate function many other languages provide?
I was experimenting with the possibilities of developping games with Delphi 4.0 (Which works quite well)
But when I attempted to use sounds, I noticed that while a WAV sound is being processed, the normal flow of the program is stopped and reactived when the sound has finished playing. So, if you want to create a continuous sound by looping the WAV file, you have a problem.
Can this be solved by returning control to Delphi to process the rest of the program as soon as the sound has started?
If so, how? :-I
Thanx,
Kristof
PS: has Delphi a function simular to the Eval / Evaluate function many other languages provide?