I did some debugging, and for some reason play_music is set to 1 even though I get this output on startup:
Cannot open audio: No available audio device According to io.cpp, If it prints that message, play_music should be set to false, not sure how it's getting reset to true. Additionally, I think you are right about there being some kind of bug with my version of SDL_mixer. It doesn't seem to play well with aRts, I have filed a bug report here: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=113831 On Wed, 13 Oct 2004 16:11:06 -0700, Christopher Stone <[EMAIL PROTECTED]> wrote: > If I set SDL_AUDIODRIVER=arts, this fixes the crash with arts on > startup, but once I try to start music, I get this error (backtrace > included): > > Program received signal SIGFPE, Arithmetic exception. > [Switching to Thread -157239552 (LWP 7805)] > 0xf6f029ce in Mix_FadeInMusicPos () from /usr/lib/libSDL_mixer-1.2.so.0 > (gdb) bt > #0 0xf6f029ce in Mix_FadeInMusicPos () from /usr/lib/libSDL_mixer-1.2.so.0 > #1 0xf6f02aa4 in Mix_PlayMusic () from /usr/lib/libSDL_mixer-1.2.so.0 > #2 0x08058a4b in main () at mamed.cpp:100 > > > > > On Tue, 12 Oct 2004 14:20:34 +0200, Pieter Hulshoff <[EMAIL PROTECTED]> wrote: > > On Tue, Oct 12, 2004 at 12:35:32PM +0100, Pete French wrote: > > > Thats correct behaviour though isn't it - you need to quote ampersand in XML > > > as an & entity. The XML parser you use to read the output should > > > be dealing with that for you though, so you mgiht want to try tweaking that > > > rather than filtering them out. > > > > I didn't write an XML parser, since I need very little information from the > > XML output. In stead I just interpret the output as I receive it. It was easier > > to create a simple filter than to dive into the theory of XML parsing. :) Perhaps > > in the future I'll look a tad deeper into this, but for now I just wanted MAMEd > > to work with the latest versions of MAME. > > > > Regards, > > > > Pieter Hulshoff > > > > > > > > > > _______________________________________________ > > Xmame mailing list > > [EMAIL PROTECTED] > > http://toybox.twisted.org.uk/mailman/listinfo/xmame > > > _______________________________________________ Xmame mailing list [EMAIL PROTECTED] http://toybox.twisted.org.uk/mailman/listinfo/xmame