Snap for 7354453 from ccd6d2ba9f
to sc-v2-release
Change-Id: I10cb91b8ed83affde6dbf841bc6992a19be9566d
This commit is contained in:
commit
dd9765107c
28 changed files with 129 additions and 116 deletions
|
@ -182,21 +182,21 @@
|
||||||
<route type="mix" sink="Earpiece"
|
<route type="mix" sink="Earpiece"
|
||||||
sources="primary output,deep buffer,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
sources="primary output,deep buffer,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
||||||
<route type="mix" sink="BT A2DP Out"
|
<route type="mix" sink="BT A2DP Out"
|
||||||
sources="primary output,deep buffer,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
sources="primary output,deep buffer,compressed_offload,voip_rx"/>
|
||||||
<route type="mix" sink="BT A2DP Headphones"
|
<route type="mix" sink="BT A2DP Headphones"
|
||||||
sources="primary output,deep buffer,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
sources="primary output,deep buffer,compressed_offload,voip_rx"/>
|
||||||
<route type="mix" sink="BT A2DP Speaker"
|
<route type="mix" sink="BT A2DP Speaker"
|
||||||
sources="primary output,deep buffer,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
sources="primary output,deep buffer,compressed_offload,voip_rx"/>
|
||||||
<route type="mix" sink="USB Device Out"
|
<route type="mix" sink="USB Device Out"
|
||||||
sources="primary output,deep buffer,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
sources="primary output,deep buffer,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
||||||
<route type="mix" sink="USB Headset Out"
|
<route type="mix" sink="USB Headset Out"
|
||||||
sources="primary output,deep buffer,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
sources="primary output,deep buffer,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
||||||
<route type="mix" sink="BT SCO"
|
<route type="mix" sink="BT SCO"
|
||||||
sources="primary output,deep buffer,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
sources="primary output,deep buffer,compressed_offload,voip_rx"/>
|
||||||
<route type="mix" sink="BT SCO Headset"
|
<route type="mix" sink="BT SCO Headset"
|
||||||
sources="primary output,deep buffer,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
sources="primary output,deep buffer,compressed_offload,voip_rx"/>
|
||||||
<route type="mix" sink="BT SCO Car Kit"
|
<route type="mix" sink="BT SCO Car Kit"
|
||||||
sources="primary output,deep buffer,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
sources="primary output,deep buffer,compressed_offload,voip_rx"/>
|
||||||
<route type="mix" sink="Telephony Tx" sources="incall playback,voice call tx" />
|
<route type="mix" sink="Telephony Tx" sources="incall playback,voice call tx" />
|
||||||
<route type="mix" sink="primary input"
|
<route type="mix" sink="primary input"
|
||||||
sources="Built-In Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
|
sources="Built-In Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
|
||||||
|
|
|
@ -169,11 +169,11 @@
|
||||||
<route type="mix" sink="USB Headset Out"
|
<route type="mix" sink="USB Headset Out"
|
||||||
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
||||||
<route type="mix" sink="BT SCO"
|
<route type="mix" sink="BT SCO"
|
||||||
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/>
|
||||||
<route type="mix" sink="BT SCO Headset"
|
<route type="mix" sink="BT SCO Headset"
|
||||||
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/>
|
||||||
<route type="mix" sink="BT SCO Car Kit"
|
<route type="mix" sink="BT SCO Car Kit"
|
||||||
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/>
|
||||||
<route type="mix" sink="Telephony Tx" sources="incall playback,voice call tx" />
|
<route type="mix" sink="Telephony Tx" sources="incall playback,voice call tx" />
|
||||||
<route type="mix" sink="primary input"
|
<route type="mix" sink="primary input"
|
||||||
sources="Built-In Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
|
sources="Built-In Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
|
||||||
|
|
|
@ -169,11 +169,11 @@
|
||||||
<route type="mix" sink="USB Headset Out"
|
<route type="mix" sink="USB Headset Out"
|
||||||
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
||||||
<route type="mix" sink="BT SCO"
|
<route type="mix" sink="BT SCO"
|
||||||
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/>
|
||||||
<route type="mix" sink="BT SCO Headset"
|
<route type="mix" sink="BT SCO Headset"
|
||||||
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/>
|
||||||
<route type="mix" sink="BT SCO Car Kit"
|
<route type="mix" sink="BT SCO Car Kit"
|
||||||
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/>
|
||||||
<route type="mix" sink="Telephony Tx" sources="incall playback,voice call tx" />
|
<route type="mix" sink="Telephony Tx" sources="incall playback,voice call tx" />
|
||||||
<route type="mix" sink="primary input"
|
<route type="mix" sink="primary input"
|
||||||
sources="Built-In Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
|
sources="Built-In Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
|
||||||
|
|
|
@ -380,13 +380,6 @@
|
||||||
<path name="raw-playbackP hac-handset">
|
<path name="raw-playbackP hac-handset">
|
||||||
</path>
|
</path>
|
||||||
|
|
||||||
<path name="raw-playbackP bt">
|
|
||||||
<ctl name="PCM Playback Volume" value="1000"/>
|
|
||||||
<ctl name="SINK_IDS" id="0" value="2"/>
|
|
||||||
<ctl name="SINK_IDS" id="1" value="-1"/>
|
|
||||||
<ctl name="BT_RX Mixer EP4" value="1"/>
|
|
||||||
</path>
|
|
||||||
|
|
||||||
<path name="raw-playbackP usb-headphone">
|
<path name="raw-playbackP usb-headphone">
|
||||||
<ctl name="PCM Playback Volume" value="1000"/>
|
<ctl name="PCM Playback Volume" value="1000"/>
|
||||||
<ctl name="SINK_IDS" id="0" value="4"/>
|
<ctl name="SINK_IDS" id="0" value="4"/>
|
||||||
|
@ -407,13 +400,6 @@
|
||||||
<path name="mmap-playbackP hac-handset">
|
<path name="mmap-playbackP hac-handset">
|
||||||
</path>
|
</path>
|
||||||
|
|
||||||
<path name="mmap-playbackP bt">
|
|
||||||
<ctl name="PCM Playback Volume" value="1000"/>
|
|
||||||
<ctl name="SINK_IDS" id="0" value="2"/>
|
|
||||||
<ctl name="SINK_IDS" id="1" value="-1"/>
|
|
||||||
<ctl name="BT_RX Mixer EP1" value="1"/>
|
|
||||||
</path>
|
|
||||||
|
|
||||||
<path name="mmap-playbackP usb-headphone">
|
<path name="mmap-playbackP usb-headphone">
|
||||||
<ctl name="PCM Playback Volume" value="1000"/>
|
<ctl name="PCM Playback Volume" value="1000"/>
|
||||||
<ctl name="SINK_IDS" id="0" value="4"/>
|
<ctl name="SINK_IDS" id="0" value="4"/>
|
||||||
|
|
|
@ -45,5 +45,5 @@ AlgFxPath64=/vendor/lib64/libAlgFx_HiFi3z.so
|
||||||
|
|
||||||
[CUSTOM_ACTION_256]
|
[CUSTOM_ACTION_256]
|
||||||
CASE_1=PRIORITY:0,NUMBERS:2:0|1,PRESET:SPEAKER_MUSIC
|
CASE_1=PRIORITY:0,NUMBERS:2:0|1,PRESET:SPEAKER_MUSIC
|
||||||
CASE_2=PRIORITY:1,NUMBERS:2|4194304:2|3|4,PRESET:SPEAKER_SAFE_CALL
|
CASE_2=PRIORITY:1,NUMBERS:1|2|4194304:2|3|4,PRESET:SPEAKER_SAFE_CALL
|
||||||
CASE_3=PRIORITY:2,NUMBERS:4194304:0|1,PRESET:SPEAKER_SAFE_MUSIC
|
CASE_3=PRIORITY:2,NUMBERS:1|4194304:0|1,PRESET:SPEAKER_SAFE_MUSIC
|
||||||
|
|
|
@ -182,21 +182,21 @@
|
||||||
<route type="mix" sink="Earpiece"
|
<route type="mix" sink="Earpiece"
|
||||||
sources="primary output,deep buffer,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
sources="primary output,deep buffer,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
||||||
<route type="mix" sink="BT A2DP Out"
|
<route type="mix" sink="BT A2DP Out"
|
||||||
sources="primary output,deep buffer,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
sources="primary output,deep buffer,compressed_offload,voip_rx"/>
|
||||||
<route type="mix" sink="BT A2DP Headphones"
|
<route type="mix" sink="BT A2DP Headphones"
|
||||||
sources="primary output,deep buffer,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
sources="primary output,deep buffer,compressed_offload,voip_rx"/>
|
||||||
<route type="mix" sink="BT A2DP Speaker"
|
<route type="mix" sink="BT A2DP Speaker"
|
||||||
sources="primary output,deep buffer,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
sources="primary output,deep buffer,compressed_offload,voip_rx"/>
|
||||||
<route type="mix" sink="USB Device Out"
|
<route type="mix" sink="USB Device Out"
|
||||||
sources="primary output,deep buffer,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
sources="primary output,deep buffer,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
||||||
<route type="mix" sink="USB Headset Out"
|
<route type="mix" sink="USB Headset Out"
|
||||||
sources="primary output,deep buffer,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
sources="primary output,deep buffer,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
||||||
<route type="mix" sink="BT SCO"
|
<route type="mix" sink="BT SCO"
|
||||||
sources="primary output,deep buffer,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
sources="primary output,deep buffer,compressed_offload,voip_rx"/>
|
||||||
<route type="mix" sink="BT SCO Headset"
|
<route type="mix" sink="BT SCO Headset"
|
||||||
sources="primary output,deep buffer,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
sources="primary output,deep buffer,compressed_offload,voip_rx"/>
|
||||||
<route type="mix" sink="BT SCO Car Kit"
|
<route type="mix" sink="BT SCO Car Kit"
|
||||||
sources="primary output,deep buffer,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
sources="primary output,deep buffer,compressed_offload,voip_rx"/>
|
||||||
<route type="mix" sink="Telephony Tx" sources="incall playback,voice call tx" />
|
<route type="mix" sink="Telephony Tx" sources="incall playback,voice call tx" />
|
||||||
<route type="mix" sink="primary input"
|
<route type="mix" sink="primary input"
|
||||||
sources="Built-In Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
|
sources="Built-In Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
|
||||||
|
|
|
@ -169,11 +169,11 @@
|
||||||
<route type="mix" sink="USB Headset Out"
|
<route type="mix" sink="USB Headset Out"
|
||||||
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
||||||
<route type="mix" sink="BT SCO"
|
<route type="mix" sink="BT SCO"
|
||||||
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/>
|
||||||
<route type="mix" sink="BT SCO Headset"
|
<route type="mix" sink="BT SCO Headset"
|
||||||
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/>
|
||||||
<route type="mix" sink="BT SCO Car Kit"
|
<route type="mix" sink="BT SCO Car Kit"
|
||||||
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/>
|
||||||
<route type="mix" sink="Telephony Tx" sources="incall playback,voice call tx" />
|
<route type="mix" sink="Telephony Tx" sources="incall playback,voice call tx" />
|
||||||
<route type="mix" sink="primary input"
|
<route type="mix" sink="primary input"
|
||||||
sources="Built-In Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
|
sources="Built-In Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
|
||||||
|
|
|
@ -169,11 +169,11 @@
|
||||||
<route type="mix" sink="USB Headset Out"
|
<route type="mix" sink="USB Headset Out"
|
||||||
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
||||||
<route type="mix" sink="BT SCO"
|
<route type="mix" sink="BT SCO"
|
||||||
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/>
|
||||||
<route type="mix" sink="BT SCO Headset"
|
<route type="mix" sink="BT SCO Headset"
|
||||||
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/>
|
||||||
<route type="mix" sink="BT SCO Car Kit"
|
<route type="mix" sink="BT SCO Car Kit"
|
||||||
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/>
|
||||||
<route type="mix" sink="Telephony Tx" sources="incall playback,voice call tx" />
|
<route type="mix" sink="Telephony Tx" sources="incall playback,voice call tx" />
|
||||||
<route type="mix" sink="primary input"
|
<route type="mix" sink="primary input"
|
||||||
sources="Built-In Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
|
sources="Built-In Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
|
||||||
|
|
|
@ -398,13 +398,6 @@
|
||||||
<path name="raw-playbackP hac-handset">
|
<path name="raw-playbackP hac-handset">
|
||||||
</path>
|
</path>
|
||||||
|
|
||||||
<path name="raw-playbackP bt">
|
|
||||||
<ctl name="PCM Playback Volume" value="1000"/>
|
|
||||||
<ctl name="SINK_IDS" id="0" value="2"/>
|
|
||||||
<ctl name="SINK_IDS" id="1" value="-1"/>
|
|
||||||
<ctl name="BT_RX Mixer EP4" value="1"/>
|
|
||||||
</path>
|
|
||||||
|
|
||||||
<path name="raw-playbackP usb-headphone">
|
<path name="raw-playbackP usb-headphone">
|
||||||
<ctl name="PCM Playback Volume" value="1000"/>
|
<ctl name="PCM Playback Volume" value="1000"/>
|
||||||
<ctl name="SINK_IDS" id="0" value="4"/>
|
<ctl name="SINK_IDS" id="0" value="4"/>
|
||||||
|
@ -434,13 +427,6 @@
|
||||||
<path name="mmap-playbackP hac-handset">
|
<path name="mmap-playbackP hac-handset">
|
||||||
</path>
|
</path>
|
||||||
|
|
||||||
<path name="mmap-playbackP bt">
|
|
||||||
<ctl name="PCM Playback Volume" value="1000"/>
|
|
||||||
<ctl name="SINK_IDS" id="0" value="2"/>
|
|
||||||
<ctl name="SINK_IDS" id="1" value="-1"/>
|
|
||||||
<ctl name="BT_RX Mixer EP1" value="1"/>
|
|
||||||
</path>
|
|
||||||
|
|
||||||
<path name="mmap-playbackP usb-headphone">
|
<path name="mmap-playbackP usb-headphone">
|
||||||
<ctl name="PCM Playback Volume" value="1000"/>
|
<ctl name="PCM Playback Volume" value="1000"/>
|
||||||
<ctl name="SINK_IDS" id="0" value="4"/>
|
<ctl name="SINK_IDS" id="0" value="4"/>
|
||||||
|
|
|
@ -45,5 +45,5 @@ AlgFxPath64=/vendor/lib64/libAlgFx_HiFi3z.so
|
||||||
|
|
||||||
[CUSTOM_ACTION_256]
|
[CUSTOM_ACTION_256]
|
||||||
CASE_1=PRIORITY:0,NUMBERS:2:0|1,PRESET:SPEAKER_MUSIC
|
CASE_1=PRIORITY:0,NUMBERS:2:0|1,PRESET:SPEAKER_MUSIC
|
||||||
CASE_2=PRIORITY:1,NUMBERS:2|4194304:2|3|4,PRESET:SPEAKER_SAFE_CALL
|
CASE_2=PRIORITY:1,NUMBERS:1|2|4194304:2|3|4,PRESET:SPEAKER_SAFE_CALL
|
||||||
CASE_3=PRIORITY:2,NUMBERS:4194304:0|1,PRESET:SPEAKER_SAFE_MUSIC
|
CASE_3=PRIORITY:2,NUMBERS:1|4194304:0|1,PRESET:SPEAKER_SAFE_MUSIC
|
||||||
|
|
|
@ -180,21 +180,21 @@
|
||||||
<route type="mix" sink="Earpiece"
|
<route type="mix" sink="Earpiece"
|
||||||
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
||||||
<route type="mix" sink="BT A2DP Out"
|
<route type="mix" sink="BT A2DP Out"
|
||||||
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/>
|
||||||
<route type="mix" sink="BT A2DP Headphones"
|
<route type="mix" sink="BT A2DP Headphones"
|
||||||
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/>
|
||||||
<route type="mix" sink="BT A2DP Speaker"
|
<route type="mix" sink="BT A2DP Speaker"
|
||||||
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/>
|
||||||
<route type="mix" sink="USB Device Out"
|
<route type="mix" sink="USB Device Out"
|
||||||
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
||||||
<route type="mix" sink="USB Headset Out"
|
<route type="mix" sink="USB Headset Out"
|
||||||
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
||||||
<route type="mix" sink="BT SCO"
|
<route type="mix" sink="BT SCO"
|
||||||
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/>
|
||||||
<route type="mix" sink="BT SCO Headset"
|
<route type="mix" sink="BT SCO Headset"
|
||||||
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/>
|
||||||
<route type="mix" sink="BT SCO Car Kit"
|
<route type="mix" sink="BT SCO Car Kit"
|
||||||
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/>
|
||||||
<route type="mix" sink="Telephony Tx" sources="incall playback,voice call tx" />
|
<route type="mix" sink="Telephony Tx" sources="incall playback,voice call tx" />
|
||||||
<route type="mix" sink="primary input"
|
<route type="mix" sink="primary input"
|
||||||
sources="Built-In Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
|
sources="Built-In Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
|
||||||
|
|
|
@ -169,11 +169,11 @@
|
||||||
<route type="mix" sink="USB Headset Out"
|
<route type="mix" sink="USB Headset Out"
|
||||||
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
||||||
<route type="mix" sink="BT SCO"
|
<route type="mix" sink="BT SCO"
|
||||||
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/>
|
||||||
<route type="mix" sink="BT SCO Headset"
|
<route type="mix" sink="BT SCO Headset"
|
||||||
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/>
|
||||||
<route type="mix" sink="BT SCO Car Kit"
|
<route type="mix" sink="BT SCO Car Kit"
|
||||||
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/>
|
||||||
<route type="mix" sink="Telephony Tx" sources="incall playback,voice call tx" />
|
<route type="mix" sink="Telephony Tx" sources="incall playback,voice call tx" />
|
||||||
<route type="mix" sink="primary input"
|
<route type="mix" sink="primary input"
|
||||||
sources="Built-In Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
|
sources="Built-In Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
|
||||||
|
|
|
@ -169,11 +169,11 @@
|
||||||
<route type="mix" sink="USB Headset Out"
|
<route type="mix" sink="USB Headset Out"
|
||||||
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
||||||
<route type="mix" sink="BT SCO"
|
<route type="mix" sink="BT SCO"
|
||||||
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/>
|
||||||
<route type="mix" sink="BT SCO Headset"
|
<route type="mix" sink="BT SCO Headset"
|
||||||
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/>
|
||||||
<route type="mix" sink="BT SCO Car Kit"
|
<route type="mix" sink="BT SCO Car Kit"
|
||||||
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/>
|
||||||
<route type="mix" sink="Telephony Tx" sources="incall playback,voice call tx" />
|
<route type="mix" sink="Telephony Tx" sources="incall playback,voice call tx" />
|
||||||
<route type="mix" sink="primary input"
|
<route type="mix" sink="primary input"
|
||||||
sources="Built-In Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
|
sources="Built-In Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
|
||||||
|
|
|
@ -344,13 +344,6 @@
|
||||||
<path name="raw-playbackP hac-handset">
|
<path name="raw-playbackP hac-handset">
|
||||||
</path>
|
</path>
|
||||||
|
|
||||||
<path name="raw-playbackP bt">
|
|
||||||
<ctl name="PCM Playback Volume" value="1000"/>
|
|
||||||
<ctl name="SINK_IDS" id="0" value="2"/>
|
|
||||||
<ctl name="SINK_IDS" id="1" value="-1"/>
|
|
||||||
<ctl name="BT_RX Mixer EP4" value="1"/>
|
|
||||||
</path>
|
|
||||||
|
|
||||||
<path name="raw-playbackP usb-headphone">
|
<path name="raw-playbackP usb-headphone">
|
||||||
<ctl name="PCM Playback Volume" value="1000"/>
|
<ctl name="PCM Playback Volume" value="1000"/>
|
||||||
<ctl name="SINK_IDS" id="0" value="4"/>
|
<ctl name="SINK_IDS" id="0" value="4"/>
|
||||||
|
@ -371,13 +364,6 @@
|
||||||
<path name="mmap-playbackP hac-handset">
|
<path name="mmap-playbackP hac-handset">
|
||||||
</path>
|
</path>
|
||||||
|
|
||||||
<path name="mmap-playbackP bt">
|
|
||||||
<ctl name="PCM Playback Volume" value="1000"/>
|
|
||||||
<ctl name="SINK_IDS" id="0" value="2"/>
|
|
||||||
<ctl name="SINK_IDS" id="1" value="-1"/>
|
|
||||||
<ctl name="BT_RX Mixer EP1" value="1"/>
|
|
||||||
</path>
|
|
||||||
|
|
||||||
<path name="mmap-playbackP usb-headphone">
|
<path name="mmap-playbackP usb-headphone">
|
||||||
<ctl name="PCM Playback Volume" value="1000"/>
|
<ctl name="PCM Playback Volume" value="1000"/>
|
||||||
<ctl name="SINK_IDS" id="0" value="4"/>
|
<ctl name="SINK_IDS" id="0" value="4"/>
|
||||||
|
|
|
@ -45,5 +45,5 @@ AlgFxPath64=/vendor/lib64/libAlgFx_HiFi3z.so
|
||||||
|
|
||||||
[CUSTOM_ACTION_256]
|
[CUSTOM_ACTION_256]
|
||||||
CASE_1=PRIORITY:0,NUMBERS:2:0|1,PRESET:SPEAKER_MUSIC
|
CASE_1=PRIORITY:0,NUMBERS:2:0|1,PRESET:SPEAKER_MUSIC
|
||||||
CASE_2=PRIORITY:1,NUMBERS:2|4194304:2|3|4,PRESET:SPEAKER_SAFE_CALL
|
CASE_2=PRIORITY:1,NUMBERS:1|2|4194304:2|3|4,PRESET:SPEAKER_SAFE_CALL
|
||||||
CASE_3=PRIORITY:2,NUMBERS:4194304:0|1,PRESET:SPEAKER_SAFE_MUSIC
|
CASE_3=PRIORITY:2,NUMBERS:1|4194304:0|1,PRESET:SPEAKER_SAFE_MUSIC
|
||||||
|
|
|
@ -164,11 +164,11 @@
|
||||||
<route type="mix" sink="USB Headset Out"
|
<route type="mix" sink="USB Headset Out"
|
||||||
sources="primary output,deep buffer,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
sources="primary output,deep buffer,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
||||||
<route type="mix" sink="BT SCO"
|
<route type="mix" sink="BT SCO"
|
||||||
sources="primary output,deep buffer,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
sources="primary output,deep buffer,compressed_offload,voip_rx"/>
|
||||||
<route type="mix" sink="BT SCO Headset"
|
<route type="mix" sink="BT SCO Headset"
|
||||||
sources="primary output,deep buffer,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
sources="primary output,deep buffer,compressed_offload,voip_rx"/>
|
||||||
<route type="mix" sink="BT SCO Car Kit"
|
<route type="mix" sink="BT SCO Car Kit"
|
||||||
sources="primary output,deep buffer,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
sources="primary output,deep buffer,compressed_offload,voip_rx"/>
|
||||||
<route type="mix" sink="Telephony Tx" sources="incall playback,voice call tx" />
|
<route type="mix" sink="Telephony Tx" sources="incall playback,voice call tx" />
|
||||||
<route type="mix" sink="primary input"
|
<route type="mix" sink="primary input"
|
||||||
sources="Built-In Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
|
sources="Built-In Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
|
||||||
|
|
|
@ -164,11 +164,11 @@
|
||||||
<route type="mix" sink="USB Headset Out"
|
<route type="mix" sink="USB Headset Out"
|
||||||
sources="primary output,deep buffer,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
sources="primary output,deep buffer,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
||||||
<route type="mix" sink="BT SCO"
|
<route type="mix" sink="BT SCO"
|
||||||
sources="primary output,deep buffer,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
sources="primary output,deep buffer,compressed_offload,voip_rx"/>
|
||||||
<route type="mix" sink="BT SCO Headset"
|
<route type="mix" sink="BT SCO Headset"
|
||||||
sources="primary output,deep buffer,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
sources="primary output,deep buffer,compressed_offload,voip_rx"/>
|
||||||
<route type="mix" sink="BT SCO Car Kit"
|
<route type="mix" sink="BT SCO Car Kit"
|
||||||
sources="primary output,deep buffer,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
sources="primary output,deep buffer,compressed_offload,voip_rx"/>
|
||||||
<route type="mix" sink="Telephony Tx" sources="incall playback,voice call tx" />
|
<route type="mix" sink="Telephony Tx" sources="incall playback,voice call tx" />
|
||||||
<route type="mix" sink="primary input"
|
<route type="mix" sink="primary input"
|
||||||
sources="Built-In Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
|
sources="Built-In Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
|
||||||
|
|
|
@ -164,11 +164,11 @@
|
||||||
<route type="mix" sink="USB Headset Out"
|
<route type="mix" sink="USB Headset Out"
|
||||||
sources="primary output,deep buffer,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
sources="primary output,deep buffer,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
||||||
<route type="mix" sink="BT SCO"
|
<route type="mix" sink="BT SCO"
|
||||||
sources="primary output,deep buffer,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
sources="primary output,deep buffer,compressed_offload,voip_rx"/>
|
||||||
<route type="mix" sink="BT SCO Headset"
|
<route type="mix" sink="BT SCO Headset"
|
||||||
sources="primary output,deep buffer,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
sources="primary output,deep buffer,compressed_offload,voip_rx"/>
|
||||||
<route type="mix" sink="BT SCO Car Kit"
|
<route type="mix" sink="BT SCO Car Kit"
|
||||||
sources="primary output,deep buffer,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
sources="primary output,deep buffer,compressed_offload,voip_rx"/>
|
||||||
<route type="mix" sink="Telephony Tx" sources="incall playback,voice call tx" />
|
<route type="mix" sink="Telephony Tx" sources="incall playback,voice call tx" />
|
||||||
<route type="mix" sink="primary input"
|
<route type="mix" sink="primary input"
|
||||||
sources="Built-In Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
|
sources="Built-In Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
|
||||||
|
|
|
@ -393,13 +393,6 @@
|
||||||
<path name="raw-playbackP hac-handset">
|
<path name="raw-playbackP hac-handset">
|
||||||
</path>
|
</path>
|
||||||
|
|
||||||
<path name="raw-playbackP bt">
|
|
||||||
<ctl name="PCM Playback Volume" value="1000"/>
|
|
||||||
<ctl name="SINK_IDS" id="0" value="2"/>
|
|
||||||
<ctl name="SINK_IDS" id="1" value="-1"/>
|
|
||||||
<ctl name="BT_RX Mixer EP4" value="1"/>
|
|
||||||
</path>
|
|
||||||
|
|
||||||
<path name="raw-playbackP usb-headphone">
|
<path name="raw-playbackP usb-headphone">
|
||||||
<ctl name="PCM Playback Volume" value="1000"/>
|
<ctl name="PCM Playback Volume" value="1000"/>
|
||||||
<ctl name="SINK_IDS" id="0" value="4"/>
|
<ctl name="SINK_IDS" id="0" value="4"/>
|
||||||
|
@ -429,13 +422,6 @@
|
||||||
<path name="mmap-playbackP hac-handset">
|
<path name="mmap-playbackP hac-handset">
|
||||||
</path>
|
</path>
|
||||||
|
|
||||||
<path name="mmap-playbackP bt">
|
|
||||||
<ctl name="PCM Playback Volume" value="1000"/>
|
|
||||||
<ctl name="SINK_IDS" id="0" value="2"/>
|
|
||||||
<ctl name="SINK_IDS" id="1" value="-1"/>
|
|
||||||
<ctl name="BT_RX Mixer EP1" value="1"/>
|
|
||||||
</path>
|
|
||||||
|
|
||||||
<path name="mmap-playbackP usb-headphone">
|
<path name="mmap-playbackP usb-headphone">
|
||||||
<ctl name="PCM Playback Volume" value="1000"/>
|
<ctl name="PCM Playback Volume" value="1000"/>
|
||||||
<ctl name="SINK_IDS" id="0" value="4"/>
|
<ctl name="SINK_IDS" id="0" value="4"/>
|
||||||
|
|
|
@ -45,5 +45,5 @@ AlgFxPath64=/vendor/lib64/libAlgFx_HiFi3z.so
|
||||||
|
|
||||||
[CUSTOM_ACTION_256]
|
[CUSTOM_ACTION_256]
|
||||||
CASE_1=PRIORITY:0,NUMBERS:2:0|1,PRESET:SPEAKER_MUSIC
|
CASE_1=PRIORITY:0,NUMBERS:2:0|1,PRESET:SPEAKER_MUSIC
|
||||||
CASE_2=PRIORITY:1,NUMBERS:2|4194304:2|3|4,PRESET:SPEAKER_SAFE_CALL
|
CASE_2=PRIORITY:1,NUMBERS:1|2|4194304:2|3|4,PRESET:SPEAKER_SAFE_CALL
|
||||||
CASE_3=PRIORITY:2,NUMBERS:4194304:0|1,PRESET:SPEAKER_SAFE_MUSIC
|
CASE_3=PRIORITY:2,NUMBERS:1|4194304:0|1,PRESET:SPEAKER_SAFE_MUSIC
|
||||||
|
|
|
@ -62,6 +62,10 @@ PRODUCT_COPY_FILES += \
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
device/google/raviole/media_profiles_oriole.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_V1_0.xml
|
device/google/raviole/media_profiles_oriole.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_V1_0.xml
|
||||||
|
|
||||||
|
# Display Config
|
||||||
|
PRODUCT_COPY_FILES += \
|
||||||
|
device/google/raviole/oriole/display_colordata_dev_cal0.pb:$(TARGET_COPY_OUT_VENDOR)/etc/display_colordata_dev_cal0.pb
|
||||||
|
|
||||||
# NFC
|
# NFC
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
device/google/raviole/nfc/libnfc-hal-st.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-hal-st.conf \
|
device/google/raviole/nfc/libnfc-hal-st.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-hal-st.conf \
|
||||||
|
|
|
@ -63,7 +63,8 @@ PRODUCT_COPY_FILES += \
|
||||||
|
|
||||||
# Display Config
|
# Display Config
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
device/google/raviole/raven/display_golden_cal0.pb:$(TARGET_COPY_OUT_VENDOR)/etc/display_golden_cal0.pb
|
device/google/raviole/raven/display_golden_cal0.pb:$(TARGET_COPY_OUT_VENDOR)/etc/display_golden_cal0.pb \
|
||||||
|
device/google/raviole/raven/display_colordata_dev_cal0.pb:$(TARGET_COPY_OUT_VENDOR)/etc/display_colordata_dev_cal0.pb
|
||||||
|
|
||||||
# NFC
|
# NFC
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
|
|
BIN
oriole/display_colordata_dev_cal0.pb
Normal file
BIN
oriole/display_colordata_dev_cal0.pb
Normal file
Binary file not shown.
BIN
raven/display_colordata_dev_cal0.pb
Normal file
BIN
raven/display_colordata_dev_cal0.pb
Normal file
Binary file not shown.
|
@ -33,21 +33,23 @@
|
||||||
|
|
||||||
<!-- Display cutout configuration -->
|
<!-- Display cutout configuration -->
|
||||||
<string translatable="false" name="config_mainBuiltInDisplayCutout">
|
<string translatable="false" name="config_mainBuiltInDisplayCutout">
|
||||||
M 680,71
|
M 677,72
|
||||||
a 42,42 0 1 0 84,0 42,42 0 1 0 -84,0
|
a 42,42 0 1 0 84,0
|
||||||
|
a 42,42 0 1 0 -84,0
|
||||||
Z
|
Z
|
||||||
@left
|
@left
|
||||||
</string>
|
</string>
|
||||||
|
|
||||||
<string translatable="false" name="config_mainBuiltInDisplayCutoutRectApproximation">
|
<string translatable="false" name="config_mainBuiltInDisplayCutoutRectApproximation">
|
||||||
M 664,13
|
M 655,0
|
||||||
h 116
|
h 126
|
||||||
v 116
|
v 130
|
||||||
h -116
|
h -126
|
||||||
Z
|
Z
|
||||||
@left
|
@left
|
||||||
</string>
|
</string>
|
||||||
|
|
||||||
|
|
||||||
<!-- Radius of the software rounded corners. -->
|
<!-- Radius of the software rounded corners. -->
|
||||||
<dimen name="rounded_corner_radius">25px</dimen>
|
<dimen name="rounded_corner_radius">25px</dimen>
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,24 @@
|
||||||
|
<!--
|
||||||
|
Copyright (C) 2021 The Android Open Source Project
|
||||||
|
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
||||||
|
-->
|
||||||
|
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:width="176px"
|
||||||
|
android:height="176px"
|
||||||
|
android:viewportWidth="176"
|
||||||
|
android:viewportHeight="176">
|
||||||
|
|
||||||
|
<path
|
||||||
|
android:fillColor="#000000"
|
||||||
|
android:pathData="M 176,0 C 115.0238,1.1656496 102.53444,1.6177119 71.39639,3.3840542 55.923895,4.7275334 47.497614,6.018167 41.513855,7.981025 c -4.739091,1.5545684 -10.12658,4.010582 -14.72796,6.912399 -3.88932,2.452765 -6.723047,5.031081 -9.855743,8.228644 -3.872981,3.953175 -5.63514,7.245344 -7.8627801,11.693275 C 6.5442473,39.853268 4.8906853,45.485594 4.2629643,49.251025 2.1107263,62.161384 2.0435492,76.126365 1.3622065,93.833044 0.29590205,121.54408 0.79450819,135.72178 0,176 V 0 Z" />
|
||||||
|
</vector>
|
||||||
|
|
|
@ -0,0 +1,24 @@
|
||||||
|
<!--
|
||||||
|
Copyright (C) 2021 The Android Open Source Project
|
||||||
|
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
||||||
|
-->
|
||||||
|
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:width="176px"
|
||||||
|
android:height="176px"
|
||||||
|
android:viewportWidth="176"
|
||||||
|
android:viewportHeight="176">
|
||||||
|
|
||||||
|
<path
|
||||||
|
android:fillColor="#000000"
|
||||||
|
android:pathData="M 176,0 C 115.0238,1.1656496 102.53444,1.6177119 71.39639,3.3840542 55.658931,4.464517 48.371797,5.381139 40.939069,7.5951704 36.159077,9.0190158 30.970656,11.336916 26.369276,14.238733 22.479956,16.691498 19.646229,19.269814 16.513533,22.467377 12.640552,26.420552 10.129621,29.74615 8.1077333,34.291306 5.3988084,40.380905 4.5631294,44.598944 3.760158,49.204306 1.5210754,62.04634 2.0435492,76.126365 1.3622065,93.833044 0.29590205,121.54408 0.79450819,135.72178 0,176 V 0 Z" />
|
||||||
|
</vector>
|
||||||
|
|
|
@ -52,5 +52,19 @@
|
||||||
<item>0</item> <!-- 3: HIGH -->
|
<item>0</item> <!-- 3: HIGH -->
|
||||||
<item>0</item> <!-- 4: SUN -->
|
<item>0</item> <!-- 4: SUN -->
|
||||||
</integer-array>
|
</integer-array>
|
||||||
|
|
||||||
|
<bool name="config_roundedCornerMultipleRadius">true</bool>
|
||||||
|
|
||||||
|
<!-- Configure 13px of extra protection around the front-facing camera -->
|
||||||
|
<string translatable="false" name="config_frontBuiltInDisplayCutoutProtection">
|
||||||
|
M 661,72
|
||||||
|
a 57,57 0 1 0 114,0
|
||||||
|
a 57,57 0 1 0 -114,0
|
||||||
|
Z
|
||||||
|
</string>
|
||||||
|
|
||||||
|
<!-- Camera 1 is the front camera on barbet -->
|
||||||
|
<string translatable="false" name="config_protectedCameraId">1</string>
|
||||||
|
|
||||||
</resources>
|
</resources>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue