alsa-pcm-0.6.0.4: alsa-pcm.cabal
Name: alsa-pcm
Version: 0.6.0.4
Copyright: Bjorn Bringert, Iavor S. Diatchki, Henning Thielemann
Maintainer: Henning Thielemann <alsa@henning-thielemann.de>
Author: Henning Thielemann <alsa@henning-thielemann.de>, Bjorn Bringert <bjorn@bringert.net>, Iavor S. Diatchki <iavor.diatchki@gmail.com>
Category: Sound, Music
License: BSD3
License-file: LICENSE
Homepage: http://www.haskell.org/haskellwiki/ALSA
Stability: Experimental
Build-Type: Simple
Cabal-Version: >= 1.14
Synopsis: Binding to the ALSA Library API (PCM audio).
Description:
This package provides access to ALSA realtime audio signal input and output.
For MIDI support see alsa-seq.
Extra-Source-Files:
nodebug/Sound/ALSA/PCM/Debug.hs
debug/Sound/ALSA/PCM/Debug.hs
src/Sound/ALSA/PCM/Core/Params.h
Source-Repository head
type: darcs
location: http://code.haskell.org/alsa/pcm/
Source-Repository this
type: darcs
location: http://code.haskell.org/alsa/pcm/
tag: 0.6.0.4
Flag buildExamples
description: Build example executables
default: False
Flag buildSynthesizer
description: Build example synthesizer (needs alsa-seq, too)
default: False
Flag debug
description: Enable debug output
default: False
Library
Build-depends:
alsa-core >=0.5 && <0.6,
storable-record >=0.0.2 && <0.1,
sample-frame >=0.0.1 && <0.1,
array >= 0.1 && <0.6,
extensible-exceptions >=0.1.1 && <0.2,
base >= 3 && <5
Hs-Source-Dirs: src
Include-Dirs: src
If flag(debug)
Hs-Source-Dirs: debug
Else
Hs-Source-Dirs: nodebug
Exposed-Modules:
Sound.ALSA.PCM
Sound.ALSA.PCM.Node.ALSA
Sound.ALSA.PCM.Node.File
Sound.ALSA.PCM.Parameters.Hardware
Sound.ALSA.PCM.Parameters.Software
Other-modules:
Sound.ALSA.PCM.Core.Class
Sound.ALSA.PCM.Core.Handle
Sound.ALSA.PCM.Core.Convert
Sound.ALSA.PCM.Core.HwParams
Sound.ALSA.PCM.Core.SwParams
Sound.ALSA.PCM.Debug
Default-Language: Haskell2010
GHC-Options: -Wall -fwarn-tabs
PkgConfig-depends: alsa >= 1.0.14
Executable alsa-minisynth
Main-Is: synth.hs
If flag(buildSynthesizer)
Build-Depends:
alsa-pcm,
alsa-seq >=0.6 && <0.7,
containers >=0.2 && <0.6,
transformers >=0.2 && <0.6,
storablevector >=0.2.7 && <0.3,
base
Else
Buildable: False
Default-Language: Haskell2010
GHC-Options: -Wall -threaded
Hs-Source-Dirs: examples
If flag(debug)
Hs-Source-Dirs: debug
Else
Hs-Source-Dirs: nodebug
Executable alsa-sine
Main-Is: sine.hs
If flag(buildSynthesizer)
Build-Depends:
alsa-pcm,
storablevector >=0.2.7 && <0.3,
base
Else
Buildable: False
Default-Language: Haskell2010
GHC-Options: -Wall -threaded
Hs-Source-Dirs: examples
If flag(debug)
Hs-Source-Dirs: debug
Else
Hs-Source-Dirs: nodebug
Executable alsa-duplex
Main-Is: duplex.hs
If flag(buildExamples)
Build-Depends:
alsa-pcm,
base
Else
Buildable: False
Default-Language: Haskell2010
GHC-Options: -Wall -threaded
Hs-Source-Dirs: examples
Executable alsa-play
Main-Is: play.hs
If flag(buildExamples)
Build-Depends:
alsa-pcm,
base
Else
Buildable: False
Default-Language: Haskell2010
GHC-Options: -Wall -threaded
Hs-Source-Dirs: examples
Executable alsa-record
Main-Is: record.hs
If flag(buildExamples)
Build-Depends:
alsa-pcm,
base
Else
Buildable: False
Default-Language: Haskell2010
GHC-Options: -Wall -threaded
Hs-Source-Dirs: examples
Executable alsa-volume-meter
Main-Is: volume_meter.hs
If flag(buildExamples)
Build-Depends:
alsa-pcm,
base
Else
Buildable: False
Default-Language: Haskell2010
GHC-Options: -Wall -threaded
Hs-Source-Dirs: examples