Update pinebook audio configuration

This commit is contained in:
Kamil Trzcinski 2017-04-27 13:26:25 +02:00
parent de7e6a6ee8
commit d806b67121
2 changed files with 10 additions and 6 deletions

View file

@ -22,8 +22,8 @@
<path name="media-speaker-off">
<ctl name="AIF1IN0L Mux" value="AIF1_DA0L" />
<ctl name="AIF1IN0R Mux" value="AIF1_DA0R" />
<ctl name="DACL Mixer AIF1DA0L Switch" value="1" />
<ctl name="DACR Mixer AIF1DA0R Switch" value="1" />
<ctl name="DACL Mixer AIF1DA0L Switch" value="0" />
<ctl name="DACR Mixer AIF1DA0R Switch" value="0" />
<ctl name="Left Output Mixer DACL Switch" value="1" />
<ctl name="Right Output Mixer DACR Switch" value="1" />
<ctl name="SPK_L Mux" value="MIXEL Switch" />
@ -56,8 +56,8 @@
<path name="media-single-speaker-off">
<ctl name="AIF1IN0L Mux" value="AIF1_DA0L" />
<ctl name="AIF1IN0R Mux" value="AIF1_DA0R" />
<ctl name="DACL Mixer AIF1DA0L Switch" value="1" />
<ctl name="DACR Mixer AIF1DA0R Switch" value="1" />
<ctl name="DACL Mixer AIF1DA0L Switch" value="0" />
<ctl name="DACR Mixer AIF1DA0R Switch" value="0" />
<ctl name="Left Output Mixer DACL Switch" value="1" />
<ctl name="Left Output Mixer DACR Switch" value="1" />
<ctl name="SPK_L Mux" value="MIXL MIXR Switch" />
@ -89,6 +89,10 @@
<ctl name="ADCL Mux" value="ADC" />
<ctl name="LADC input Mixer MIC1 boost Switch" value="1" />
<ctl name="RADC input Mixer MIC1 boost Switch" value="1" />
<ctl name="ADC volume" value="180" />
<ctl name="MIC2 SRC" value="MIC2" />
<ctl name="LADC input Mixer MIC2 boost Switch" value="1" />
<ctl name="RADC input Mixer MIC2 boost Switch" value="1" />
</path>
<path name="media-digital-mic">
@ -110,6 +114,7 @@
<ctl name="AIF1 AD0R Mixer ADCR Switch" value="1" />
<ctl name="AIF1OUT0L Mux" value="AIF1_AD0L" />
<ctl name="AIF1OUT0R Mux" value="AIF1_AD0R" />
<ctl name="ADC volume" value="160" />
</path>
<!-- dbb phone path -->

View file

@ -36,8 +36,7 @@ PRODUCT_COPY_FILES += \
PRODUCT_COPY_FILES += \
hardware/aw/audio/tulip/audio_policy.conf:system/etc/audio_policy.conf \
hardware/aw/audio/tulip/phone_volume.conf:system/etc/phone_volume.conf \
hardware/aw/audio/tulip/a64_paths.xml:system/etc/a64_paths.xml
hardware/aw/audio/tulip/phone_volume.conf:system/etc/phone_volume.conf
PRODUCT_COPY_FILES += \
frameworks/av/media/libstagefright/data/media_codecs_google_audio.xml:system/etc/media_codecs_google_audio.xml \