Re: [AD] Sound problem!

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


> I have some problems with playing *.mod (and *.s3m) files with allegro
> 3.9.39 and jgmod 0.99 (the latest). I´m using the debug version of jgmod
> library (Bob told me that there is a msvc release linker bug).

Actually a MSVC optimizer bug for load_s3m.c: you only need to turn off
optimizations for this file.

> create_directsound_buffer() failed (DSERR_INVALIDPARAM).
> - 1000 Hz, mono, 8 bits

It seems DirectSound doesn't support such a low frequency (1000 Hz) for its
secondary sound buffers used in direct mixing.

Maybe try to use a 22050 Hz primary buffer (comment out line 417-419 in
src/win/wdsound).

--
Eric Botcazou
ebotcazou@xxxxxxxxxx



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/