Hello!
Some days ago I asked for help regarding a problem with SDL_Mixer.
It appeared the solution just was to use the DirectX development
libraries when compiling SDL.
Thanx again for the immediate help!
Now sound works find but when I use fullscreen video modes the graphical
output is awfully slow. In windowed modes nothing changed - it’s as fast
as before.
When compiling SDL what configure options should be switched on/off so
that both fullscreen video and sound work perfectly?
Greetings…
BiG OSHi============================================
The difference between ingenuity and
insanity is that ingenuity has its limits…
============================================
BiG OSHi
BiG_OSHi at RonnzWorld.com
— BiG OSHi wrote:
Hello!
Some days ago I asked for help regarding a problem
with SDL_Mixer.
It appeared the solution just was to use the
DirectX development
libraries when compiling SDL.
Thanx again for the immediate help!
Now sound works find but when I use fullscreen
video modes the graphical
output is awfully slow. In windowed modes nothing
changed - it’s as fast
as before.
When compiling SDL what configure options should
be switched on/off so
that both fullscreen video and sound work
perfectly?
Greetings…
BiG OSHi
Hmmm… SMPEG with SDL_Mixer??? I have a feeling that
this problem bit me in the but a couple of times:
First make sure you pass zero for sdl_audio when you
call SMPEG_new() or SMPEG_new_descr(). This tells
smpeg that you (or in this case SDL_mixer) will handle
the audio yourself…
Also read smpeg/README.SDL_mixer about how to play the
smpeg audio output through SDL_mixer…
Best of luck,
-Loren__________________________________________________
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com
Hello Loren!
I compiled SDL_Mixer without SMPEG for I’m only using OggVorbis
music.
I thought the problem was related to the SDL library itself which I
recompiled, too (including the DirectX dev. pak).
The SDL.dll coming with DevC++ worked perfectly in window mode and
in fullscreen mode but DirectX was missing so SDL_Mixer could not produce
correctly timed sound output so I had to recompile it. Since then
fullscreen runs extremly slow (frame rates lower than 40).
(see topic “[SDL] SDL_Mixer” posted by me)
See you…
BiG OSHi
================== received mail start =====================
— BiG OSHi <@BiG_OSHi> wrote:
Hello!
Some days ago I asked for help regarding a problem
with SDL_Mixer.
It appeared the solution just was to use the
DirectX development
libraries when compiling SDL.
Thanx again for the immediate help!
Now sound works find but when I use fullscreen
video modes the graphical
output is awfully slow. In windowed modes nothing
changed - it’s as fast
as before.
When compiling SDL what configure options should
be switched on/off so
that both fullscreen video and sound work
perfectly?
Greetings…
BiG OSHi
Hmmm… SMPEG with SDL_Mixer??? I have a feeling that
this problem bit me in the but a couple of times:
First make sure you pass zero for sdl_audio when you
call SMPEG_new() or SMPEG_new_descr(). This tells
smpeg that you (or in this case SDL_mixer) will handle
the audio yourself…
Also read smpeg/README.SDL_mixer about how to play the
smpeg audio output through SDL_mixer…
Best of luck,
-Loren
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com
SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl
================== received mail end =================================================================
The difference between ingenuity and
insanity is that ingenuity has its limits…
============================================
BiG OSHi
BiG_OSHi at RonnzWorld.com
— BiG OSHi wrote:
Hello Loren!
I compiled SDL_Mixer without SMPEG for I’m only
using OggVorbis
music.
That actually doesn’t matter. The only things that
matter are:
-
Is SDL_mixer running while you are trying to play
the movie (using smpeg).
-
Does the movie have an audio track? and if so, has
the audio been disabled or not?
I thought the problem was related to the SDL
library itself which I
recompiled, too (including the DirectX dev. pak).
The SDL.dll coming with DevC++ worked perfectly in
window mode and
in fullscreen mode but DirectX was missing so
SDL_Mixer could not produce
correctly timed sound output so I had to recompile
it. Since then
fullscreen runs extremly slow (frame rates lower
than 40).
Hmm… Ok… this sounds like a different issue. The
issue I was refering to happens in both fullscreen and
windowd mode, and drops the mpeg frame rate to about 1
fps…
(see topic “[SDL] SDL_Mixer” posted by me)
See you…
BiG OSHi
Sorry I couldn’t help more,
-Loren__________________________________________________
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com