add snd_device_name_hint() function and initial implementation

- add snd_device_name_hint() and snd_device_name_free_hint() functions
- add snd_ctl_iface_conf_name() functions
- do not accept parameters for the plugin definition without @args section
- add defaults.pcm.dmix.card/device and dsnoop.card/device definitions
- add hints for HDA-Intel.conf, pcm/dmix.conf, pcm/dsnoop.conf and alsa.conf
- add test/namehint test utility
- doxygen related cleanups
This commit is contained in:
Jaroslav Kysela 2006-10-11 13:18:57 +02:00
parent b223fbba23
commit 13fdc41785
19 changed files with 646 additions and 14 deletions

View file

@ -57,9 +57,13 @@ defaults.pcm.nonblock 1
defaults.pcm.ipc_key 5678293
defaults.pcm.ipc_gid audio
defaults.pcm.ipc_perm 0660
defaults.pcm.dmix_max_periods 0
defaults.pcm.dmix_rate 48000
defaults.pcm.dmix_format S16_LE
defaults.pcm.dmix.max_periods 0
defaults.pcm.dmix.rate 48000
defaults.pcm.dmix.format S16_LE
defaults.pcm.dmix.card defaults.pcm.card
defaults.pcm.dmix.device defaults.pcm.device
defaults.pcm.dsnoop.card defaults.pcm.card
defaults.pcm.dsnoop.device defaults.pcm.device
defaults.pcm.front.card defaults.pcm.card
defaults.pcm.front.device defaults.pcm.device
defaults.pcm.rear.card defaults.pcm.card
@ -137,6 +141,7 @@ pcm.hw {
card $CARD
device $DEV
subdevice $SUBDEV
hint 0
}
pcm.plughw {
@ -182,6 +187,7 @@ pcm.plughw {
device $DEV
subdevice $SUBDEV
}
hint 0
}
pcm.plug {
@ -240,6 +246,7 @@ pcm.file {
}
pcm.null {
hint.description "Discard all samples (playback) or generate zero samples (capture)"
type null
}
@ -357,6 +364,10 @@ rawmidi.hw {
card $CARD
device $DEV
subdevice $SUBDEV
hint {
description "Direct rawmidi driver device"
device $DEV
}
}
rawmidi.default {
@ -548,4 +559,5 @@ timer.default {
@func refer
name defaults.timer.subdevice
}
hint.description "Default direct hardware timer device"
}