fumieval / free-game

The free game engine
http://hackage.haskell.org/package/free-game
BSD 3-Clause "New" or "Revised" License
64 stars 15 forks source link

Integrate sound APIs? #15

Open fumieval opened 11 years ago

fumieval commented 11 years ago

I hesitate to add something like OpenAL as its dependency, due to the difficulty of installation.

fumieval commented 10 years ago

Uses dsp-artery-io now.

Fuuzetsu commented 10 years ago

Sorry, is sound support not planned in that case? It'd be very nice to have.

fumieval commented 10 years ago

Well, I'm going to support. The problem is how to select a backend from various platform-dependent libraries (portaudio, DirectSound, alsa-pcm, etc)...

Fuuzetsu commented 10 years ago

Ah, great to hear that. I don't know how to help you choose, sorry. I think it'd be wise to just pick one and make it optional through cabal flag then worry about others when that's done.

LokiClock commented 10 years ago

Try to get a working hello world for one before you even consider it an option. I've had terrible luck trying to get a working audio backend. OpenAL and ALUT are the only tools that seem to work on my computer, but because there's little to no up-to-date introductory material for most of the libraries, there could be options that I just can't decipher how to use correctly.

On Sun, Jun 8, 2014 at 5:12 PM, Mateusz Kowalczyk notifications@github.com wrote:

Ah, great to hear that. I don't know how to help you choose, sorry. I think it'd be wise to just pick one and make it optional through cabal flag then worry about others when that's done.

— Reply to this email directly or view it on GitHub https://github.com/fumieval/free-game/issues/15#issuecomment-45452809.

fumieval commented 10 years ago

Now I've launched bindings-portaudio package. I need to overhaul free-game to integrate this stuff.