Packages
alsa
Alsa
Card
get_index
get_longname
get_name
load
next
open
card_info
convert_from_dB
convert_to_dB
elem_info
elem_list
elem_read
elem_write
get_dB_range
pcm_info
pcm_next_device
pcm_prefer_subdevice
Card
Object Hierarchy:
Alsa.Card
Alsa.Card
Alsa.Card
Description:
[
Compact
]
[
CCode
( cname =
"snd_ctl_t"
, cprefix =
"snd_ctl_"
, free_function =
"snd_ctl_close"
) ]
public
class
Card
Namespace:
Alsa
Package:
alsa
Content:
Static methods:
public
static
int
get_index
(
string
name)
public
static
int
get_longname
(
int
card,
out
string
name)
public
static
int
get_name
(
int
card,
out
string
name)
public
static
int
load
(
int
card)
public
static
int
next
(
ref
int
card)
public
static
int
open
(
out
Card
card,
string
name =
"default"
,
CardOpenType
t =
0
)
Methods:
public
int
card_info
(
CardInfo
info)
public
int
convert_from_dB
(
ElemId
eid,
long
gain,
out
long
value,
int
xdir)
public
int
convert_to_dB
(
ElemId
eid,
long
volume,
out
long
gain)
public
int
elem_info
(
ElemInfo
info)
public
int
elem_list
(
ElemList
list)
public
int
elem_read
(
ElemValue
value)
public
int
elem_write
(
ElemValue
value)
public
int
get_dB_range
(
ElemId
eid,
out
long
min,
out
long
max)
public
int
pcm_info
(
PcmInfo
info)
public
int
pcm_next_device
(
ref
int
device)
public
int
pcm_prefer_subdevice
(
int
subdev)