mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-06 13:29:59 -05:00
conf/ucm: Add a UCM profile for Dell WD19 Dock USB-audio
USB-audio device on Dell WD19 docking station provides two individual output PCM streams, one for headphone Jack and another for speaker out Jack. A UCM profile gives the proper roles for these. Signed-off-by: Hui Wang <hui.wang@canonical.com> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
9c1439a76c
commit
d8013619c9
3 changed files with 35 additions and 0 deletions
5
src/conf/ucm/Dell-WD19-Dock/Dell-WD19-Dock.conf
Normal file
5
src/conf/ucm/Dell-WD19-Dock/Dell-WD19-Dock.conf
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
Comment "USB-audio on Dell WD19 docking station"
|
||||||
|
SectionUseCase."HiFi" {
|
||||||
|
File "HiFi.conf"
|
||||||
|
Comment "Default"
|
||||||
|
}
|
||||||
26
src/conf/ucm/Dell-WD19-Dock/HiFi.conf
Normal file
26
src/conf/ucm/Dell-WD19-Dock/HiFi.conf
Normal file
|
|
@ -0,0 +1,26 @@
|
||||||
|
SectionDevice."Headphone" {
|
||||||
|
Comment "Headphone"
|
||||||
|
|
||||||
|
Value {
|
||||||
|
PlaybackChannels "2"
|
||||||
|
PlaybackPCM "hw:Dock,0"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
SectionDevice."Speaker" {
|
||||||
|
Comment "Speaker"
|
||||||
|
|
||||||
|
Value {
|
||||||
|
PlaybackChannels "2"
|
||||||
|
PlaybackPCM "hw:Dock,1"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
SectionDevice."Mic" {
|
||||||
|
Comment "Microphone"
|
||||||
|
|
||||||
|
Value {
|
||||||
|
CaptureChannels "2"
|
||||||
|
CapturePCM "hw:Dock,0"
|
||||||
|
}
|
||||||
|
}
|
||||||
4
src/conf/ucm/Dell-WD19-Dock/Makefile.am
Normal file
4
src/conf/ucm/Dell-WD19-Dock/Makefile.am
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
alsaconfigdir = @ALSA_CONFIG_DIR@
|
||||||
|
ucmdir = $(alsaconfigdir)/ucm/Dell-WD19-Dock
|
||||||
|
ucm_DATA = Dell-WD19-Dock.conf HiFi.conf
|
||||||
|
EXTRA_DIST = $(ucm_DATA)
|
||||||
Loading…
Add table
Add a link
Reference in a new issue