alsa-0.2: Binding to the ALSA Library API.
Source code
Contents
Index
Sound.Alsa.Error
Synopsis
data
AlsaException
=
AlsaException
{
exception_location
::
String
exception_description
::
String
exception_code
::
Errno
}
checkResult
::
Integral
a =>
String
-> a ->
IO
a
checkResult_
::
Integral
a =>
String
-> a ->
IO
()
throwAlsa
::
String
->
Errno
->
IO
a
catchAlsa
::
IO
a -> (
AlsaException
->
IO
a) ->
IO
a
catchAlsaErrno
::
Errno
->
IO
a ->
IO
a ->
IO
a
catchXRun
::
IO
a ->
IO
a ->
IO
a
showAlsaException
::
AlsaException
->
String
rethrowAlsaExceptions
::
IO
a ->
IO
a
strerror
::
Errno
->
IO
String
snd_strerror
::
Errno
->
IO
CString
Documentation
data
AlsaException
Source
Constructors
AlsaException
exception_location
::
String
exception_description
::
String
exception_code
::
Errno
Instances
Typeable
AlsaException
checkResult
::
Integral
a =>
String
-> a ->
IO
a
Source
checkResult_
::
Integral
a =>
String
-> a ->
IO
()
Source
throwAlsa
::
String
->
Errno
->
IO
a
Source
catchAlsa
::
IO
a -> (
AlsaException
->
IO
a) ->
IO
a
Source
catchAlsaErrno
Source
::
=>
Errno
->
IO
a
Action
->
IO
a
Handler
->
IO
a
catchXRun
Source
::
=>
IO
a
Action
->
IO
a
Handler
->
IO
a
showAlsaException
::
AlsaException
->
String
Source
rethrowAlsaExceptions
::
IO
a ->
IO
a
Source
Converts any
AlsaException
into an
IOError
. This produces better a error message than letting an uncaught
AlsaException
propagate to the top.
strerror
::
Errno
->
IO
String
Source
Returns the message for an error code.
snd_strerror
::
Errno
->
IO
CString
Source
Produced by
Haddock
version 2.4.2