Skip to content

Instantly share code, notes, and snippets.

@notae
Last active August 29, 2015 14:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save notae/a9fdd9bab64a7a1b8f1a to your computer and use it in GitHub Desktop.
Save notae/a9fdd9bab64a7a1b8f1a to your computer and use it in GitHub Desktop.
bindings-portaudio test
# 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