Send Beginners mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        http://www.haskell.org/mailman/listinfo/beginners
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Beginners digest..."


Today's Topics:

   1.  alut initialization (Christopher Howard)


----------------------------------------------------------------------

Message: 1
Date: Sun, 23 Sep 2012 16:47:10 -0800
From: Christopher Howard <[email protected]>
Subject: [Haskell-beginners] alut initialization
To: Haskell Beginners <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset="iso-8859-1"

Hi. I'm trying to learn ALUT/OpenAL modules so I can have sound in my
app. I'm a bit confused by the alut module interface, because it uses
this alutRun function that is different than what is in the actual alut
library documentation. I thought I figured it out, but apparently not
because this simple program doesn't work:

code:
--------
import Sound.ALUT

main = do putStrLn $ "alutAPIVersion: " ++ alutAPIVersion
          runALUT "" [] (\x y -> return ())
          mimes <- get bufferMIMETypes
          mapM putStrLn mimes

*Main> main
alutAPIVersion: 1.1
*** Exception: user error (bufferMIMETypes: The operation was invalid in
the current ALUT state)
--------

Is there anyone familiar with the module that can point me in the right
direction?

-- 
frigidcode.com
indicium.us

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 551 bytes
Desc: OpenPGP digital signature
URL: 
<http://www.haskell.org/pipermail/beginners/attachments/20120923/fbf466ff/attachment-0001.pgp>

------------------------------

_______________________________________________
Beginners mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/beginners


End of Beginners Digest, Vol 51, Issue 36
*****************************************

Reply via email to