Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Looping WAV sounds

Status
Not open for further replies.

kristof

Programmer
Jun 2, 2000
234
BE
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? :p
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top