Hi.
An Audio CD can hold up to 80 minutes of .wav-similar sound. Those can be stored in 1 track. PureBasic (or is it Windows itself?) however can only play up to 256 MB (guess) per file. Larger .wav files (and propably .flac and .ogg, too) can not be loaded, nor played.
Is there some chance that we can one day load larger files?
Regards,
es_91.
Larger Sound files
Re: Larger Sound files
As a workaround, you can play longer WAV sounds directly off hard drive like this:
This works fine for me with an 895 MB WAV file at 16-bit Stereo.
Code: Select all
PlaySound_("c:\sound.wav",0,#SND_ASYNC) ; App continues after sound starts.
PlaySound_("c:\sound.wav",0,#SND_SYNC) ; App pauses until sound stops.
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
"PureBasic won't be object oriented, period" - Fred.