pipes-pulse-simple-0.1.0.0: Pipes for pulse-simple audio
Copyright(c) 2021 Tristan de Cacqueray
LicenseApache-2.0
MaintainerTristan de Cacqueray <tdecacqu@redhat.com>
Safe HaskellNone
LanguageHaskell2010

Pipes.PulseSimple

Description

Pipes for simple-pulse audio

Synopsis

Documentation

readPulse Source #

Arguments

:: MonadSafe m 
=> String

The client name

-> Maybe SampleSpec

The sample spec, default to mono 44100 Hz 16 bit signed integer

-> Int

Frames per second

-> Producer' ByteString m ()

The pipe producing bytestring

Create an audio pipe producer that yields fps bytestring buffer per second

writePulse Source #

Arguments

:: MonadSafe m 
=> String

The client name

-> Maybe SampleSpec

The sample spec, default to mono 44100 Hz 16 bit signed integer

-> Int

Frames per second

-> Consumer' ByteString m ()

The pipe consuming bytestring

Create an audio pipe consumer that awaits fps bytestring buffer per second