jack-bindings-0.1: Bindings to the JACK Audio Connection Kit

Sound.Jack.Bindings

Description

Low level bindings to the JACK <jack.h> functionality

This is a faithfull representation of the C api. For now please refer to the JACK api documentation for a complete description of the functionality

http://jackaudio.org/files/docs/html/jack_8h.html

A somewhat safer interface can be found at Sound.Jack.JackMonad

Synopsis

Documentation

withOpenClientSource

Arguments

:: String

server name

-> [Options]

client options

-> String

client name

-> (Client -> [Status] -> IO a)

action to be run with the open client

-> ([Status] -> IO a)

action to be run on error

-> IO a 

Open a Jack client and run the supplied action, handling errors and closing the client

withOpenClientDefaultServerSource

Arguments

:: [Options]

client options

-> String

The client name

-> (Client -> [Status] -> IO a)

action to be run with the open client

-> ([Status] -> IO a)

action to be run at error

-> IO a 

Open a Jack client on the default server and run the supplied action, handling errors and closing the client

clientOpenWithDefaultServer :: String -> [Options] -> IO (Client, [Status])Source

open an external client with the defailt server

clientOpenWithServerName :: String -> [Options] -> String -> IO (Client, [Status])Source

open an external client with the specified server

internalClientNew :: String -> String -> String -> IO IntSource

DEPRECATED. Use internalClientOpen

internalClientClose :: String -> IO ()Source

DEPRECATED. use internalClientLoad

data Port Source

Opaque.

type ProcessCallbackSource

Arguments

 = CUInt

Number of Frames to Process

-> Ptr ()

User Data

-> IO CInt 

data Client Source

Opaque.

data PortID Source

Opaque.