
22 Dec
2008
22 Dec
'08
8:55 p.m.
Does the example code at http://articles.bluishcoder.co.nz/Haskell/OpenAL work for anyone? I added some putStrLns to see the device and context, and get $ ./Main2 Device (ALCdevice 0x08a744c8) Context (ALCcontext 0x08aabda0) AL lib: alSource.c:2291: alcDestroyContext(): 1 Source(s) NOT deleted AL lib: alBuffer.c:1097: exit() 2 Buffer(s) NOT deleted and no sound. I had more complex code using OpenAL working some time ago, but the sound was crackly because my distribution used the original OpenAL implementation. Now that people are switching to OpenAL Soft, Haskell's OpenAL seems to be acting strangely. I mailed Sven in September, but didn't hear back.