SDL Mixer or Audiality

HI all,
I am writing a jukebox server for linux and
implemented the first player using sdl mixer ( playing
mp3/ogg files using MixMusic). Unfortunately when i
skip the current song and proceed to the next one very
fast i sometimes( quite irregular but still often) get
a SEGFAULT in some cryptic memmove/memcpy function
inside SDL Mixer routines. I was wondering if the
Audiality engine supports fast changeing playback of
audio files or if there is an explanation to this
problem.

Thanks,
Marc

Bestellen Sie Y! DSL und erhalten Sie die AVM “FritzBox SL” f?r 0?.
Sie sparen 119? und bekommen 2 Monate Grundgeb?hrbefreiung.
http://de.adsl.yahoo.com

I’m not sure how you implemented your server exactly,
but a solution might be to use a song switching mutex
that prevents switching to another song before another
song switch has completed.

Or instead of a mutex you could just create song
switching manager object that simply maintains a song
state and song switching state. Then instead of
directly switching the song, you simply add another
song switch the song switching state, and whenever
your song switcher object has resolved the last song
switch, it will check for more pending song switches.

— Marc Essinger wrote:> HI all,

I am writing a jukebox server for linux and
implemented the first player using sdl mixer (
playing
mp3/ogg files using MixMusic). Unfortunately when i
skip the current song and proceed to the next one
very
fast i sometimes( quite irregular but still often)
get
a SEGFAULT in some cryptic memmove/memcpy function
inside SDL Mixer routines. I was wondering if the
Audiality engine supports fast changeing playback of
audio files or if there is an explanation to this
problem.

Thanks,
Marc

Bestellen Sie Y! DSL und erhalten Sie die AVM
"FritzBox SL" f?r 0?.
Sie sparen 119? und bekommen 2 Monate
Grundgeb?hrbefreiung.
http://de.adsl.yahoo.com


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl


Do you Yahoo!?
Friends. Fun. Try the all-new Yahoo! Messenger.

Marc Essinger wrote:

HI all,
I am writing a jukebox server for linux and
implemented the first player using sdl mixer ( playing
mp3/ogg files using MixMusic). Unfortunately when i
skip the current song and proceed to the next one very
fast i sometimes( quite irregular but still often) get
a SEGFAULT in some cryptic memmove/memcpy function
inside SDL Mixer routines.

Do you have a (preferably) small source code demonstrating that problem ?

Stephane