hi
anyone know a way to play a 234KB
wav file as background music?
i have tried
load_sample();
/// then i try to play it...
play_sample();
but i think the size of my file is to big
anyone know a better way?
thanks in advance!
hi
anyone know a way to play a 234KB
wav file as background music?
i have tried
load_sample();
/// then i try to play it...
play_sample();
but i think the size of my file is to big
anyone know a better way?
thanks in advance!
234kb for a wav is TINY!, anyhow i use at the moment
the PlaySound() command from the winmm.lib,try using
that.
Ask for more info if you dont know it
tell me more please!
it may be tiny for a wav but i still
think for the function its to big
It's not too big of a file size. Again, go read the docs for Allegro or go do a search around at allegro.cc
Include "winmm.lib" in the link options of your project then
include "windows.h" then
use playsound:
Code:PlaySound("test.wav", NULL, SND_FILENAME | SND_SYNC);