Re: [Haskell-cafe] Problem with OpenAL

2008-03-25 Thread George Giorgidze
I am also getting the same output: "0" indicates the number of processed buffers, and "1" the number of queued buffers. It means that the small buffer which is queued for playback never gets processed completely. The first argument of playOpenAL functions is a sampling rate of an audio playback, s

Re: [Haskell-cafe] Problem with OpenAL

2008-03-22 Thread Antoine Latter
For those of you following along, you'll need: > import qualified Sound.OpenAL as AL > import Data.Maybe > import Foreign.C.Types > import Control.Monad > import Control.Concurrent > import Foreign.Storable > import Foreign.Marshal.Alloc when I run "playOpenAL 440" I get no sound, and the followi

[Haskell-cafe] Problem with OpenAL

2008-03-21 Thread George Giorgidze
I tried OpenAL binding (the one which is on the Hackage), but with no luck. I can not hear anything from speakers and also according to generated output on console it seems that "AL.play" never completes playback of a buffer as buffer remains registered as "unprocessed" in OpenAL context. Here is