Last active
August 29, 2015 14:05
-
-
Save notae/a9fdd9bab64a7a1b8f1a to your computer and use it in GitHub Desktop.
bindings-portaudio test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# with GHC 7.8.3 (Haskell Platform 2014.2.0.0) on Mac OS X 10.9.4 | |
$ cabal sandbox init | |
$ cabal install bindings-DSL | |
$ cabal configure -fCoreAudio | |
$ cabal install -fCoreAudio | |
$ cd example/ | |
$ cabal --sandbox-config-file=../cabal.sandbox.config configure | |
$ cabal --sandbox-config-file=../cabal.sandbox.config build | |
$ dist/build/example-portaudio/example-portaudio 44100 10000 | |
Initialization: 0 | |
Available APIs: | |
(0,"Core Audio") | |
Opening the default stream: 0 | |
Starting the stream: 0 | |
Stopping the stream: 0 | |
Closing the stream: 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment