@hackage / bindings-portaudio

Low-level bindings to portaudio library

Latest0.3

About

Metadata

  • Last updated , by FumiakiKinoshita
  • License BSD-3-Clause
  • Categories Audio
  • Maintained by: Fumiaki Kinoshita <fumiexcel@gmail.com>

  • Lottery factor: 0

Links

Installation

Package Flags

Use the -f option with cabal commands to enable flags

    wasapi (off by default)
    directsound (off by default)
    wmme (off by default)
    wdmks (off by default)
    bundle (off by default)

    Use bundled C sources. It is unstable due to the GHC bug.

Readme

bindings-portaudio

Installation on Windows

  1. Download and unpack the latest portaudio at a clear directory (e.g. C:\portaudio).
  2. Run bash configure, then make.
  3. Edit portaudio-2.0 as follows:
--- prefix=/usr/local
+++ prefix=C:/portaudio

--- libdir=${exec_prefix}/lib
+++ libdir=${exec_prefix}/lib/.libs
  1. If you don't have pkgconfig, download pkg-config from GTK+ Download: Windows (32-bit) and make sure pkg-config.exe is in your PATH.
  2. set PKG_CONFIG_PATH=C:/portaudio
  3. Run cabal update && cabal install bindings-portaudio.