On Monday, December 06, 2010 07:47:35 pm Henning Thielemann wrote:
> On Mon, 6 Dec 2010, Sönke Hahn wrote:
> > I am developing a game in Haskell [1].  For that, I needed a library that
> > would do the following:
> > 
> > 1. Play music files.
> > 2. Play sound files with a low latency (for jumping sounds, etc.)
> > 3. Compile on all targeted platforms (Linux, Windows, Mac OS X) using
> > open source tools (compilers, etc.)
> > 4. Be available under an open source license for use in both open source
> > and closed source software.
> > 
> > The library I got working after some research was sfml [2]. So I came up
> > with (very minimal) bindings to a subset of the audio module from sfml.
> > I put it up on patch-tag [3]. Any comments welcome.
> 
> Isn't SDL intended for this purpose?

I didn't get SDL to work with acceptable latencies under Windows XP. My 
understanding is, that the mingw version of SDL uses the WaveOut-API on that 
platform, which has a minimal buffer size of 250 ms. I am not an expert there 
but here's a small section about that: [1].

[1] http://tinyurl.com/2elzgpb
_______________________________________________
haskell-art mailing list
[email protected]
http://lists.lurk.org/mailman/listinfo/haskell-art

Reply via email to