mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-24 07:00:01 -05:00
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:
parent
b223fbba23
commit
13fdc41785
19 changed files with 646 additions and 14 deletions
|
|
@ -6,11 +6,17 @@ pcm.!dmix {
|
|||
@args [ CARD DEV SUBDEV FORMAT RATE ]
|
||||
@args.CARD {
|
||||
type string
|
||||
default 0
|
||||
default {
|
||||
@func refer
|
||||
name defaults.pcm.dmix.card
|
||||
}
|
||||
}
|
||||
@args.DEV {
|
||||
type string
|
||||
default 0
|
||||
default {
|
||||
@func refer
|
||||
name defaults.pcm.dmix.device
|
||||
}
|
||||
}
|
||||
@args.SUBDEV {
|
||||
type string
|
||||
|
|
@ -20,14 +26,14 @@ pcm.!dmix {
|
|||
type string
|
||||
default {
|
||||
@func refer
|
||||
name defaults.pcm.dmix_format
|
||||
name defaults.pcm.dmix.format
|
||||
}
|
||||
}
|
||||
@args.RATE {
|
||||
type integer
|
||||
default {
|
||||
@func refer
|
||||
name defaults.pcm.dmix_rate
|
||||
name defaults.pcm.dmix.rate
|
||||
}
|
||||
}
|
||||
type dmix
|
||||
|
|
@ -98,4 +104,8 @@ pcm.!dmix {
|
|||
default 16
|
||||
}
|
||||
}
|
||||
hint {
|
||||
description "Direct sample mixing device"
|
||||
device $DEV
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,11 +6,17 @@ pcm.!dsnoop {
|
|||
@args [ CARD DEV SUBDEV FORMAT RATE ]
|
||||
@args.CARD {
|
||||
type string
|
||||
default 0
|
||||
default {
|
||||
@func refer
|
||||
name defaults.pcm.dsnoop.card
|
||||
}
|
||||
}
|
||||
@args.DEV {
|
||||
type string
|
||||
default 0
|
||||
default {
|
||||
@func refer
|
||||
name defaults.pcm.dsnoop.device
|
||||
}
|
||||
}
|
||||
@args.SUBDEV {
|
||||
type string
|
||||
|
|
@ -20,14 +26,14 @@ pcm.!dsnoop {
|
|||
type string
|
||||
default {
|
||||
@func refer
|
||||
name defaults.pcm.dmix_format
|
||||
name defaults.pcm.dmix.format
|
||||
}
|
||||
}
|
||||
@args.RATE {
|
||||
type integer
|
||||
default {
|
||||
@func refer
|
||||
name defaults.pcm.dmix_rate
|
||||
name defaults.pcm.dmix.rate
|
||||
}
|
||||
}
|
||||
type dsnoop
|
||||
|
|
@ -98,4 +104,8 @@ pcm.!dsnoop {
|
|||
default 16
|
||||
}
|
||||
}
|
||||
hint {
|
||||
description "Direct sample snooping device"
|
||||
device $DEV
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -44,6 +44,7 @@ pcm.!phoneline {
|
|||
".pcm.modem." $DEV ":CARD=" $CARD
|
||||
]
|
||||
}
|
||||
hint 0
|
||||
}
|
||||
|
||||
#
|
||||
|
|
@ -101,4 +102,5 @@ pcm.!modem {
|
|||
}
|
||||
]
|
||||
}
|
||||
hint 0
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue