Mingw and poor audio performance

Hey guys,

I’m working on a cross-platform app (fultron.sourceforge.net) that’s based
on SDL. It compiles and runs on both Windows and Linux. However, the
Windows version, which was compiled using Mingw, has terrible audio
performance.

I’ve noticed that the loopwave demo app performs pretty bad on Windows if
compiled by Mingw too.

What’s the deal? Should I switch to the Visual C++ compiler for the
Windows port, or is SDL audio not optimized for Windows yet?

Any insights from the pros out there would be greatly appreciated.

Thanks,

Curtis–

Curtis Lee Fulton
Online Reporter


fulton at g2news.com
503.223.0597; Fax 503.223.0496
322 NW 5th Ave
Suite 218
Portland, Or 97209

What’s the deal? Should I switch to the Visual C++ compiler for the
Windows port, or is SDL audio not optimized for Windows yet?

Works perfectly for my application. I did find, however, that the buffer
size needed to be about 2K for audio to be completely smooth. Anything
smaller dropped out. ;-( (I was at 44.1khz mono @ 8 bit audio).

Portland, Or 97209

I’m in Beaverton, FWIW… ;_)

–>Neil-------------------------------------------------------------------------------
Neil Bradley What are burger lovers saying
Synthcom Systems, Inc. about the new BK Back Porch Griller?
ICQ #29402898 “It tastes like it came off the back porch.” - Me

What’s the deal? Should I switch to the Visual C++ compiler for the
Windows port, or is SDL audio not optimized for Windows yet?

Works perfectly for my application. I did find, however, that the buffer
size needed to be about 2K for audio to be completely smooth. Anything
smaller dropped out. ;-( (I was at 44.1khz mono @ 8 bit audio).

Hey thanks Neil. Can you say what Windows compiler you’re using?>

Portland, Or 97209

I’m in Beaverton, FWIW… ;_)

–>Neil


Neil Bradley What are burger lovers saying
Synthcom Systems, Inc. about the new BK Back Porch Griller?
ICQ #29402898 “It tastes like it came off the back porch.” - Me


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

Curtis Lee Fulton
Online Reporter


fulton at g2news.com
503.223.0597; Fax 503.223.0496
322 NW 5th Ave
Suite 218
Portland, Or 97209