mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-07 13:30:07 -05:00
conf/ucm: bytcr-rt5651: Add bytcr-rt5651-stereo-spk-dmic-mic config
Add a config for boards which use a digital mic as internal mic, combined with having the headset mic on in2. An example of such a board is the Point of View TAB-P1006W-232 (v1.0) tablet. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
8f4e5d0da2
commit
ce674664d2
5 changed files with 42 additions and 0 deletions
|
|
@ -15,6 +15,7 @@ bytcr-rt5651 \
|
|||
bytcr-rt5651-mono-spk-in1-mic \
|
||||
bytcr-rt5651-mono-spk-in2-mic \
|
||||
bytcr-rt5651-mono-spk-in2-mic-hp-swapped \
|
||||
bytcr-rt5651-stereo-spk-dmic-mic \
|
||||
bytcr-rt5651-stereo-spk-in1-mic \
|
||||
bytcr-rt5651-stereo-spk-in2-mic \
|
||||
bytcr-rt5651-stereo-spk-in12-mic \
|
||||
|
|
|
|||
26
src/conf/ucm/bytcr-rt5651-stereo-spk-dmic-mic/HiFi.conf
Normal file
26
src/conf/ucm/bytcr-rt5651-stereo-spk-dmic-mic/HiFi.conf
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
# Adapted from https://github.com/plbossart/UCM/tree/master/bytcr-rt5651
|
||||
|
||||
|
||||
SectionVerb {
|
||||
EnableSequence [
|
||||
cdev "hw:bytcrrt5651"
|
||||
<platforms/bytcr/PlatformEnableSeq.conf>
|
||||
<codecs/rt5651/EnableSeq.conf>
|
||||
]
|
||||
|
||||
DisableSequence [
|
||||
cdev "hw:bytcrrt5651"
|
||||
<platforms/bytcr/PlatformDisableSeq.conf>
|
||||
]
|
||||
|
||||
Value {
|
||||
PlaybackPCM "hw:bytcrrt5651"
|
||||
CapturePCM "hw:bytcrrt5651"
|
||||
}
|
||||
}
|
||||
|
||||
<codecs/rt5651/Speaker.conf>
|
||||
<codecs/rt5651/HeadPhones.conf>
|
||||
|
||||
<codecs/rt5651/DigitalMic.conf>
|
||||
<codecs/rt5651/IN2-HeadsetMic.conf>
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
alsaconfigdir = @ALSA_CONFIG_DIR@
|
||||
ucmdir = $(alsaconfigdir)/ucm/bytcr-rt5651-stereo-spk-dmic-mic
|
||||
ucm_DATA = bytcr-rt5651-stereo-spk-dmic-mic.conf HiFi.conf
|
||||
EXTRA_DIST = $(ucm_DATA)
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
# Adapted from https://github.com/plbossart/UCM/tree/master/bytcr-rt5651
|
||||
|
||||
SectionUseCase."HiFi" {
|
||||
File "../bytcr-rt5651-stereo-spk-dmic-mic/HiFi.conf"
|
||||
Comment "Play HiFi quality Music"
|
||||
}
|
||||
|
||||
SectionDefaults [
|
||||
cdev "hw:bytcrrt5651"
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue