Please can someone tell me the best way to get a continuous loop *.Wav file to play.
I have written a program in C using Borland Turbo C++ in DOS.
Thanks, Rob.
Please can someone tell me the best way to get a continuous loop *.Wav file to play.
I have written a program in C using Borland Turbo C++ in DOS.
Thanks, Rob.
> the best way to get a continuous loop *.Wav file to play.
Does this mean that there is some magic code inside the .wav file which means go back to the beginning (or some earlier point)?
If you just want to repeat at EOF, then try something like
Code:if ( feof(fp) ) { clearerr( fp ); fseek( fp, 0, SEEK_SET ); }
is there any tutorials on playing a .wav on the first place? I am using console.