Hello,
I am trying to use the SDL-mixer bindings to play wav files. I've hit
a wierd error and I can't figure out how to solve it:
Prelude import Graphics.UI.SDL.Mixer.Music
Prelude Graphics.UI.SDL.Mixer.Music loadMUS test.wav
Loading package SDL-0.5.4 ... linking ... done.
Loading package
On Tue, 24 Jun 2008, Norbert Wojtowicz wrote:
Hello,
I am trying to use the SDL-mixer bindings to play wav files. I've hit
a wierd error and I can't figure out how to solve it:
Prelude import Graphics.UI.SDL.Mixer.Music
Prelude Graphics.UI.SDL.Mixer.Music loadMUS test.wav
Is the package
wojtowicz.norbert:
Hello,
I am trying to use the SDL-mixer bindings to play wav files. I've hit
a wierd error and I can't figure out how to solve it:
Prelude import Graphics.UI.SDL.Mixer.Music
Prelude Graphics.UI.SDL.Mixer.Music loadMUS test.wav
Loading package SDL-0.5.4 ... linking ...
lemming:
On Tue, 24 Jun 2008, Norbert Wojtowicz wrote:
Hello,
I am trying to use the SDL-mixer bindings to play wav files. I've hit
a wierd error and I can't figure out how to solve it:
Prelude import Graphics.UI.SDL.Mixer.Music
Prelude Graphics.UI.SDL.Mixer.Music loadMUS test.wav
Em Ter, 2008-06-24 às 14:57 -0500, Norbert Wojtowicz escreveu:
Prelude import Graphics.UI.SDL.Mixer.Music
Prelude Graphics.UI.SDL.Mixer.Music loadMUS test.wav
Loading package SDL-0.5.4 ... linking ... done.
Loading package SDL-mixer-0.5.2 ... linking ... interactive:
marcot:
Em Ter, 2008-06-24 às 14:57 -0500, Norbert Wojtowicz escreveu:
Prelude import Graphics.UI.SDL.Mixer.Music
Prelude Graphics.UI.SDL.Mixer.Music loadMUS test.wav
Loading package SDL-0.5.4 ... linking ... done.
Loading package SDL-mixer-0.5.2 ... linking ... interactive:
SDL-mixer does not support the most recent SDL version. The problem is
that in SDL now Mix_LoadWAV is a macro.
I've tried it with SDL-0.5.2 from hackage as well with the same
problem. (Unless you mean an earlier version of the actual SDL
library?)
Ah ha, so it needs a cbits wrapper over the
wojtowicz.norbert:
SDL-mixer does not support the most recent SDL version. The problem is
that in SDL now Mix_LoadWAV is a macro.
I've tried it with SDL-0.5.2 from hackage as well with the same
problem. (Unless you mean an earlier version of the actual SDL
library?)
Ah ha, so it
Attached is a patched version of SDL_mixer 0.5.2 with a C wrapper
for this macro. I'm now able to run loadWAV in ghci.
Works for me, thanks!
Now I just need to learn how to make my WAVs sound not like
computer-generated children voices. For example, using the hback wav
files and this:
import
On Tue, Jun 24, 2008 at 6:34 PM, Norbert Wojtowicz
[EMAIL PROTECTED] wrote:
Attached is a patched version of SDL_mixer 0.5.2 with a C wrapper
for this macro. I'm now able to run loadWAV in ghci.
Works for me, thanks!
Now I just need to learn how to make my WAVs sound not like
10 matches
Mail list logo