Merge Android 24Q2 Release (ab/11526283) to aosp-main-future
Bug: 337098550 Merged-In: Iaf41244bc1135b7528d3a3ec3e92a4e644f5ee53 Change-Id: I696c5bd5b0214ea2b3b3491485968296c1060865
This commit is contained in:
commit
405f7ce44f
270 changed files with 36973 additions and 27260 deletions
|
@ -25,8 +25,11 @@
|
|||
<argument name="ThermistorName" value="VIRTUAL-SKIN-SPEAKER" />
|
||||
<argument name="ThermistorType" value="UNKNOWN" />
|
||||
<argument name="ThrottlingSeverity" value="LIGHT" />
|
||||
<argument name="SpeakerPowerPollWaitMs" value="5000" />
|
||||
</feature>
|
||||
<feature name="RuntimeTuningDump" />
|
||||
<feature name="SoundDose" />
|
||||
<!-- <feature name="spatializer-offload" /> -->
|
||||
</features>
|
||||
|
||||
<voipVolume>
|
||||
|
@ -55,16 +58,22 @@
|
|||
<tuner type="playback" name="waves">
|
||||
<argument name="Sink" value="SPK" />
|
||||
<argument name="ThermistorsName" value="VIRTUAL-SKIN-SPEAKER" />
|
||||
<argument name="Extensions" value="StereoSpatializerIndicator" />
|
||||
<argument name="Extensions" value="StereoSpatializerIndicator,SpeakerPowerLinkLaw" />
|
||||
</tuner>
|
||||
<tuner type="telephony" name="fortemedia">
|
||||
<argument name="VoIP_DLCHs" value="SPK:2,USB:2" />
|
||||
<argument name="VoIP_DLCHs" value="SPK:2,USB:2,BT:2" />
|
||||
<argument name="VoIP_Rate" value="32000" />
|
||||
<argument name="BOOST_USB_SWB_CLK" value="y" />
|
||||
<argument name="BOOST_HANDSET_SWB_CLK" value="y" />
|
||||
<argument name="CCA" value="UnsupportBands:48000,ExSharedBands:48000,VoIPMode:Dl" />
|
||||
<argument name="MCPS_TABLE" value="y" />
|
||||
<argument name="APPLY_WB_TUNING_FOR_NB_VOICE" value="y" />
|
||||
<argument name="CCA" value="UnsupportBands:48000,ExSharedBands:48000,VoIPMode:Dl,SupportBWE:y" />
|
||||
</tuner>
|
||||
<tuner type="capture" name="gs_capture" />
|
||||
<tuner type="compensation" name="TelephonySpeakerCompensation">
|
||||
<scenario condition="ScreenRotation:0,90,180,270"
|
||||
output="LeftChannel:compens_spk_l.conf RightChannel:compens_spk_r.conf" />
|
||||
</tuner>
|
||||
</tuners>
|
||||
|
||||
<latencies>
|
||||
|
@ -95,15 +104,219 @@
|
|||
<enablement useCase="primary-capture" deviceInterface="microphones">
|
||||
<source>MIC</source>
|
||||
<source>CAMCORDER</source>
|
||||
<source>VOICE_RECOGNITION</source>
|
||||
</enablement>
|
||||
<enablement useCase="primary-capture" deviceInterface="back-microphones">
|
||||
<source>MIC</source>
|
||||
<source>CAMCORDER</source>
|
||||
<source>VOICE_RECOGNITION</source>
|
||||
</enablement>
|
||||
</spatialCapture>
|
||||
|
||||
<microphones>
|
||||
<microphone id="builtin_mic_1" location="MAINBODY" group="0" indexInTheGroup="0"
|
||||
directionality="OMNI">
|
||||
<device type="IN_MICROPHONE" address="bottom" />
|
||||
<sensitivity levelDbfs="37.0" maxSplDb="132.5" minSplDb="28.5" />
|
||||
<position x="0.0269" y="0.0058" z="0.0079" />
|
||||
<orientation x="0.0" y="0.0" z="1.0" />
|
||||
<frequencyResponse>
|
||||
<point frequencyHz="100.00" levelDb="-0.78" />
|
||||
<point frequencyHz="106.00" levelDb="-0.71" />
|
||||
<point frequencyHz="112.00" levelDb="-0.64" />
|
||||
<point frequencyHz="118.00" levelDb="-0.60" />
|
||||
<point frequencyHz="125.00" levelDb="-0.55" />
|
||||
<point frequencyHz="132.00" levelDb="-0.50" />
|
||||
<point frequencyHz="140.00" levelDb="-0.47" />
|
||||
<point frequencyHz="150.00" levelDb="-0.42" />
|
||||
<point frequencyHz="160.00" levelDb="-0.39" />
|
||||
<point frequencyHz="170.00" levelDb="-0.36" />
|
||||
<point frequencyHz="180.00" levelDb="-0.34" />
|
||||
<point frequencyHz="190.00" levelDb="-0.33" />
|
||||
<point frequencyHz="200.00" levelDb="-0.32" />
|
||||
<point frequencyHz="212.00" levelDb="-0.29" />
|
||||
<point frequencyHz="224.00" levelDb="-0.28" />
|
||||
<point frequencyHz="236.00" levelDb="-0.28" />
|
||||
<point frequencyHz="250.00" levelDb="-0.27" />
|
||||
<point frequencyHz="265.00" levelDb="-0.25" />
|
||||
<point frequencyHz="280.00" levelDb="-0.25" />
|
||||
<point frequencyHz="300.00" levelDb="-0.24" />
|
||||
<point frequencyHz="315.00" levelDb="-0.23" />
|
||||
<point frequencyHz="335.00" levelDb="-0.23" />
|
||||
<point frequencyHz="355.00" levelDb="-0.22" />
|
||||
<point frequencyHz="375.00" levelDb="-0.22" />
|
||||
<point frequencyHz="400.00" levelDb="-0.19" />
|
||||
<point frequencyHz="425.00" levelDb="-0.17" />
|
||||
<point frequencyHz="450.00" levelDb="-0.15" />
|
||||
<point frequencyHz="475.00" levelDb="-0.15" />
|
||||
<point frequencyHz="500.00" levelDb="-0.14" />
|
||||
<point frequencyHz="530.00" levelDb="-0.14" />
|
||||
<point frequencyHz="560.00" levelDb="-0.12" />
|
||||
<point frequencyHz="600.00" levelDb="-0.11" />
|
||||
<point frequencyHz="630.00" levelDb="-0.10" />
|
||||
<point frequencyHz="670.00" levelDb="-0.10" />
|
||||
<point frequencyHz="710.00" levelDb="-0.08" />
|
||||
<point frequencyHz="750.00" levelDb="-0.07" />
|
||||
<point frequencyHz="800.00" levelDb="-0.07" />
|
||||
<point frequencyHz="850.00" levelDb="-0.04" />
|
||||
<point frequencyHz="900.00" levelDb="-0.03" />
|
||||
<point frequencyHz="950.00" levelDb="-0.01" />
|
||||
<point frequencyHz="1000.00" levelDb="0.00" />
|
||||
<point frequencyHz="1060.00" levelDb="0.04" />
|
||||
<point frequencyHz="1120.00" levelDb="0.06" />
|
||||
<point frequencyHz="1180.00" levelDb="0.07" />
|
||||
<point frequencyHz="1250.00" levelDb="0.08" />
|
||||
<point frequencyHz="1320.00" levelDb="0.13" />
|
||||
<point frequencyHz="1400.00" levelDb="0.09" />
|
||||
<point frequencyHz="1500.00" levelDb="0.14" />
|
||||
<point frequencyHz="1600.00" levelDb="0.19" />
|
||||
<point frequencyHz="1700.00" levelDb="0.23" />
|
||||
<point frequencyHz="1800.00" levelDb="0.28" />
|
||||
<point frequencyHz="1900.00" levelDb="0.29" />
|
||||
<point frequencyHz="2000.00" levelDb="0.31" />
|
||||
<point frequencyHz="2120.00" levelDb="0.37" />
|
||||
<point frequencyHz="2240.00" levelDb="0.88" />
|
||||
<point frequencyHz="2360.00" levelDb="0.86" />
|
||||
<point frequencyHz="2500.00" levelDb="0.77" />
|
||||
<point frequencyHz="2650.00" levelDb="0.78" />
|
||||
<point frequencyHz="2800.00" levelDb="0.84" />
|
||||
<point frequencyHz="3000.00" levelDb="0.86" />
|
||||
<point frequencyHz="3150.00" levelDb="1.05" />
|
||||
<point frequencyHz="3350.00" levelDb="1.12" />
|
||||
<point frequencyHz="3550.00" levelDb="1.18" />
|
||||
<point frequencyHz="3750.00" levelDb="1.25" />
|
||||
<point frequencyHz="4000.00" levelDb="1.43" />
|
||||
<point frequencyHz="4250.00" levelDb="1.66" />
|
||||
<point frequencyHz="4500.00" levelDb="1.83" />
|
||||
<point frequencyHz="4750.00" levelDb="2.02" />
|
||||
<point frequencyHz="5000.00" levelDb="2.23" />
|
||||
<point frequencyHz="5300.00" levelDb="2.59" />
|
||||
<point frequencyHz="5600.00" levelDb="2.84" />
|
||||
<point frequencyHz="6000.00" levelDb="3.35" />
|
||||
<point frequencyHz="6300.00" levelDb="4.01" />
|
||||
<point frequencyHz="6700.00" levelDb="6.82" />
|
||||
<point frequencyHz="7100.00" levelDb="6.62" />
|
||||
<point frequencyHz="7500.00" levelDb="6.42" />
|
||||
<point frequencyHz="8000.00" levelDb="7.30" />
|
||||
<point frequencyHz="8500.00" levelDb="8.23" />
|
||||
<point frequencyHz="9000.00" levelDb="7.54" />
|
||||
<point frequencyHz="9500.00" levelDb="12.68" />
|
||||
<point frequencyHz="10000.00" levelDb="13.76" />
|
||||
<point frequencyHz="10600.00" levelDb="18.69" />
|
||||
<point frequencyHz="11200.00" levelDb="19.68" />
|
||||
<point frequencyHz="11800.00" levelDb="20.90" />
|
||||
<point frequencyHz="12500.00" levelDb="23.70" />
|
||||
<point frequencyHz="13200.00" levelDb="25.10" />
|
||||
<point frequencyHz="14000.00" levelDb="21.65" />
|
||||
<point frequencyHz="15000.00" levelDb="16.18" />
|
||||
<point frequencyHz="16000.00" levelDb="18.84" />
|
||||
<point frequencyHz="17000.00" levelDb="25.44" />
|
||||
<point frequencyHz="18000.00" levelDb="23.48" />
|
||||
<point frequencyHz="19000.00" levelDb="23.22" />
|
||||
<point frequencyHz="20000.00" levelDb="24.89" />
|
||||
</frequencyResponse>
|
||||
</microphone>
|
||||
<microphone id="builtin_mic_2" location="MAINBODY" group="0" indexInTheGroup="1"
|
||||
directionality="OMNI">
|
||||
<device type="IN_MICROPHONE_BACK" address="back" />
|
||||
<sensitivity levelDbfs="-37.0" maxSplDb="132.5" minSplDb="28.5" />
|
||||
<position x="0.0546" y="0.1456" z="0.00415" />
|
||||
<orientation x="0.0" y="1.0" z="0.0" />
|
||||
<frequencyResponse>
|
||||
<point frequencyHz="106.00" levelDb="-0.75" />
|
||||
<point frequencyHz="112.00" levelDb="-0.74" />
|
||||
<point frequencyHz="118.00" levelDb="-0.69" />
|
||||
<point frequencyHz="125.00" levelDb="-0.65" />
|
||||
<point frequencyHz="132.00" levelDb="-0.62" />
|
||||
<point frequencyHz="140.00" levelDb="-0.61" />
|
||||
<point frequencyHz="150.00" levelDb="-0.56" />
|
||||
<point frequencyHz="160.00" levelDb="-0.53" />
|
||||
<point frequencyHz="170.00" levelDb="-0.50" />
|
||||
<point frequencyHz="180.00" levelDb="-0.47" />
|
||||
<point frequencyHz="190.00" levelDb="-0.43" />
|
||||
<point frequencyHz="200.00" levelDb="-0.40" />
|
||||
<point frequencyHz="212.00" levelDb="-0.37" />
|
||||
<point frequencyHz="224.00" levelDb="-0.36" />
|
||||
<point frequencyHz="236.00" levelDb="-0.33" />
|
||||
<point frequencyHz="250.00" levelDb="-0.30" />
|
||||
<point frequencyHz="265.00" levelDb="-0.28" />
|
||||
<point frequencyHz="280.00" levelDb="-0.25" />
|
||||
<point frequencyHz="300.00" levelDb="-0.24" />
|
||||
<point frequencyHz="315.00" levelDb="-0.24" />
|
||||
<point frequencyHz="335.00" levelDb="-0.24" />
|
||||
<point frequencyHz="355.00" levelDb="-0.25" />
|
||||
<point frequencyHz="375.00" levelDb="-0.24" />
|
||||
<point frequencyHz="400.00" levelDb="-0.12" />
|
||||
<point frequencyHz="425.00" levelDb="-0.10" />
|
||||
<point frequencyHz="450.00" levelDb="-0.08" />
|
||||
<point frequencyHz="475.00" levelDb="-0.09" />
|
||||
<point frequencyHz="500.00" levelDb="-0.07" />
|
||||
<point frequencyHz="530.00" levelDb="-0.07" />
|
||||
<point frequencyHz="560.00" levelDb="-0.06" />
|
||||
<point frequencyHz="600.00" levelDb="-0.06" />
|
||||
<point frequencyHz="630.00" levelDb="-0.06" />
|
||||
<point frequencyHz="670.00" levelDb="-0.05" />
|
||||
<point frequencyHz="710.00" levelDb="-0.04" />
|
||||
<point frequencyHz="750.00" levelDb="-0.05" />
|
||||
<point frequencyHz="800.00" levelDb="-0.04" />
|
||||
<point frequencyHz="850.00" levelDb="-0.01" />
|
||||
<point frequencyHz="900.00" levelDb="0.02" />
|
||||
<point frequencyHz="950.00" levelDb="0.02" />
|
||||
<point frequencyHz="1000.00" levelDb="0.00" />
|
||||
<point frequencyHz="1060.00" levelDb="0.02" />
|
||||
<point frequencyHz="1120.00" levelDb="0.03" />
|
||||
<point frequencyHz="1180.00" levelDb="0.07" />
|
||||
<point frequencyHz="1250.00" levelDb="0.10" />
|
||||
<point frequencyHz="1320.00" levelDb="0.10" />
|
||||
<point frequencyHz="1400.00" levelDb="0.13" />
|
||||
<point frequencyHz="1500.00" levelDb="0.01" />
|
||||
<point frequencyHz="1600.00" levelDb="0.01" />
|
||||
<point frequencyHz="1700.00" levelDb="0.10" />
|
||||
<point frequencyHz="1800.00" levelDb="0.11" />
|
||||
<point frequencyHz="1900.00" levelDb="0.19" />
|
||||
<point frequencyHz="2000.00" levelDb="0.24" />
|
||||
<point frequencyHz="2120.00" levelDb="0.38" />
|
||||
<point frequencyHz="2240.00" levelDb="0.46" />
|
||||
<point frequencyHz="2360.00" levelDb="0.26" />
|
||||
<point frequencyHz="2500.00" levelDb="0.27" />
|
||||
<point frequencyHz="2650.00" levelDb="0.43" />
|
||||
<point frequencyHz="2800.00" levelDb="0.76" />
|
||||
<point frequencyHz="3000.00" levelDb="0.75" />
|
||||
<point frequencyHz="3150.00" levelDb="1.09" />
|
||||
<point frequencyHz="3350.00" levelDb="1.09" />
|
||||
<point frequencyHz="3550.00" levelDb="0.94" />
|
||||
<point frequencyHz="3750.00" levelDb="1.06" />
|
||||
<point frequencyHz="4000.00" levelDb="1.21" />
|
||||
<point frequencyHz="4250.00" levelDb="1.47" />
|
||||
<point frequencyHz="4500.00" levelDb="1.45" />
|
||||
<point frequencyHz="4750.00" levelDb="1.36" />
|
||||
<point frequencyHz="5000.00" levelDb="2.07" />
|
||||
<point frequencyHz="5300.00" levelDb="2.85" />
|
||||
<point frequencyHz="5600.00" levelDb="2.90" />
|
||||
<point frequencyHz="6000.00" levelDb="3.85" />
|
||||
<point frequencyHz="6300.00" levelDb="4.65" />
|
||||
<point frequencyHz="6700.00" levelDb="5.84" />
|
||||
<point frequencyHz="7100.00" levelDb="5.46" />
|
||||
<point frequencyHz="7500.00" levelDb="6.15" />
|
||||
<point frequencyHz="8000.00" levelDb="7.50" />
|
||||
<point frequencyHz="8500.00" levelDb="8.30" />
|
||||
<point frequencyHz="9000.00" levelDb="10.62" />
|
||||
<point frequencyHz="9500.00" levelDb="12.70" />
|
||||
<point frequencyHz="10000.00" levelDb="16.65" />
|
||||
<point frequencyHz="10600.00" levelDb="20.95" />
|
||||
<point frequencyHz="11200.00" levelDb="25.41" />
|
||||
<point frequencyHz="11800.00" levelDb="26.32" />
|
||||
<point frequencyHz="12500.00" levelDb="20.20" />
|
||||
<point frequencyHz="13200.00" levelDb="16.60" />
|
||||
<point frequencyHz="14000.00" levelDb="11.24" />
|
||||
<point frequencyHz="15000.00" levelDb="7.85" />
|
||||
<point frequencyHz="16000.00" levelDb="7.62" />
|
||||
<point frequencyHz="17000.00" levelDb="20.19" />
|
||||
<point frequencyHz="18000.00" levelDb="7.32" />
|
||||
<point frequencyHz="19000.00" levelDb="2.87" />
|
||||
<point frequencyHz="20000.00" levelDb="5.18" />
|
||||
</frequencyResponse>
|
||||
</microphone>
|
||||
</microphones>
|
||||
|
||||
<xi:include href="audio_policy_volumes.xml" />
|
||||
<xi:include href="default_volume_tables.xml" />
|
||||
</audioPlatformConfiguration>
|
||||
|
|
|
@ -52,13 +52,12 @@ volume index from 0 to 100.
|
|||
<point>100,-1800</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_SYSTEM" deviceCategory="DEVICE_CATEGORY_SPEAKER">
|
||||
<point>1,-5200</point>
|
||||
<point>13,-5000</point>
|
||||
<point>28,-4400</point>
|
||||
<point>56,-3380</point>
|
||||
<point>71,-3120</point>
|
||||
<point>85,-2750</point>
|
||||
<point>100,-2150</point>
|
||||
<point>1,-4500</point>
|
||||
<point>29,-3400</point>
|
||||
<point>57,-2250</point>
|
||||
<point>71,-1900</point>
|
||||
<point>86,-1530</point>
|
||||
<point>100,-1100</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_SYSTEM" deviceCategory="DEVICE_CATEGORY_EARPIECE"
|
||||
ref="DEFAULT_SYSTEM_VOLUME_CURVE"/>
|
||||
|
@ -69,10 +68,12 @@ volume index from 0 to 100.
|
|||
<volume stream="AUDIO_STREAM_RING" deviceCategory="DEVICE_CATEGORY_HEADSET"
|
||||
ref="DEFAULT_DEVICE_CATEGORY_HEADSET_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_RING" deviceCategory="DEVICE_CATEGORY_SPEAKER">
|
||||
<point>1,-4935</point>
|
||||
<point>14,-3320</point>
|
||||
<point>28,-2960</point>
|
||||
<point>1,-4000</point>
|
||||
<point>29,-2950</point>
|
||||
<point>43,-2350</point>
|
||||
<point>57,-1850</point>
|
||||
<point>71,-1400</point>
|
||||
<point>86,-700</point>
|
||||
<point>100,0</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_RING" deviceCategory="DEVICE_CATEGORY_EARPIECE"
|
||||
|
@ -84,31 +85,31 @@ volume index from 0 to 100.
|
|||
<volume stream="AUDIO_STREAM_MUSIC" deviceCategory="DEVICE_CATEGORY_HEADSET"
|
||||
ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_MUSIC" deviceCategory="DEVICE_CATEGORY_SPEAKER">
|
||||
<point>1,-6920</point>
|
||||
<point>4,-6920</point>
|
||||
<point>8,-6664</point>
|
||||
<point>12,-6374</point>
|
||||
<point>16,-6082</point>
|
||||
<point>20,-5759</point>
|
||||
<point>24,-5410</point>
|
||||
<point>28,-5038</point>
|
||||
<point>32,-4807</point>
|
||||
<point>36,-4577</point>
|
||||
<point>40,-4339</point>
|
||||
<point>44,-4132</point>
|
||||
<point>48,-3860</point>
|
||||
<point>52,-3569</point>
|
||||
<point>56,-3223</point>
|
||||
<point>60,-2823</point>
|
||||
<point>64,-2452</point>
|
||||
<point>68,-2078</point>
|
||||
<point>72,-1795</point>
|
||||
<point>76,-1561</point>
|
||||
<point>80,-1226</point>
|
||||
<point>84,-956</point>
|
||||
<point>88,-789</point>
|
||||
<point>92,-635</point>
|
||||
<point>96,-505</point>
|
||||
<point>1,-9000</point>
|
||||
<point>4,-6370</point>
|
||||
<point>8,-6105</point>
|
||||
<point>12,-5810</point>
|
||||
<point>16,-5520</point>
|
||||
<point>20,-5220</point>
|
||||
<point>24,-4870</point>
|
||||
<point>28,-4490</point>
|
||||
<point>32,-4278</point>
|
||||
<point>36,-4027</point>
|
||||
<point>40,-3770</point>
|
||||
<point>44,-3560</point>
|
||||
<point>48,-3300</point>
|
||||
<point>52,-3080</point>
|
||||
<point>56,-2800</point>
|
||||
<point>60,-2620</point>
|
||||
<point>64,-2350</point>
|
||||
<point>68,-2200</point>
|
||||
<point>72,-2100</point>
|
||||
<point>76,-1930</point>
|
||||
<point>80,-1700</point>
|
||||
<point>84,-1460</point>
|
||||
<point>88,-1190</point>
|
||||
<point>92,-850</point>
|
||||
<point>96,-510</point>
|
||||
<point>100,0</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_MUSIC" deviceCategory="DEVICE_CATEGORY_EARPIECE"
|
||||
|
@ -121,10 +122,11 @@ volume index from 0 to 100.
|
|||
ref="DEFAULT_NON_MUTABLE_HEADSET_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_ALARM" deviceCategory="DEVICE_CATEGORY_SPEAKER">
|
||||
<point>0,-5600</point>
|
||||
<point>14,-4670</point>
|
||||
<point>28,-3060</point>
|
||||
<point>71,-1050</point>
|
||||
<point>100,-100</point>
|
||||
<point>29,-3520</point>
|
||||
<point>57,-1500</point>
|
||||
<point>71,-1150</point>
|
||||
<point>86,-500</point>
|
||||
<point>100,0</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_ALARM" deviceCategory="DEVICE_CATEGORY_EARPIECE"
|
||||
ref="DEFAULT_NON_MUTABLE_EARPIECE_VOLUME_CURVE"/>
|
||||
|
@ -135,12 +137,11 @@ volume index from 0 to 100.
|
|||
<volume stream="AUDIO_STREAM_NOTIFICATION" deviceCategory="DEVICE_CATEGORY_HEADSET"
|
||||
ref="DEFAULT_DEVICE_CATEGORY_HEADSET_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_NOTIFICATION" deviceCategory="DEVICE_CATEGORY_SPEAKER">
|
||||
<point>1,-6350</point>
|
||||
<point>14,-4300</point>
|
||||
<point>28,-3710</point>
|
||||
<point>66,-2100</point>
|
||||
<point>85,-1550</point>
|
||||
<point>100,-780</point>
|
||||
<point>1,-4500</point>
|
||||
<point>29,-3800</point>
|
||||
<point>71,-1850</point>
|
||||
<point>86,-1000</point>
|
||||
<point>100,-500</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_NOTIFICATION" deviceCategory="DEVICE_CATEGORY_EARPIECE"
|
||||
ref="DEFAULT_DEVICE_CATEGORY_EARPIECE_VOLUME_CURVE"/>
|
||||
|
@ -177,13 +178,12 @@ volume index from 0 to 100.
|
|||
<point>100,-1800</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_ENFORCED_AUDIBLE" deviceCategory="DEVICE_CATEGORY_SPEAKER">
|
||||
<point>1,-5200</point>
|
||||
<point>13,-5000</point>
|
||||
<point>28,-4400</point>
|
||||
<point>56,-3380</point>
|
||||
<point>71,-3120</point>
|
||||
<point>85,-2750</point>
|
||||
<point>100,-2150</point>
|
||||
<point>1,-4500</point>
|
||||
<point>29,-3400</point>
|
||||
<point>57,-2250</point>
|
||||
<point>71,-1900</point>
|
||||
<point>86,-1530</point>
|
||||
<point>100,-1100</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_ENFORCED_AUDIBLE" deviceCategory="DEVICE_CATEGORY_EARPIECE"
|
||||
ref="DEFAULT_SYSTEM_VOLUME_CURVE"/>
|
||||
|
@ -198,12 +198,12 @@ volume index from 0 to 100.
|
|||
<point>100,-1800</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_DTMF" deviceCategory="DEVICE_CATEGORY_SPEAKER">
|
||||
<point>1,-6600</point>
|
||||
<point>13,-6220</point>
|
||||
<point>28,-5500</point>
|
||||
<point>42,-4600</point>
|
||||
<point>57,-4250</point>
|
||||
<point>100,-2780</point>
|
||||
<point>1,-5700</point>
|
||||
<point>29,-4230</point>
|
||||
<point>43,-3300</point>
|
||||
<point>57,-3100</point>
|
||||
<point>71,-2500</point>
|
||||
<point>100,-1400</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_DTMF" deviceCategory="DEVICE_CATEGORY_EARPIECE"
|
||||
ref="DEFAULT_SYSTEM_VOLUME_CURVE"/>
|
||||
|
|
|
@ -116,6 +116,9 @@
|
|||
<ctl name="R Fast Use Case Switch Enable" value="0" />
|
||||
<ctl name="R Fast Use Case Delta File" value="fast_switch5.txt" />
|
||||
|
||||
<!-- HAC Max Amp switch init -->
|
||||
<ctl name="HAC AMP EN" value="0" />
|
||||
|
||||
<!-- default EP volume -->
|
||||
<ctl name="PCM Playback Switch" value="1" />
|
||||
<ctl name="PCM Playback Volume" value="10" />
|
||||
|
@ -233,6 +236,7 @@
|
|||
<ctl name="EP6 TX Mixer INCALL_TX" value="0" />
|
||||
<ctl name="NoHost1 TX Mixer INCALL_TX" value="0" />
|
||||
|
||||
<ctl name="EP5 TX Mixer INTERNAL_MIC_US_TX" value="0" />
|
||||
<ctl name="EP4 TX Mixer I2S_2_TX" value="0" />
|
||||
|
||||
<!-- AoC Mic setting -->
|
||||
|
@ -241,7 +245,7 @@
|
|||
<ctl name="MIC Record Soft Gain (dB)" value="-40" />
|
||||
|
||||
<!-- USB setting v2 -->
|
||||
<ctl name="USB Bus ID v2" value="2" />
|
||||
<ctl name="USB Bus ID v2" value="1" />
|
||||
<ctl name="USB Dev ID v2" value="2" />
|
||||
<ctl name="USB Playback EP ID v2" value="1" />
|
||||
<ctl name="USB Playback FORMAT v2" value="0" />
|
||||
|
@ -256,10 +260,14 @@
|
|||
|
||||
<ctl name="AoC Modem Downlink ASRC Mode" value="ASP_ON" />
|
||||
<ctl name="Voice Call Mic Source" value="Builtin_MIC" />
|
||||
<ctl name="Mic Spatial Module Enable" value="0" />
|
||||
<ctl name="Audio Capture Eraser Enable" value="0" />
|
||||
<ctl name="Hotword Tap Enable" value="0" />
|
||||
|
||||
<!-- In AIDL Hal, this controlled by audio hal directly to avoid aoc" -->
|
||||
<!-- crashing since speicifc order is needed between dsp mode and" -->
|
||||
<!-- spatial module." -->
|
||||
<ctl name="Mic Spatial Module Enable" value="0" />
|
||||
|
||||
<!-- audio PDM mic default state -->
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="-1" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="-1" />
|
||||
|
@ -267,6 +275,12 @@
|
|||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
|
||||
<ctl name="Audio Capture Mic Source" value="Builtin_MIC" />
|
||||
|
||||
<!-- audio Ultrasound mic default state -->
|
||||
<ctl name="BUILDIN US MIC ID CAPTURE LIST" id="0" value="-1" />
|
||||
<ctl name="BUILDIN US MIC ID CAPTURE LIST" id="1" value="-1" />
|
||||
<ctl name="BUILDIN US MIC ID CAPTURE LIST" id="2" value="-1" />
|
||||
<ctl name="BUILDIN US MIC ID CAPTURE LIST" id="3" value="-1" />
|
||||
|
||||
<!-- sidetone controls -->
|
||||
<ctl name="Sidetone Enable" value="0" />
|
||||
<ctl name="Sidetone Volume" value="-96" />
|
||||
|
@ -317,7 +331,6 @@
|
|||
<ctl name="Decoder Reference Enable" value="0" />
|
||||
<ctl name="LVM Enable" value="0" />
|
||||
|
||||
<ctl name="AoC Chirp Enable" value="0" />
|
||||
<!-- sidetone dynamic control -->
|
||||
<path name="sidetone-for handset">
|
||||
<!-- 1065353216 = 0x3f800000 = 1.0 -->
|
||||
|
@ -425,6 +438,10 @@
|
|||
<path name="primary-playback-0 -> usb" />
|
||||
</path>
|
||||
|
||||
<path name="primary-playback-0 -> hdmi-device">
|
||||
<path name="primary-playback-0 -> usb" />
|
||||
</path>
|
||||
|
||||
<path name="raw-playback -> speaker">
|
||||
<ctl name="TDM_0_RX Mixer RAW" value="1" />
|
||||
</path>
|
||||
|
@ -493,6 +510,10 @@
|
|||
<path name="raw-playback-0 -> usb" />
|
||||
</path>
|
||||
|
||||
<path name="raw-playback-0 -> hdmi-device">
|
||||
<path name="raw-playback-0 -> usb" />
|
||||
</path>
|
||||
|
||||
<path name="deep-buffer-playback -> speaker">
|
||||
<ctl name="TDM_0_RX Mixer EP6" value="1" />
|
||||
</path>
|
||||
|
@ -561,6 +582,10 @@
|
|||
<path name="deep-buffer-playback-0 -> usb" />
|
||||
</path>
|
||||
|
||||
<path name="deep-buffer-playback-0 -> hdmi-device">
|
||||
<path name="deep-buffer-playback-0 -> usb" />
|
||||
</path>
|
||||
|
||||
<path name="compress-offload-playback">
|
||||
<ctl name="LVM Enable" value="1" />
|
||||
</path>
|
||||
|
@ -634,6 +659,10 @@
|
|||
<path name="compress-offload-playback-0 -> usb" />
|
||||
</path>
|
||||
|
||||
<path name="compress-offload-playback-0 -> hdmi-device">
|
||||
<path name="compress-offload-playback-0 -> usb" />
|
||||
</path>
|
||||
|
||||
<path name="mmap-playback -> speaker">
|
||||
<ctl name="TDM_0_RX Mixer EP1" value="1" />
|
||||
</path>
|
||||
|
@ -702,6 +731,10 @@
|
|||
<path name="mmap-playback-0 -> usb" />
|
||||
</path>
|
||||
|
||||
<path name="mmap-playback-0 -> hdmi-device">
|
||||
<path name="mmap-playback-0 -> usb" />
|
||||
</path>
|
||||
|
||||
<path name="hifi-playback-0 -> usb">
|
||||
<ctl name="USB_RX Mixer HIFI" value="1" />
|
||||
</path>
|
||||
|
@ -782,6 +815,10 @@
|
|||
<path name="voip-playback-0 -> usb" />
|
||||
</path>
|
||||
|
||||
<path name="voip-playback-0 -> hdmi-device">
|
||||
<path name="voip-playback-0 -> usb" />
|
||||
</path>
|
||||
|
||||
<path name="immersive-playback -> speaker">
|
||||
<ctl name="TDM_0_RX Mixer IMSV" value="1" />
|
||||
</path>
|
||||
|
@ -818,6 +855,14 @@
|
|||
<path name="immersive-playback -> bt" />
|
||||
</path>
|
||||
|
||||
<path name="immersive-playback-0 -> bluetooth-low-energy-headset">
|
||||
<path name="immersive-playback -> bt" />
|
||||
</path>
|
||||
|
||||
<path name="immersive-playback-0 -> bluetooth-low-energy-speaker">
|
||||
<path name="immersive-playback -> bt" />
|
||||
</path>
|
||||
|
||||
<path name="immersive-playback-0 -> usb">
|
||||
<ctl name="USB_RX Mixer IMSV" value="1" />
|
||||
</path>
|
||||
|
@ -830,6 +875,58 @@
|
|||
<path name="immersive-playback-0 -> usb" />
|
||||
</path>
|
||||
|
||||
<path name="spatializer-offload-playback -> speaker">
|
||||
<ctl name="TDM_0_RX Mixer EP4" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="spatializer-offload-playback-0 -> speaker">
|
||||
<path name="spatializer-offload-playback -> speaker" />
|
||||
</path>
|
||||
|
||||
<path name="spatializer-offload-playback-0 -> speaker-earpiece">
|
||||
<path name="spatializer-offload-playback -> speaker" />
|
||||
</path>
|
||||
|
||||
<path name="spatializer-offload-playback-0 -> speaker-safe">
|
||||
<path name="spatializer-offload-playback -> speaker" />
|
||||
</path>
|
||||
|
||||
<path name="spatializer-offload-playback -> bt">
|
||||
<ctl name="BT_RX Mixer EP4" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="spatializer-offload-playback-0 -> bluetooth-a2dp-device">
|
||||
<path name="spatializer-offload-playback -> bt" />
|
||||
</path>
|
||||
|
||||
<path name="spatializer-offload-playback-0 -> bluetooth-a2dp-headphone">
|
||||
<path name="spatializer-offload-playback -> bt" />
|
||||
</path>
|
||||
|
||||
<path name="spatializer-offload-playback-0 -> bluetooth-a2dp-speaker">
|
||||
<path name="spatializer-offload-playback -> bt" />
|
||||
</path>
|
||||
|
||||
<path name="spatializer-offload-playback-0 -> bluetooth-low-energy-headset">
|
||||
<path name="spatializer-offload-playback -> bt" />
|
||||
</path>
|
||||
|
||||
<path name="spatializer-offload-playback-0 -> bluetooth-low-energy-speaker">
|
||||
<path name="spatializer-offload-playback -> bt" />
|
||||
</path>
|
||||
|
||||
<path name="spatializer-offload-playback-0 -> usb">
|
||||
<ctl name="USB_RX Mixer EP4" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="spatializer-offload-playback-0 -> usb-headset">
|
||||
<path name="spatializer-offload-playback-0 -> usb" />
|
||||
</path>
|
||||
|
||||
<path name="spatializer-offload-playback-0 -> usb-device">
|
||||
<path name="spatializer-offload-playback-0 -> usb" />
|
||||
</path>
|
||||
|
||||
<path name="haptic-playback -> speaker">
|
||||
<ctl name="TDM_0_RX Mixer EP3" value="1" />
|
||||
<ctl name="TDM_0_RX Mixer EP8" value="1" />
|
||||
|
@ -901,6 +998,10 @@
|
|||
<path name="haptic-playback-0 -> usb" />
|
||||
</path>
|
||||
|
||||
<path name="haptic-playback-0 -> hdmi-device">
|
||||
<path name="haptic-playback-0 -> usb" />
|
||||
</path>
|
||||
|
||||
<!-- audio capture dynamic route -->
|
||||
<path name="microphones -> primary-capture-0">
|
||||
<ctl name="EP1 TX Mixer INTERNAL_MIC_TX" value="1" />
|
||||
|
@ -986,13 +1087,42 @@
|
|||
<ctl name="EP3 TX Mixer BT_TX" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="microphones -> sound-trigger-capture-0">
|
||||
<path name="microphones -> sound-trigger-capture-0" />
|
||||
|
||||
<path name="microphones -> sound-trigger-tap-capture-0" />
|
||||
|
||||
<path name="microphones -> hotword-lookback-capture-0" />
|
||||
|
||||
<path name="ultrasound-microphones -> ultrasound-capture-0">
|
||||
<ctl name="EP5 TX Mixer INTERNAL_MIC_US_TX" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="microphones -> sound-trigger-tap-capture-0">
|
||||
<path name="microphones -> mmap-capture-0">
|
||||
<ctl name="EP2 TX Mixer INTERNAL_MIC_TX" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="microphones -> hotword-lookback-capture-0">
|
||||
<path name="back-microphones -> mmap-capture-0">
|
||||
<path name="microphones -> mmap-capture-0" />
|
||||
</path>
|
||||
|
||||
<path name="usb-microphones -> mmap-capture-0">
|
||||
<ctl name="EP2 TX Mixer USB_TX" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="usb-headset-microphones -> mmap-capture-0">
|
||||
<path name="usb-microphones -> mmap-capture-0" />
|
||||
</path>
|
||||
|
||||
<path name="usb-device-microphones -> mmap-capture-0">
|
||||
<path name="usb-microphones -> mmap-capture-0" />
|
||||
</path>
|
||||
|
||||
<path name="bluetooth-sco-headset-microphones -> mmap-capture-0">
|
||||
<ctl name="EP2 TX Mixer BT_TX" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="bluetooth-low-energy-headset-microphones -> mmap-capture-0">
|
||||
<ctl name="EP2 TX Mixer BT_TX" value="1" />
|
||||
</path>
|
||||
|
||||
<!-- voice-call dynamic route -->
|
||||
|
@ -1092,6 +1222,10 @@
|
|||
<ctl name="Incall Capture Stream0" value="UL_DL" />
|
||||
</path>
|
||||
|
||||
<path name="telephony-rx -> in-call-capture-0">
|
||||
<ctl name="Incall Capture Stream0" value="DL" />
|
||||
</path>
|
||||
|
||||
<path name="telephony-rx (VOICE_DOWNLINK) -> in-call-capture-1">
|
||||
<ctl name="Incall Capture Stream1" value="DL" />
|
||||
</path>
|
||||
|
@ -1104,6 +1238,10 @@
|
|||
<ctl name="Incall Capture Stream1" value="UL_DL" />
|
||||
</path>
|
||||
|
||||
<path name="telephony-rx -> in-call-capture-1">
|
||||
<ctl name="Incall Capture Stream1" value="DL" />
|
||||
</path>
|
||||
|
||||
<path name="telephony-rx (VOICE_DOWNLINK) -> in-call-capture-2">
|
||||
<ctl name="Incall Capture Stream2" value="DL" />
|
||||
</path>
|
||||
|
@ -1116,28 +1254,8 @@
|
|||
<ctl name="Incall Capture Stream2" value="UL_DL" />
|
||||
</path>
|
||||
|
||||
<path name="microphones -> mmap-capture-0">
|
||||
<ctl name="EP2 TX Mixer INTERNAL_MIC_TX" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="usb-microphones -> mmap-capture-0">
|
||||
<ctl name="EP2 TX Mixer USB_TX" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="usb-headset-microphones -> mmap-capture-0">
|
||||
<path name="usb-microphones -> mmap-capture-0" />
|
||||
</path>
|
||||
|
||||
<path name="usb-device-microphones -> mmap-capture-0">
|
||||
<path name="usb-microphones -> mmap-capture-0" />
|
||||
</path>
|
||||
|
||||
<path name="bluetooth-sco-headset-microphones -> mmap-capture-0">
|
||||
<ctl name="EP2 TX Mixer BT_TX" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="bluetooth-low-energy-headset-microphones -> mmap-capture-0">
|
||||
<ctl name="EP2 TX Mixer BT_TX" value="1" />
|
||||
<path name="telephony-rx -> in-call-capture-2">
|
||||
<ctl name="Incall Capture Stream2" value="DL" />
|
||||
</path>
|
||||
|
||||
<!-- codec setting -->
|
||||
|
@ -1152,7 +1270,13 @@
|
|||
<ctl name="PCM Source" value="ASP" />
|
||||
<ctl name="AMP PCM Gain" value="7" />
|
||||
<ctl name="Main AMP Enable Switch" value="1" />
|
||||
<ctl name="AoC Chirp Enable" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="speaker-earpiece (VOICE,HAC)">
|
||||
<ctl name="PCM Source" value="ASP" />
|
||||
<ctl name="AMP PCM Gain" value="10" />
|
||||
<ctl name="Main AMP Enable Switch" value="1" />
|
||||
<ctl name="HAC AMP EN" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="speaker">
|
||||
|
@ -1167,7 +1291,6 @@
|
|||
<path name="speaker (VOICE)">
|
||||
<ctl name="ASPTX1 Slot Position" value="1" />
|
||||
<ctl name="R ASPTX1 Slot Position" value="0" />
|
||||
<!--<ctl name="R DSP RX2 Source" value="ASPRX2" />-->
|
||||
<ctl name="R Main AMP Enable Switch" value="1" />
|
||||
<ctl name="Main AMP Enable Switch" value="1" />
|
||||
<!-- load Enable FIR -->
|
||||
|
@ -1185,30 +1308,28 @@
|
|||
</path>
|
||||
|
||||
<!-- Tx device -->
|
||||
<path name="microphones">
|
||||
<path name="builtin-mic-id-capture-list">
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="3" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="1" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
|
||||
</path>
|
||||
|
||||
<path name="microphones">
|
||||
<path name="builtin-mic-id-capture-list" />
|
||||
<ctl name="MIC DC Blocker" value="1" />
|
||||
<ctl name="MIC Record Soft Gain (dB)" value="22" />
|
||||
</path>
|
||||
|
||||
<path name="microphones (VOICE)">
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="3" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
|
||||
<path name="builtin-mic-id-capture-list" />
|
||||
<ctl name="MIC DC Blocker" value="1" />
|
||||
<ctl name="MIC HW Gain At High Power Mode (cB)" value="130" />
|
||||
<ctl name="MIC Record Soft Gain (dB)" value="0" />
|
||||
</path>
|
||||
|
||||
<path name="microphones (VOICE_RECOGNITION)">
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="3" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
|
||||
<path name="builtin-mic-id-capture-list" />
|
||||
<ctl name="MIC DC Blocker" value="1" />
|
||||
<ctl name="MIC Record Soft Gain (dB)" value="22" />
|
||||
</path>
|
||||
|
@ -1220,91 +1341,50 @@
|
|||
</path>
|
||||
|
||||
<path name="microphones (SOUND_TRIGGER_AEC)">
|
||||
<ctl name="Audio Capture Eraser Enable" value="1" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="3" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
|
||||
<path name="builtin-mic-id-capture-list" />
|
||||
<ctl name="MIC DC Blocker" value="1" />
|
||||
<ctl name="Audio Capture Eraser Enable" value="1" />
|
||||
<ctl name="Audio Capture Mic Source" value="ERASER" />
|
||||
<ctl name="MIC Record Soft Gain (dB)" value="0" />
|
||||
</path>
|
||||
|
||||
<path name="back-microphones">
|
||||
<ctl name="Mic Spatial Module Enable" value="1" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="3" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
|
||||
<path name="microphones (CAMCORDER)">
|
||||
<path name="builtin-mic-id-capture-list" />
|
||||
<ctl name="MIC DC Blocker" value="1" />
|
||||
<ctl name="MIC Record Soft Gain (dB)" value="22" />
|
||||
<ctl name="MIC Record Soft Gain (dB)" value="0" />
|
||||
</path>
|
||||
|
||||
<path name="microphones (UNPROCESSED)">
|
||||
<path name="builtin-mic-id-capture-list" />
|
||||
<ctl name="MIC DC Blocker" value="1" />
|
||||
<ctl name="MIC Record Soft Gain (dB)" value="5" />
|
||||
</path>
|
||||
|
||||
<path name="back-microphones">
|
||||
<path name="microphones" />
|
||||
</path>
|
||||
|
||||
<path name="back-microphones (VOICE)">
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="3" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
|
||||
<ctl name="MIC DC Blocker" value="1" />
|
||||
<ctl name="MIC HW Gain At High Power Mode (cB)" value="130" />
|
||||
<ctl name="MIC Record Soft Gain (dB)" value="0" />
|
||||
</path>
|
||||
|
||||
<path name="microphones (CAMCORDER)">
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="3" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
|
||||
<ctl name="MIC DC Blocker" value="1" />
|
||||
<ctl name="MIC Record Soft Gain (dB)" value="0" />
|
||||
<path name="microphones (VOICE)" />
|
||||
</path>
|
||||
|
||||
<path name="back-microphones (CAMCORDER)">
|
||||
<path name="microphones (CAMCORDER)" />
|
||||
</path>
|
||||
|
||||
<path name="camcorder-mic">
|
||||
<ctl name="Mic Spatial Module Enable" value="1" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="3" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
|
||||
<ctl name="MIC DC Blocker" value="1" />
|
||||
<ctl name="MIC Record Soft Gain (dB)" value="0" />
|
||||
<path name="back-microphones (UNPROCESSED)">
|
||||
<path name="microphones (UNPROCESSED)" />
|
||||
</path>
|
||||
|
||||
<path name="unprocessed-mic">
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="3" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
|
||||
<ctl name="MIC DC Blocker" value="1" />
|
||||
<ctl name="MIC Record Soft Gain (dB)" value="5" />
|
||||
</path>
|
||||
|
||||
<path name="unprocessed-dual-mic">
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="3" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
|
||||
<ctl name="MIC DC Blocker" value="1" />
|
||||
<ctl name="MIC Record Soft Gain (dB)" value="5" />
|
||||
</path>
|
||||
|
||||
<path name="unprocessed-triple-mic">
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="3" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
|
||||
<ctl name="MIC DC Blocker" value="1" />
|
||||
<ctl name="MIC Record Soft Gain (dB)" value="5" />
|
||||
<path name="ultrasound-microphones">
|
||||
<ctl name="BUILDIN US MIC ID CAPTURE LIST" id="0" value="0" />
|
||||
<ctl name="BUILDIN US MIC ID CAPTURE LIST" id="1" value="1" />
|
||||
<ctl name="BUILDIN US MIC ID CAPTURE LIST" id="2" value="-1" />
|
||||
<ctl name="BUILDIN US MIC ID CAPTURE LIST" id="3" value="-1" />
|
||||
</path>
|
||||
|
||||
<path name="bluetooth-sco-headset-microphones">
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="3" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
|
||||
<path name="builtin-mic-id-capture-list" />
|
||||
<ctl name="Audio Capture Mic Source" value="BT_MIC" />
|
||||
<ctl name="Voice Call Mic Source" value="BT_MIC" />
|
||||
<ctl name="MIC Record Soft Gain (dB)" value="0" />
|
||||
|
@ -1315,10 +1395,7 @@
|
|||
</path>
|
||||
|
||||
<path name="usb-headset-microphones">
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="3" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
|
||||
<path name="builtin-mic-id-capture-list" />
|
||||
<ctl name="Audio Capture Mic Source" value="USB_MIC" />
|
||||
<ctl name="Voice Call Mic Source" value="USB_MIC" />
|
||||
<ctl name="MIC Record Soft Gain (dB)" value="0" />
|
||||
|
@ -1396,8 +1473,8 @@
|
|||
</path>
|
||||
|
||||
<path name="adapted-voice-earpiece">
|
||||
<ctl name="Boost Peak Current Limit" value="3.50A" />
|
||||
<ctl name="Digital PCM Volume" value="817" />
|
||||
<ctl name="Boost Peak Current Limit" value="3.50A" />
|
||||
<ctl name="Digital PCM Volume" value="817" />
|
||||
</path>
|
||||
<path name="adapted-voice-earpiece-battery-throttled">
|
||||
<path name="adapted-voice-earpiece" />
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
AUDIO_TABLE_FOLDER := caiman
|
||||
|
||||
# Choose AIDL config by build flag.
|
||||
ifeq ($(RELEASE_PIXEL_AIDL_AUDIO_HAL),true)
|
||||
ifeq ($(USE_AUDIO_HAL_AIDL),true)
|
||||
PRODUCT_SOONG_NAMESPACES += device/google/caimito/audio/$(AUDIO_TABLE_FOLDER)/aidl_config
|
||||
PRODUCT_PACKAGES += audio_aidl_configs
|
||||
|
||||
|
@ -28,6 +28,7 @@ PRODUCT_COPY_FILES += \
|
|||
device/google/caimito/audio/$(AUDIO_TABLE_FOLDER)/config/audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration.xml \
|
||||
device/google/caimito/audio/$(AUDIO_TABLE_FOLDER)/config/audio_policy_configuration_le_offload_disabled.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration_le_offload_disabled.xml \
|
||||
device/google/caimito/audio/$(AUDIO_TABLE_FOLDER)/config/audio_policy_configuration_a2dp_offload_disabled.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration_a2dp_offload_disabled.xml \
|
||||
device/google/caimito/audio/$(AUDIO_TABLE_FOLDER)/config/audio_policy_volumes.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_volumes.xml \
|
||||
device/google/caimito/audio/$(AUDIO_TABLE_FOLDER)/config/audio_platform_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_platform_configuration.xml \
|
||||
device/google/caimito/audio/$(AUDIO_TABLE_FOLDER)/config/sound_trigger_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sound_trigger_configuration.xml \
|
||||
device/google/caimito/audio/$(AUDIO_TABLE_FOLDER)/config/bluetooth_with_le_audio_policy_configuration_7_0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_audio_policy_configuration_7_0.xml
|
||||
|
@ -51,6 +52,7 @@ PRODUCT_COPY_FILES += $(call copy-files,$(wildcard $(SPK_FIRMWARE_FULL_PATH)/*)
|
|||
PRODUCT_SOONG_NAMESPACES += device/google/caimito/audio/$(AUDIO_TABLE_FOLDER)/tuning
|
||||
PRODUCT_PACKAGES += \
|
||||
recording.gatf \
|
||||
smartfeature.gstf \
|
||||
BLUETOOTH.dat \
|
||||
HANDSFREE.dat \
|
||||
HANDSET.dat \
|
||||
|
|
|
@ -249,7 +249,7 @@
|
|||
|
||||
<features>
|
||||
<feature name="BatteryThrottle=Type:BCL_VOLTAGE,Name:BCL_AUDIO_BAACL,Strategy:MediaSpeakerAndScreenOn"/>
|
||||
<feature name="PlaybackThermalThrottle=PollWaitMs:20000,ThermistorName:VIRTUAL-SKIN-SPEAKER,ThermistorType:UNKNOWN,ThrottlingSeverity:LIGHT"/>
|
||||
<feature name="PlaybackThermalThrottle=PollWaitMs:20000,ThermistorName:VIRTUAL-SKIN-SPEAKER,ThermistorType:UNKNOWN,ThrottlingSeverity:LIGHT,SpeakerPowerPollWaitMs:5000"/>
|
||||
</features>
|
||||
|
||||
<cfg_attr>
|
||||
|
@ -300,13 +300,14 @@
|
|||
<device_handle>
|
||||
<handler libname="audio_bt_aoc.so"/>
|
||||
<handler libname="audio_usb_aoc.so" argu="MaxSamplingRate=96000,UnsupportedFormat=S24_LE"/>
|
||||
<handler libname="audio_hdmi_aoc.so"/>
|
||||
</device_handle>
|
||||
|
||||
<external_module>
|
||||
<module libname="audio_spk_35l41.so" argu="AcousticShockProtection"/>
|
||||
<module libname="audio_waves_aoc.so" argu="Sink=SPK:1 ThermistorsName=VIRTUAL-SKIN-SPEAKER Extensions=StereoSpatializerIndicator"/>
|
||||
<module libname="audio_cca_aoc.so" argu="UnsupportBands=48000 ExSharedBands=48000 VoIPMode=Dl"/>
|
||||
<module libname="audio_fortemedia_aoc.so" argu="MCPS_TABLE=y DL_CH=y VoIP_DLCHs=SPK:2,USB:2 VoIP_Rate=32000 SHARED_MODULE=1130578253"/>
|
||||
<module libname="audio_cca_aoc.so" argu="UnsupportBands=48000 ExSharedBands=48000 VoIPMode=Dl SupportBWE=y"/>
|
||||
<module libname="audio_fortemedia_aoc.so" argu="APPLY_WB_TUNING_FOR_NB_VOICE=y MCPS_TABLE=y DL_CH=y VoIP_DLCHs=SPK:2,USB:2,BT:2 VoIP_Rate=32000 SHARED_MODULE=1130578253"/>
|
||||
<module libname="audio_sounddose_aoc.so"/>
|
||||
<module libname="liboffloadeffect.so"/>
|
||||
<module libname="audio_amcs_ext.so"/>
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</mixPort>
|
||||
<mixPort name="compressed_offload" role="source"
|
||||
flags="AUDIO_OUTPUT_FLAG_DIRECT AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD AUDIO_OUTPUT_FLAG_NON_BLOCKING">
|
||||
flags="AUDIO_OUTPUT_FLAG_DIRECT AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD AUDIO_OUTPUT_FLAG_NON_BLOCKING AUDIO_OUTPUT_FLAG_GAPLESS_OFFLOAD">
|
||||
<profile name="" format="AUDIO_FORMAT_MP3"
|
||||
samplingRates="8000 16000 24000 32000 44100 48000"
|
||||
channelMasks="AUDIO_CHANNEL_OUT_STEREO AUDIO_CHANNEL_OUT_MONO"/>
|
||||
|
@ -93,7 +93,7 @@
|
|||
samplingRates="8000 11025 12000 16000 22050 24000 32000 44100 48000"
|
||||
channelMasks="AUDIO_CHANNEL_IN_MONO AUDIO_CHANNEL_IN_STEREO"/>
|
||||
</mixPort>
|
||||
<mixPort name="incall capture" role="sink">
|
||||
<mixPort name="incall capture" role="sink" maxActiveCount="2" maxOpenCount="2">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="48000"
|
||||
channelMasks="AUDIO_CHANNEL_IN_MONO"/>
|
||||
|
@ -148,7 +148,7 @@
|
|||
</devicePort>
|
||||
<devicePort tagName="USB Headset Out" type="AUDIO_DEVICE_OUT_USB_HEADSET" role="sink">
|
||||
</devicePort>
|
||||
<devicePort tagName="Aux Digital" type="AUDIO_DEVICE_OUT_AUX_DIGITAL" role="sink">
|
||||
<devicePort tagName="HDMI Out" type="AUDIO_DEVICE_OUT_HDMI" role="sink">
|
||||
</devicePort>
|
||||
<devicePort tagName="Telephony Tx" type="AUDIO_DEVICE_OUT_TELEPHONY_TX" role="sink">
|
||||
</devicePort>
|
||||
|
@ -227,6 +227,8 @@
|
|||
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,hifi_playback,compressed_offload,immersive_out"/>
|
||||
<route type="mix" sink="USB Headset Out"
|
||||
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,hifi_playback,compressed_offload,immersive_out"/>
|
||||
<route type="mix" sink="HDMI Out"
|
||||
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,compressed_offload"/>
|
||||
<route type="mix" sink="BT SCO"
|
||||
sources="primary output,deep buffer,haptic,voip_rx,compressed_offload,raw,mmap_no_irq_out"/>
|
||||
<route type="mix" sink="BT SCO Headset"
|
||||
|
|
|
@ -93,7 +93,7 @@
|
|||
samplingRates="8000 11025 12000 16000 22050 24000 32000 44100 48000"
|
||||
channelMasks="AUDIO_CHANNEL_IN_MONO AUDIO_CHANNEL_IN_STEREO"/>
|
||||
</mixPort>
|
||||
<mixPort name="incall capture" role="sink">
|
||||
<mixPort name="incall capture" role="sink" maxActiveCount="2" maxOpenCount="2">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="48000"
|
||||
channelMasks="AUDIO_CHANNEL_IN_MONO"/>
|
||||
|
@ -148,7 +148,7 @@
|
|||
</devicePort>
|
||||
<devicePort tagName="USB Headset Out" type="AUDIO_DEVICE_OUT_USB_HEADSET" role="sink">
|
||||
</devicePort>
|
||||
<devicePort tagName="Aux Digital" type="AUDIO_DEVICE_OUT_AUX_DIGITAL" role="sink">
|
||||
<devicePort tagName="HDMI Out" type="AUDIO_DEVICE_OUT_HDMI" role="sink">
|
||||
</devicePort>
|
||||
<devicePort tagName="Telephony Tx" type="AUDIO_DEVICE_OUT_TELEPHONY_TX" role="sink">
|
||||
</devicePort>
|
||||
|
@ -183,6 +183,8 @@
|
|||
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,hifi_playback,compressed_offload,immersive_out"/>
|
||||
<route type="mix" sink="USB Headset Out"
|
||||
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,hifi_playback,compressed_offload,immersive_out"/>
|
||||
<route type="mix" sink="HDMI Out"
|
||||
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,compressed_offload"/>
|
||||
<route type="mix" sink="BT SCO"
|
||||
sources="primary output,deep buffer,haptic,voip_rx,compressed_offload,raw,mmap_no_irq_out"/>
|
||||
<route type="mix" sink="BT SCO Headset"
|
||||
|
|
|
@ -89,7 +89,7 @@
|
|||
samplingRates="8000 11025 12000 16000 22050 24000 32000 44100 48000"
|
||||
channelMasks="AUDIO_CHANNEL_IN_MONO AUDIO_CHANNEL_IN_STEREO"/>
|
||||
</mixPort>
|
||||
<mixPort name="incall capture" role="sink">
|
||||
<mixPort name="incall capture" role="sink" maxActiveCount="2" maxOpenCount="2">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="48000"
|
||||
channelMasks="AUDIO_CHANNEL_IN_MONO"/>
|
||||
|
@ -144,7 +144,7 @@
|
|||
</devicePort>
|
||||
<devicePort tagName="USB Headset Out" type="AUDIO_DEVICE_OUT_USB_HEADSET" role="sink">
|
||||
</devicePort>
|
||||
<devicePort tagName="Aux Digital" type="AUDIO_DEVICE_OUT_AUX_DIGITAL" role="sink">
|
||||
<devicePort tagName="HDMI Out" type="AUDIO_DEVICE_OUT_HDMI" role="sink">
|
||||
</devicePort>
|
||||
<devicePort tagName="Telephony Tx" type="AUDIO_DEVICE_OUT_TELEPHONY_TX" role="sink">
|
||||
</devicePort>
|
||||
|
@ -179,6 +179,8 @@
|
|||
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,hifi_playback"/>
|
||||
<route type="mix" sink="USB Headset Out"
|
||||
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,hifi_playback"/>
|
||||
<route type="mix" sink="HDMI Out"
|
||||
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx"/>
|
||||
<route type="mix" sink="BT SCO"
|
||||
sources="primary output,deep buffer,haptic,voip_rx,raw,mmap_no_irq_out"/>
|
||||
<route type="mix" sink="BT SCO Headset"
|
||||
|
|
|
@ -93,7 +93,7 @@
|
|||
samplingRates="8000 11025 12000 16000 22050 24000 32000 44100 48000"
|
||||
channelMasks="AUDIO_CHANNEL_IN_MONO AUDIO_CHANNEL_IN_STEREO"/>
|
||||
</mixPort>
|
||||
<mixPort name="incall capture" role="sink">
|
||||
<mixPort name="incall capture" role="sink" maxActiveCount="2" maxOpenCount="2">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="48000"
|
||||
channelMasks="AUDIO_CHANNEL_IN_MONO"/>
|
||||
|
@ -148,7 +148,7 @@
|
|||
</devicePort>
|
||||
<devicePort tagName="USB Headset Out" type="AUDIO_DEVICE_OUT_USB_HEADSET" role="sink">
|
||||
</devicePort>
|
||||
<devicePort tagName="Aux Digital" type="AUDIO_DEVICE_OUT_AUX_DIGITAL" role="sink">
|
||||
<devicePort tagName="HDMI Out" type="AUDIO_DEVICE_OUT_HDMI" role="sink">
|
||||
</devicePort>
|
||||
<devicePort tagName="Telephony Tx" type="AUDIO_DEVICE_OUT_TELEPHONY_TX" role="sink">
|
||||
</devicePort>
|
||||
|
@ -204,6 +204,8 @@
|
|||
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,hifi_playback,compressed_offload,immersive_out"/>
|
||||
<route type="mix" sink="USB Headset Out"
|
||||
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,hifi_playback,compressed_offload,immersive_out"/>
|
||||
<route type="mix" sink="HDMI Out"
|
||||
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,compressed_offload"/>
|
||||
<route type="mix" sink="BT SCO"
|
||||
sources="primary output,deep buffer,haptic,voip_rx,compressed_offload,raw,mmap_no_irq_out"/>
|
||||
<route type="mix" sink="BT SCO Headset"
|
||||
|
|
265
audio/caiman/config/audio_policy_volumes.xml
Normal file
265
audio/caiman/config/audio_policy_volumes.xml
Normal file
|
@ -0,0 +1,265 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Copyright (C) 2015 The Android Open Source Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
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.
|
||||
-->
|
||||
<!-- Volume section defines a volume curve for a given use case and device category.
|
||||
It contains a list of points of this curve expressing the attenuation in Millibels for a given
|
||||
volume index from 0 to 100.
|
||||
<volume stream=”AUDIO_STREAM_MUSIC” deviceCategory=””>
|
||||
<point>0,-9600</point>
|
||||
<point>100,0</point>
|
||||
</volume>
|
||||
-->
|
||||
|
||||
<volumes>
|
||||
<volume stream="AUDIO_STREAM_VOICE_CALL" deviceCategory="DEVICE_CATEGORY_HEADSET">
|
||||
<point>0,-4200</point>
|
||||
<point>33,-2800</point>
|
||||
<point>66,-1400</point>
|
||||
<point>100,0</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_VOICE_CALL" deviceCategory="DEVICE_CATEGORY_SPEAKER">
|
||||
<point>0,-2400</point>
|
||||
<point>33,-1600</point>
|
||||
<point>66,-800</point>
|
||||
<point>100,0</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_VOICE_CALL" deviceCategory="DEVICE_CATEGORY_EARPIECE">
|
||||
<point>0,-2400</point>
|
||||
<point>33,-1600</point>
|
||||
<point>66,-800</point>
|
||||
<point>100,0</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_VOICE_CALL" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
|
||||
ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_VOICE_CALL" deviceCategory="DEVICE_CATEGORY_HEARING_AID"
|
||||
ref="DEFAULT_NON_MUTABLE_HEARING_AID_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_SYSTEM" deviceCategory="DEVICE_CATEGORY_HEADSET">
|
||||
<point>1,-3000</point>
|
||||
<point>33,-2600</point>
|
||||
<point>66,-2200</point>
|
||||
<point>100,-1800</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_SYSTEM" deviceCategory="DEVICE_CATEGORY_SPEAKER">
|
||||
<point>1,-4500</point>
|
||||
<point>29,-3400</point>
|
||||
<point>57,-2250</point>
|
||||
<point>71,-1900</point>
|
||||
<point>86,-1530</point>
|
||||
<point>100,-1100</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_SYSTEM" deviceCategory="DEVICE_CATEGORY_EARPIECE"
|
||||
ref="DEFAULT_SYSTEM_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_SYSTEM" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
|
||||
ref="DEFAULT_DEVICE_CATEGORY_EXT_MEDIA_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_SYSTEM" deviceCategory="DEVICE_CATEGORY_HEARING_AID"
|
||||
ref="DEFAULT_HEARING_AID_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_RING" deviceCategory="DEVICE_CATEGORY_HEADSET"
|
||||
ref="DEFAULT_DEVICE_CATEGORY_HEADSET_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_RING" deviceCategory="DEVICE_CATEGORY_SPEAKER">
|
||||
<point>1,-4000</point>
|
||||
<point>29,-2950</point>
|
||||
<point>43,-2350</point>
|
||||
<point>57,-1850</point>
|
||||
<point>71,-1400</point>
|
||||
<point>86,-700</point>
|
||||
<point>100,0</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_RING" deviceCategory="DEVICE_CATEGORY_EARPIECE"
|
||||
ref="DEFAULT_DEVICE_CATEGORY_EARPIECE_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_RING" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
|
||||
ref="DEFAULT_DEVICE_CATEGORY_EXT_MEDIA_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_RING" deviceCategory="DEVICE_CATEGORY_HEARING_AID"
|
||||
ref="DEFAULT_HEARING_AID_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_MUSIC" deviceCategory="DEVICE_CATEGORY_HEADSET"
|
||||
ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_MUSIC" deviceCategory="DEVICE_CATEGORY_SPEAKER">
|
||||
<point>1,-9000</point>
|
||||
<point>4,-6370</point>
|
||||
<point>8,-6105</point>
|
||||
<point>12,-5810</point>
|
||||
<point>16,-5520</point>
|
||||
<point>20,-5220</point>
|
||||
<point>24,-4870</point>
|
||||
<point>28,-4490</point>
|
||||
<point>32,-4278</point>
|
||||
<point>36,-4027</point>
|
||||
<point>40,-3770</point>
|
||||
<point>44,-3560</point>
|
||||
<point>48,-3300</point>
|
||||
<point>52,-3080</point>
|
||||
<point>56,-2800</point>
|
||||
<point>60,-2620</point>
|
||||
<point>64,-2350</point>
|
||||
<point>68,-2200</point>
|
||||
<point>72,-2100</point>
|
||||
<point>76,-1930</point>
|
||||
<point>80,-1700</point>
|
||||
<point>84,-1460</point>
|
||||
<point>88,-1190</point>
|
||||
<point>92,-850</point>
|
||||
<point>96,-510</point>
|
||||
<point>100,0</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_MUSIC" deviceCategory="DEVICE_CATEGORY_EARPIECE"
|
||||
ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_MUSIC" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
|
||||
ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_MUSIC" deviceCategory="DEVICE_CATEGORY_HEARING_AID"
|
||||
ref="DEFAULT_HEARING_AID_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_ALARM" deviceCategory="DEVICE_CATEGORY_HEADSET"
|
||||
ref="DEFAULT_NON_MUTABLE_HEADSET_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_ALARM" deviceCategory="DEVICE_CATEGORY_SPEAKER">
|
||||
<point>0,-5600</point>
|
||||
<point>29,-3520</point>
|
||||
<point>57,-1500</point>
|
||||
<point>71,-1150</point>
|
||||
<point>86,-500</point>
|
||||
<point>100,0</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_ALARM" deviceCategory="DEVICE_CATEGORY_EARPIECE"
|
||||
ref="DEFAULT_NON_MUTABLE_EARPIECE_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_ALARM" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
|
||||
ref="DEFAULT_NON_MUTABLE_EXT_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_ALARM" deviceCategory="DEVICE_CATEGORY_HEARING_AID"
|
||||
ref="DEFAULT_NON_MUTABLE_HEARING_AID_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_NOTIFICATION" deviceCategory="DEVICE_CATEGORY_HEADSET"
|
||||
ref="DEFAULT_DEVICE_CATEGORY_HEADSET_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_NOTIFICATION" deviceCategory="DEVICE_CATEGORY_SPEAKER">
|
||||
<point>1,-4500</point>
|
||||
<point>29,-3800</point>
|
||||
<point>71,-1850</point>
|
||||
<point>86,-1000</point>
|
||||
<point>100,-500</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_NOTIFICATION" deviceCategory="DEVICE_CATEGORY_EARPIECE"
|
||||
ref="DEFAULT_DEVICE_CATEGORY_EARPIECE_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_NOTIFICATION" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
|
||||
ref="DEFAULT_DEVICE_CATEGORY_EXT_MEDIA_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_NOTIFICATION" deviceCategory="DEVICE_CATEGORY_HEARING_AID"
|
||||
ref="DEFAULT_DEVICE_CATEGORY_HEADSET_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_BLUETOOTH_SCO" deviceCategory="DEVICE_CATEGORY_HEADSET">
|
||||
<point>0,-4200</point>
|
||||
<point>33,-2800</point>
|
||||
<point>66,-1400</point>
|
||||
<point>100,0</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_BLUETOOTH_SCO" deviceCategory="DEVICE_CATEGORY_SPEAKER">
|
||||
<point>0,-2400</point>
|
||||
<point>33,-1600</point>
|
||||
<point>66,-800</point>
|
||||
<point>100,0</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_BLUETOOTH_SCO" deviceCategory="DEVICE_CATEGORY_EARPIECE">
|
||||
<point>0,-4200</point>
|
||||
<point>33,-2800</point>
|
||||
<point>66,-1400</point>
|
||||
<point>100,0</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_BLUETOOTH_SCO" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
|
||||
ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_BLUETOOTH_SCO" deviceCategory="DEVICE_CATEGORY_HEARING_AID"
|
||||
ref="DEFAULT_HEARING_AID_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_ENFORCED_AUDIBLE" deviceCategory="DEVICE_CATEGORY_HEADSET">
|
||||
<point>1,-3000</point>
|
||||
<point>33,-2600</point>
|
||||
<point>66,-2200</point>
|
||||
<point>100,-1800</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_ENFORCED_AUDIBLE" deviceCategory="DEVICE_CATEGORY_SPEAKER">
|
||||
<point>1,-4500</point>
|
||||
<point>29,-3400</point>
|
||||
<point>57,-2250</point>
|
||||
<point>71,-1900</point>
|
||||
<point>86,-1530</point>
|
||||
<point>100,-1100</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_ENFORCED_AUDIBLE" deviceCategory="DEVICE_CATEGORY_EARPIECE"
|
||||
ref="DEFAULT_SYSTEM_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_ENFORCED_AUDIBLE" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
|
||||
ref="DEFAULT_DEVICE_CATEGORY_EXT_MEDIA_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_ENFORCED_AUDIBLE" deviceCategory="DEVICE_CATEGORY_HEARING_AID"
|
||||
ref="DEFAULT_HEARING_AID_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_DTMF" deviceCategory="DEVICE_CATEGORY_HEADSET">
|
||||
<point>1,-3000</point>
|
||||
<point>33,-2600</point>
|
||||
<point>66,-2200</point>
|
||||
<point>100,-1800</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_DTMF" deviceCategory="DEVICE_CATEGORY_SPEAKER">
|
||||
<point>1,-5700</point>
|
||||
<point>29,-4230</point>
|
||||
<point>43,-3300</point>
|
||||
<point>57,-3100</point>
|
||||
<point>71,-2500</point>
|
||||
<point>100,-1400</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_DTMF" deviceCategory="DEVICE_CATEGORY_EARPIECE"
|
||||
ref="DEFAULT_SYSTEM_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_DTMF" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
|
||||
ref="DEFAULT_DEVICE_CATEGORY_EXT_MEDIA_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_DTMF" deviceCategory="DEVICE_CATEGORY_HEARING_AID"
|
||||
ref="DEFAULT_HEARING_AID_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_TTS" deviceCategory="DEVICE_CATEGORY_HEADSET"
|
||||
ref="SILENT_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_TTS" deviceCategory="DEVICE_CATEGORY_SPEAKER"
|
||||
ref="FULL_SCALE_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_TTS" deviceCategory="DEVICE_CATEGORY_EARPIECE"
|
||||
ref="SILENT_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_TTS" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
|
||||
ref="SILENT_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_TTS" deviceCategory="DEVICE_CATEGORY_HEARING_AID"
|
||||
ref="SILENT_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_ACCESSIBILITY" deviceCategory="DEVICE_CATEGORY_HEADSET"
|
||||
ref="DEFAULT_NON_MUTABLE_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_ACCESSIBILITY" deviceCategory="DEVICE_CATEGORY_SPEAKER"
|
||||
ref="DEFAULT_NON_MUTABLE_SPEAKER_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_ACCESSIBILITY" deviceCategory="DEVICE_CATEGORY_EARPIECE"
|
||||
ref="DEFAULT_NON_MUTABLE_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_ACCESSIBILITY" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
|
||||
ref="DEFAULT_NON_MUTABLE_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_ACCESSIBILITY" deviceCategory="DEVICE_CATEGORY_HEARING_AID"
|
||||
ref="DEFAULT_NON_MUTABLE_HEARING_AID_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_ASSISTANT" deviceCategory="DEVICE_CATEGORY_HEADSET"
|
||||
ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_ASSISTANT" deviceCategory="DEVICE_CATEGORY_SPEAKER"
|
||||
ref="DEFAULT_DEVICE_CATEGORY_SPEAKER_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_ASSISTANT" deviceCategory="DEVICE_CATEGORY_EARPIECE"
|
||||
ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_ASSISTANT" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
|
||||
ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_ASSISTANT" deviceCategory="DEVICE_CATEGORY_HEARING_AID"
|
||||
ref="DEFAULT_HEARING_AID_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_REROUTING" deviceCategory="DEVICE_CATEGORY_HEADSET"
|
||||
ref="FULL_SCALE_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_REROUTING" deviceCategory="DEVICE_CATEGORY_SPEAKER"
|
||||
ref="FULL_SCALE_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_REROUTING" deviceCategory="DEVICE_CATEGORY_EARPIECE"
|
||||
ref="FULL_SCALE_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_REROUTING" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
|
||||
ref="FULL_SCALE_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_REROUTING" deviceCategory="DEVICE_CATEGORY_HEARING_AID"
|
||||
ref="FULL_SCALE_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_PATCH" deviceCategory="DEVICE_CATEGORY_HEADSET"
|
||||
ref="FULL_SCALE_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_PATCH" deviceCategory="DEVICE_CATEGORY_SPEAKER"
|
||||
ref="FULL_SCALE_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_PATCH" deviceCategory="DEVICE_CATEGORY_EARPIECE"
|
||||
ref="FULL_SCALE_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_PATCH" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
|
||||
ref="FULL_SCALE_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_PATCH" deviceCategory="DEVICE_CATEGORY_HEARING_AID"
|
||||
ref="FULL_SCALE_VOLUME_CURVE"/>
|
||||
</volumes>
|
||||
|
|
@ -114,6 +114,9 @@
|
|||
<ctl name="R Fast Use Case Switch Enable" value="0" />
|
||||
<ctl name="R Fast Use Case Delta File" value="fast_switch5.txt" />
|
||||
|
||||
<!-- HAC Max Amp switch init -->
|
||||
<ctl name="HAC AMP EN" value="0"/>
|
||||
|
||||
<!-- default EP volume -->
|
||||
<ctl name="PCM Playback Switch" value="1"/>
|
||||
<ctl name="PCM Playback Volume" value="10"/>
|
||||
|
@ -687,6 +690,12 @@
|
|||
<ctl name="R Fast Use Case Switch Enable" value="1" /-->
|
||||
</path>
|
||||
|
||||
<path name="hdmi">
|
||||
</path>
|
||||
|
||||
<path name="hdmi-post">
|
||||
</path>
|
||||
|
||||
<path name="voice-speaker">
|
||||
<ctl name="R Boost Peak Current Limit" value="3.50A"/>
|
||||
<ctl name="Boost Peak Current Limit" value="3.50A"/>
|
||||
|
|
|
@ -35,6 +35,11 @@ prebuilt_etc {
|
|||
src: "bluenote/recording.gatf",
|
||||
defaults: ["aoc_defaults"],
|
||||
}
|
||||
prebuilt_etc {
|
||||
name: "smartfeature.gstf",
|
||||
src: "bluenote/smartfeature.gstf",
|
||||
defaults: ["aoc_defaults"],
|
||||
}
|
||||
prebuilt_etc {
|
||||
name: "template.xml",
|
||||
src: "bluenote/template.xml",
|
||||
|
|
Binary file not shown.
BIN
audio/caiman/tuning/bluenote/smartfeature.gstf
Normal file
BIN
audio/caiman/tuning/bluenote/smartfeature.gstf
Normal file
Binary file not shown.
|
@ -26,7 +26,6 @@
|
|||
<param default="48000" id="1" name="fs_" type="uint32"/>
|
||||
<param default="3" id="2" name="numCh_" type="uint32"/>
|
||||
<param default="7" id="3" name="chMask_" type="uint32"/>
|
||||
<param id="16" max="1" min="0" name="alpha" type="float"/>
|
||||
<param complex="true" id="17" name="ch0_profileL" size="1024" type="float"/>
|
||||
<param complex="true" id="18" name="ch1_profileL" size="1024" type="float"/>
|
||||
<param complex="true" id="19" name="ch2_profileL" size="1024" type="float"/>
|
||||
|
@ -43,7 +42,24 @@
|
|||
<param default="0" id="27" name="ch0_assignFrom" type="int32"/>
|
||||
<param default="1" id="28" name="ch1_assignFrom" type="int32"/>
|
||||
<param default="2" id="29" name="ch2_assignFrom" type="int32"/>
|
||||
<param default="0.333" id="30" max="1" min="0.01" name="alphaEnhancedRate" type="float"/>
|
||||
<param default="0.33" id="30" name="alpha_enhancedRate" type="float"/>
|
||||
<param default="0" id="31" name="swapOutputLR" type="int32"/>
|
||||
<struct id="32">
|
||||
<param default="0.0" name="CB_alpha_lowband" type="float"/>
|
||||
<param default="0.0" name="CB_alpha_midband" type="float"/>
|
||||
<param default="0.0" name="CB_alpha_highband" type="float"/>
|
||||
</struct>
|
||||
<struct id="33">
|
||||
<param default="0.0" name="CB_epsilon_lowband" type="float"/>
|
||||
<param default="0.0" name="CB_epsilon_midband" type="float"/>
|
||||
<param default="0.0" name="CB_epsilon_highband" type="float"/>
|
||||
</struct>
|
||||
<struct id="34">
|
||||
<param default="13" name="CB_fc_low_mid" type="int32"/>
|
||||
<param default="22" name="CB_fc_mid_high" type="int32"/>
|
||||
<param default="5" name="CB_smooth_span" type="int32"/>
|
||||
<param default="1.0" name="CB_forget_factor" type="float"/>
|
||||
</struct>
|
||||
</module>
|
||||
<module id="7" name="Multi Channel IIR 2">
|
||||
<param default="0" id="0" max="3" name="opMode_" type="uint32"/>
|
||||
|
@ -253,6 +269,171 @@
|
|||
<param max="100" min="0" name="limiter_releaseTime_ms" type="uint32"/>
|
||||
</struct>
|
||||
</module>
|
||||
<module id="40" name="Pixel Gain Controller">
|
||||
<param default="0" id="0" max="3" name="opMode_" type="uint32"/>
|
||||
<param default="48000" id="1" name="fs_" type="uint32"/>
|
||||
<param default="2" id="2" name="numCh_" type="uint32"/>
|
||||
<param default="3" id="3" name="chMask_" type="uint32"/>
|
||||
<struct id="16">
|
||||
<param name="crossover_iir_lp1" size="5" type="float"/>
|
||||
<param name="crossover_iir_hp1" size="5" type="float"/>
|
||||
<param name="crossover_iir_lp2" size="5" type="float"/>
|
||||
<param name="crossover_iir_hp2" size="5" type="float"/>
|
||||
<param default="250" max="1000" min="5" name="environment_rms_window_ms" type="int32"/>
|
||||
<param default="-40" max="0" name="environment_rms_threshold_db" type="float"/>
|
||||
<param default="10000" min="0" name="environment_rms_attack_release_ms" type="int32"/>
|
||||
<param default="1" min="0" name="environment_loudness_ratio_band0" type="float"/>
|
||||
<param default="1" min="0" name="environment_loudness_ratio_band1" type="float"/>
|
||||
<param default="1" min="0" name="environment_loudness_ratio_band2" type="float"/>
|
||||
<param default="100" max="1000" min="5" name="drc_window_ms_lowaop_band0" type="int32"/>
|
||||
<param default="28" name="drc_gain_db_lowaop_band0" type="float"/>
|
||||
<param default="-20" name="drc_min_gain_db_lowaop_band0" type="float"/>
|
||||
<param default="-70" name="drc_thres_db_expander_lowaop_band0" type="float"/>
|
||||
<param default="-40" name="drc_thres_db_upward_compressor_lowaop_band0" type="float"/>
|
||||
<param default="-36" name="drc_thres_db_downward_compressor_lowaop_band0" type="float"/>
|
||||
<param default="4.0" min="0" name="drc_knee_width_db_expander_lowaop_band0" type="float"/>
|
||||
<param default="4.0" min="0" name="drc_knee_width_db_upward_compressor_lowaop_band0" type="float"/>
|
||||
<param default="4.0" min="0" name="drc_knee_width_db_downward_compressor_lowaop_band0" type="float"/>
|
||||
<param default="2.0" min="0" name="drc_ratio_expander_lowaop_band0" type="float"/>
|
||||
<param default="1.5" min="0" name="drc_ratio_upward_compressor_lowaop_band0" type="float"/>
|
||||
<param default="1.0" min="0" name="drc_ratio_linear_lowaop_band0" type="float"/>
|
||||
<param default="9.0" min="0" name="drc_ratio_downward_compressor_lowaop_band0" type="float"/>
|
||||
<param default="350" min="0" name="drc_attack_ms_expander_lowaop_band0" type="float"/>
|
||||
<param default="500" min="0" name="drc_attack_ms_upward_compressor_lowaop_band0" type="float"/>
|
||||
<param default="500" min="0" name="drc_attack_ms_linear_lowaop_band0" type="float"/>
|
||||
<param default="350" min="0" name="drc_attack_ms_downward_compressor_lowaop_band0" type="float"/>
|
||||
<param default="5000" min="0" name="drc_release_ms_expander_lowaop_band0" type="float"/>
|
||||
<param default="12000" min="0" name="drc_release_ms_upward_compressor_lowaop_band0" type="float"/>
|
||||
<param default="12000" min="0" name="drc_release_ms_linear_lowaop_band0" type="float"/>
|
||||
<param default="5000" min="0" name="drc_release_ms_downward_compressor_lowaop_band0" type="float"/>
|
||||
<param default="100" max="1000" min="5" name="drc_window_ms_lowaop_band1" type="int32"/>
|
||||
<param default="28" name="drc_gain_db_lowaop_band1" type="float"/>
|
||||
<param default="-20" name="drc_min_gain_db_lowaop_band1" type="float"/>
|
||||
<param default="-70" name="drc_thres_db_expander_lowaop_band1" type="float"/>
|
||||
<param default="-40" name="drc_thres_db_upward_compressor_lowaop_band1" type="float"/>
|
||||
<param default="-36" name="drc_thres_db_downward_compressor_lowaop_band1" type="float"/>
|
||||
<param default="4.0" min="0" name="drc_knee_width_db_expander_lowaop_band1" type="float"/>
|
||||
<param default="4.0" min="0" name="drc_knee_width_db_upward_compressor_lowaop_band1" type="float"/>
|
||||
<param default="4.0" min="0" name="drc_knee_width_db_downward_compressor_lowaop_band1" type="float"/>
|
||||
<param default="2.0" min="0" name="drc_ratio_expander_lowaop_band1" type="float"/>
|
||||
<param default="1.5" min="0" name="drc_ratio_upward_compressor_lowaop_band1" type="float"/>
|
||||
<param default="1.0" min="0" name="drc_ratio_linear_lowaop_band1" type="float"/>
|
||||
<param default="9.0" min="0" name="drc_ratio_downward_compressor_lowaop_band1" type="float"/>
|
||||
<param default="350" min="0" name="drc_attack_ms_expander_lowaop_band1" type="float"/>
|
||||
<param default="500" min="0" name="drc_attack_ms_upward_compressor_lowaop_band1" type="float"/>
|
||||
<param default="500" min="0" name="drc_attack_ms_linear_lowaop_band1" type="float"/>
|
||||
<param default="350" min="0" name="drc_attack_ms_downward_compressor_lowaop_band1" type="float"/>
|
||||
<param default="5000" min="0" name="drc_release_ms_expander_lowaop_band1" type="float"/>
|
||||
<param default="12000" min="0" name="drc_release_ms_upward_compressor_lowaop_band1" type="float"/>
|
||||
<param default="12000" min="0" name="drc_release_ms_linear_lowaop_band1" type="float"/>
|
||||
<param default="5000" min="0" name="drc_release_ms_downward_compressor_lowaop_band1" type="float"/>
|
||||
<param default="100" max="1000" min="5" name="drc_window_ms_lowaop_band2" type="int32"/>
|
||||
<param default="28" name="drc_gain_db_lowaop_band2" type="float"/>
|
||||
<param default="-20" name="drc_min_gain_db_lowaop_band2" type="float"/>
|
||||
<param default="-70" name="drc_thres_db_expander_lowaop_band2" type="float"/>
|
||||
<param default="-40" name="drc_thres_db_upward_compressor_lowaop_band2" type="float"/>
|
||||
<param default="-36" name="drc_thres_db_downward_compressor_lowaop_band2" type="float"/>
|
||||
<param default="4.0" min="0" name="drc_knee_width_db_expander_lowaop_band2" type="float"/>
|
||||
<param default="4.0" min="0" name="drc_knee_width_db_upward_compressor_lowaop_band2" type="float"/>
|
||||
<param default="4.0" min="0" name="drc_knee_width_db_downward_compressor_lowaop_band2" type="float"/>
|
||||
<param default="2.0" min="0" name="drc_ratio_expander_lowaop_band2" type="float"/>
|
||||
<param default="1.5" min="0" name="drc_ratio_upward_compressor_lowaop_band2" type="float"/>
|
||||
<param default="1.0" min="0" name="drc_ratio_linear_lowaop_band2" type="float"/>
|
||||
<param default="9.0" min="0" name="drc_ratio_downward_compressor_lowaop_band2" type="float"/>
|
||||
<param default="350" min="0" name="drc_attack_ms_expander_lowaop_band2" type="float"/>
|
||||
<param default="500" min="0" name="drc_attack_ms_upward_compressor_lowaop_band2" type="float"/>
|
||||
<param default="500" min="0" name="drc_attack_ms_linear_lowaop_band2" type="float"/>
|
||||
<param default="350" min="0" name="drc_attack_ms_downward_compressor_lowaop_band2" type="float"/>
|
||||
<param default="5000" min="0" name="drc_release_ms_expander_lowaop_band2" type="float"/>
|
||||
<param default="12000" min="0" name="drc_release_ms_upward_compressor_lowaop_band2" type="float"/>
|
||||
<param default="12000" min="0" name="drc_release_ms_linear_lowaop_band2" type="float"/>
|
||||
<param default="5000" min="0" name="drc_release_ms_downward_compressor_lowaop_band2" type="float"/>
|
||||
<param default="100" max="1000" min="5" name="drc_window_ms_highaop_band0" type="int32"/>
|
||||
<param default="28" name="drc_gain_db_highaop_band0" type="float"/>
|
||||
<param default="-20" name="drc_min_gain_db_highaop_band0" type="float"/>
|
||||
<param default="-70" name="drc_thres_db_expander_highaop_band0" type="float"/>
|
||||
<param default="-40" name="drc_thres_db_upward_compressor_highaop_band0" type="float"/>
|
||||
<param default="-36" name="drc_thres_db_downward_compressor_highaop_band0" type="float"/>
|
||||
<param default="4.0" min="0" name="drc_knee_width_db_expander_highaop_band0" type="float"/>
|
||||
<param default="4.0" min="0" name="drc_knee_width_db_upward_compressor_highaop_band0" type="float"/>
|
||||
<param default="4.0" min="0" name="drc_knee_width_db_downward_compressor_highaop_band0" type="float"/>
|
||||
<param default="2.5" min="0" name="drc_ratio_expander_highaop_band0" type="float"/>
|
||||
<param default="1.5" min="0" name="drc_ratio_upward_compressor_highaop_band0" type="float"/>
|
||||
<param default="1.0" min="0" name="drc_ratio_linear_highaop_band0" type="float"/>
|
||||
<param default="9.0" min="0" name="drc_ratio_downward_compressor_highaop_band0" type="float"/>
|
||||
<param default="80" min="0" name="drc_attack_ms_expander_highaop_band0" type="float"/>
|
||||
<param default="500" min="0" name="drc_attack_ms_upward_compressor_highaop_band0" type="float"/>
|
||||
<param default="500" min="0" name="drc_attack_ms_linear_highaop_band0" type="float"/>
|
||||
<param default="80" min="0" name="drc_attack_ms_downward_compressor_highaop_band0" type="float"/>
|
||||
<param default="8000" min="0" name="drc_release_ms_expander_highaop_band0" type="float"/>
|
||||
<param default="5000" min="0" name="drc_release_ms_upward_compressor_highaop_band0" type="float"/>
|
||||
<param default="5000" min="0" name="drc_release_ms_linear_highaop_band0" type="float"/>
|
||||
<param default="8000" min="0" name="drc_release_ms_downward_compressor_highaop_band0" type="float"/>
|
||||
<param default="100" max="1000" min="5" name="drc_window_ms_highaop_band1" type="int32"/>
|
||||
<param default="28" name="drc_gain_db_highaop_band1" type="float"/>
|
||||
<param default="-20" name="drc_min_gain_db_highaop_band1" type="float"/>
|
||||
<param default="-70" name="drc_thres_db_expander_highaop_band1" type="float"/>
|
||||
<param default="-40" name="drc_thres_db_upward_compressor_highaop_band1" type="float"/>
|
||||
<param default="-36" name="drc_thres_db_downward_compressor_highaop_band1" type="float"/>
|
||||
<param default="4.0" min="0" name="drc_knee_width_db_expander_highaop_band1" type="float"/>
|
||||
<param default="4.0" min="0" name="drc_knee_width_db_upward_compressor_highaop_band1" type="float"/>
|
||||
<param default="4.0" min="0" name="drc_knee_width_db_downward_compressor_highaop_band1" type="float"/>
|
||||
<param default="2.5" min="0" name="drc_ratio_expander_highaop_band1" type="float"/>
|
||||
<param default="1.5" min="0" name="drc_ratio_upward_compressor_highaop_band1" type="float"/>
|
||||
<param default="1.0" min="0" name="drc_ratio_linear_highaop_band1" type="float"/>
|
||||
<param default="6.0" min="0" name="drc_ratio_downward_compressor_highaop_band1" type="float"/>
|
||||
<param default="80" min="0" name="drc_attack_ms_expander_highaop_band1" type="float"/>
|
||||
<param default="500" min="0" name="drc_attack_ms_upward_compressor_highaop_band1" type="float"/>
|
||||
<param default="500" min="0" name="drc_attack_ms_linear_highaop_band1" type="float"/>
|
||||
<param default="80" min="0" name="drc_attack_ms_downward_compressor_highaop_band1" type="float"/>
|
||||
<param default="8000" min="0" name="drc_release_ms_expander_highaop_band1" type="float"/>
|
||||
<param default="5000" min="0" name="drc_release_ms_upward_compressor_highaop_band1" type="float"/>
|
||||
<param default="5000" min="0" name="drc_release_ms_linear_highaop_band1" type="float"/>
|
||||
<param default="8000" min="0" name="drc_release_ms_downward_compressor_highaop_band1" type="float"/>
|
||||
<param default="100" max="1000" min="5" name="drc_window_ms_highaop_band2" type="int32"/>
|
||||
<param default="28" name="drc_gain_db_highaop_band2" type="float"/>
|
||||
<param default="-20" name="drc_min_gain_db_highaop_band2" type="float"/>
|
||||
<param default="-70" name="drc_thres_db_expander_highaop_band2" type="float"/>
|
||||
<param default="-40" name="drc_thres_db_upward_compressor_highaop_band2" type="float"/>
|
||||
<param default="-36" name="drc_thres_db_downward_compressor_highaop_band2" type="float"/>
|
||||
<param default="4.0" min="0" name="drc_knee_width_db_expander_highaop_band2" type="float"/>
|
||||
<param default="4.0" min="0" name="drc_knee_width_db_upward_compressor_highaop_band2" type="float"/>
|
||||
<param default="4.0" min="0" name="drc_knee_width_db_downward_compressor_highaop_band2" type="float"/>
|
||||
<param default="2.5" min="0" name="drc_ratio_expander_highaop_band2" type="float"/>
|
||||
<param default="1.5" min="0" name="drc_ratio_upward_compressor_highaop_band2" type="float"/>
|
||||
<param default="1.0" min="0" name="drc_ratio_linear_highaop_band2" type="float"/>
|
||||
<param default="9.0" min="0" name="drc_ratio_downward_compressor_highaop_band2" type="float"/>
|
||||
<param default="80" min="0" name="drc_attack_ms_expander_highaop_band2" type="float"/>
|
||||
<param default="500" min="0" name="drc_attack_ms_upward_compressor_highaop_band2" type="float"/>
|
||||
<param default="500" min="0" name="drc_attack_ms_linear_highaop_band2" type="float"/>
|
||||
<param default="80" min="0" name="drc_attack_ms_downward_compressor_highaop_band2" type="float"/>
|
||||
<param default="8000" min="0" name="drc_release_ms_expander_highaop_band2" type="float"/>
|
||||
<param default="5000" min="0" name="drc_release_ms_upward_compressor_highaop_band2" type="float"/>
|
||||
<param default="5000" min="0" name="drc_release_ms_linear_highaop_band2" type="float"/>
|
||||
<param default="8000" min="0" name="drc_release_ms_downward_compressor_highaop_band2" type="float"/>
|
||||
<param default="100" max="100" min="0" name="drc_delay_ms" type="int32"/>
|
||||
<param default="1" max="1" min="0" name="drc_use_peak_amplitude" type="int32"/>
|
||||
<param default="0" max="100" min="-100" name="drc_band1_minus_band2_max_gain_db" type="float"/>
|
||||
<param default="0" max="100" min="-100" name="drc_band3_minus_band2_max_gain_db" type="float"/>
|
||||
<param default="20" max="20" min="0" name="limiter_delay_ms" type="int32"/>
|
||||
<param default="-0.5" max="0" name="limiter_thres_db" type="float"/>
|
||||
<param default="0" name="limiter_gain_db" type="float"/>
|
||||
<param default="10" min="0" name="limiter_attack_time_ms" type="int32"/>
|
||||
<param default="50" min="0" name="limiter_release_time_ms" type="int32"/>
|
||||
<param default="1000" max="10000" min="100" name="drc_long_term_window_lower_ms_band0" type="int32"/>
|
||||
<param default="1000" max="10000" min="100" name="drc_long_term_window_lower_ms_band1" type="int32"/>
|
||||
<param default="1000" max="10000" min="100" name="drc_long_term_window_lower_ms_band2" type="int32"/>
|
||||
<param default="5000" max="10000" min="100" name="drc_long_term_window_upper_ms_band0" type="int32"/>
|
||||
<param default="5000" max="10000" min="100" name="drc_long_term_window_upper_ms_band1" type="int32"/>
|
||||
<param default="5000" max="10000" min="100" name="drc_long_term_window_upper_ms_band2" type="int32"/>
|
||||
<param default="-50" name="drc_long_term_window_lower_db_band0" type="float"/>
|
||||
<param default="-50" name="drc_long_term_window_lower_db_band1" type="float"/>
|
||||
<param default="-50" name="drc_long_term_window_lower_db_band2" type="float"/>
|
||||
<param default="-30" name="drc_long_term_window_upper_db_band0" type="float"/>
|
||||
<param default="-30" name="drc_long_term_window_upper_db_band1" type="float"/>
|
||||
<param default="-30" name="drc_long_term_window_upper_db_band2" type="float"/>
|
||||
</struct>
|
||||
</module>
|
||||
<module id="10000" name="Eraser">
|
||||
<param id="275" name="eraser_pre_gain" type="uint32"/>
|
||||
<param id="277" name="eraser_post_gain" type="uint32"/>
|
||||
|
@ -262,7 +443,6 @@
|
|||
<param id="299" name="cleaner_post_gain" type="uint32"/>
|
||||
</module>
|
||||
<module id="10002" name="CHRE">
|
||||
<param id="297" name="chre_gain" type="uint32"/>
|
||||
<param id="345" name="chre_aec_timeout" type="uint32"/>
|
||||
<param id="346" name="chre_pdm_gain" type="int32"/>
|
||||
<param id="347" name="chre_aec_gain" type="int32"/>
|
||||
|
@ -280,15 +460,16 @@
|
|||
<moduleRef id="6"/>
|
||||
<moduleRef id="7"/>
|
||||
<moduleRef id="5"/>
|
||||
<moduleRef id="8"/>
|
||||
<moduleRef id="40"/>
|
||||
</block>
|
||||
</signalflow>
|
||||
<signalflow id="2" name="General Mic Recording">
|
||||
<block id="137">
|
||||
<moduleRef id="14"/>
|
||||
<moduleRef id="11"/>
|
||||
<moduleRef id="7"/>
|
||||
<moduleRef id="5"/>
|
||||
<moduleRef id="8"/>
|
||||
<moduleRef id="40"/>
|
||||
</block>
|
||||
</signalflow>
|
||||
<signalflow id="1000" name="Smart Feature">
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load diff
Binary file not shown.
File diff suppressed because it is too large
Load diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -25,8 +25,11 @@
|
|||
<argument name="ThermistorName" value="VIRTUAL-SKIN-SPEAKER" />
|
||||
<argument name="ThermistorType" value="UNKNOWN" />
|
||||
<argument name="ThrottlingSeverity" value="LIGHT" />
|
||||
<argument name="SpeakerPowerPollWaitMs" value="5000" />
|
||||
</feature>
|
||||
<feature name="RuntimeTuningDump" />
|
||||
<feature name="SoundDose" />
|
||||
<!-- <feature name="spatializer-offload" /> -->
|
||||
</features>
|
||||
|
||||
<voipVolume>
|
||||
|
@ -55,16 +58,22 @@
|
|||
<tuner type="playback" name="waves">
|
||||
<argument name="Sink" value="SPK" />
|
||||
<argument name="ThermistorsName" value="VIRTUAL-SKIN-SPEAKER" />
|
||||
<argument name="Extensions" value="StereoSpatializerIndicator" />
|
||||
<argument name="Extensions" value="StereoSpatializerIndicator,SpeakerPowerLinkLaw" />
|
||||
</tuner>
|
||||
<tuner type="telephony" name="fortemedia">
|
||||
<argument name="VoIP_DLCHs" value="SPK:2,USB:2" />
|
||||
<argument name="VoIP_DLCHs" value="SPK:2,USB:2,BT:2" />
|
||||
<argument name="VoIP_Rate" value="32000" />
|
||||
<argument name="BOOST_USB_SWB_CLK" value="y" />
|
||||
<argument name="BOOST_HANDSET_SWB_CLK" value="y" />
|
||||
<argument name="CCA" value="UnsupportBands:48000,ExSharedBands:48000,VoIPMode:Dl" />
|
||||
<argument name="MCPS_TABLE" value="y" />
|
||||
<argument name="APPLY_WB_TUNING_FOR_NB_VOICE" value="y" />
|
||||
<argument name="CCA" value="UnsupportBands:48000,ExSharedBands:48000,VoIPMode:Dl,SupportBWE:y" />
|
||||
</tuner>
|
||||
<tuner type="capture" name="gs_capture" />
|
||||
<tuner type="compensation" name="TelephonySpeakerCompensation">
|
||||
<scenario condition="ScreenRotation:0,90,180,270"
|
||||
output="LeftChannel:compens_spk_l.conf RightChannel:compens_spk_r.conf" />
|
||||
</tuner>
|
||||
</tuners>
|
||||
|
||||
<latencies>
|
||||
|
@ -95,15 +104,219 @@
|
|||
<enablement useCase="primary-capture" deviceInterface="microphones">
|
||||
<source>MIC</source>
|
||||
<source>CAMCORDER</source>
|
||||
<source>VOICE_RECOGNITION</source>
|
||||
</enablement>
|
||||
<enablement useCase="primary-capture" deviceInterface="back-microphones">
|
||||
<source>MIC</source>
|
||||
<source>CAMCORDER</source>
|
||||
<source>VOICE_RECOGNITION</source>
|
||||
</enablement>
|
||||
</spatialCapture>
|
||||
|
||||
<microphones>
|
||||
<microphone id="builtin_mic_1" location="MAINBODY" group="0" indexInTheGroup="0"
|
||||
directionality="OMNI">
|
||||
<device type="IN_MICROPHONE" address="bottom" />
|
||||
<sensitivity levelDbfs="37.0" maxSplDb="132.5" minSplDb="28.5" />
|
||||
<position x="0.0269" y="0.0058" z="0.0079" />
|
||||
<orientation x="0.0" y="0.0" z="1.0" />
|
||||
<frequencyResponse>
|
||||
<point frequencyHz="100.00" levelDb="-0.78" />
|
||||
<point frequencyHz="106.00" levelDb="-0.71" />
|
||||
<point frequencyHz="112.00" levelDb="-0.64" />
|
||||
<point frequencyHz="118.00" levelDb="-0.60" />
|
||||
<point frequencyHz="125.00" levelDb="-0.55" />
|
||||
<point frequencyHz="132.00" levelDb="-0.50" />
|
||||
<point frequencyHz="140.00" levelDb="-0.47" />
|
||||
<point frequencyHz="150.00" levelDb="-0.42" />
|
||||
<point frequencyHz="160.00" levelDb="-0.39" />
|
||||
<point frequencyHz="170.00" levelDb="-0.36" />
|
||||
<point frequencyHz="180.00" levelDb="-0.34" />
|
||||
<point frequencyHz="190.00" levelDb="-0.33" />
|
||||
<point frequencyHz="200.00" levelDb="-0.32" />
|
||||
<point frequencyHz="212.00" levelDb="-0.29" />
|
||||
<point frequencyHz="224.00" levelDb="-0.28" />
|
||||
<point frequencyHz="236.00" levelDb="-0.28" />
|
||||
<point frequencyHz="250.00" levelDb="-0.27" />
|
||||
<point frequencyHz="265.00" levelDb="-0.25" />
|
||||
<point frequencyHz="280.00" levelDb="-0.25" />
|
||||
<point frequencyHz="300.00" levelDb="-0.24" />
|
||||
<point frequencyHz="315.00" levelDb="-0.23" />
|
||||
<point frequencyHz="335.00" levelDb="-0.23" />
|
||||
<point frequencyHz="355.00" levelDb="-0.22" />
|
||||
<point frequencyHz="375.00" levelDb="-0.22" />
|
||||
<point frequencyHz="400.00" levelDb="-0.19" />
|
||||
<point frequencyHz="425.00" levelDb="-0.17" />
|
||||
<point frequencyHz="450.00" levelDb="-0.15" />
|
||||
<point frequencyHz="475.00" levelDb="-0.15" />
|
||||
<point frequencyHz="500.00" levelDb="-0.14" />
|
||||
<point frequencyHz="530.00" levelDb="-0.14" />
|
||||
<point frequencyHz="560.00" levelDb="-0.12" />
|
||||
<point frequencyHz="600.00" levelDb="-0.11" />
|
||||
<point frequencyHz="630.00" levelDb="-0.10" />
|
||||
<point frequencyHz="670.00" levelDb="-0.10" />
|
||||
<point frequencyHz="710.00" levelDb="-0.08" />
|
||||
<point frequencyHz="750.00" levelDb="-0.07" />
|
||||
<point frequencyHz="800.00" levelDb="-0.07" />
|
||||
<point frequencyHz="850.00" levelDb="-0.04" />
|
||||
<point frequencyHz="900.00" levelDb="-0.03" />
|
||||
<point frequencyHz="950.00" levelDb="-0.01" />
|
||||
<point frequencyHz="1000.00" levelDb="0.00" />
|
||||
<point frequencyHz="1060.00" levelDb="0.04" />
|
||||
<point frequencyHz="1120.00" levelDb="0.06" />
|
||||
<point frequencyHz="1180.00" levelDb="0.07" />
|
||||
<point frequencyHz="1250.00" levelDb="0.08" />
|
||||
<point frequencyHz="1320.00" levelDb="0.13" />
|
||||
<point frequencyHz="1400.00" levelDb="0.09" />
|
||||
<point frequencyHz="1500.00" levelDb="0.14" />
|
||||
<point frequencyHz="1600.00" levelDb="0.19" />
|
||||
<point frequencyHz="1700.00" levelDb="0.23" />
|
||||
<point frequencyHz="1800.00" levelDb="0.28" />
|
||||
<point frequencyHz="1900.00" levelDb="0.29" />
|
||||
<point frequencyHz="2000.00" levelDb="0.31" />
|
||||
<point frequencyHz="2120.00" levelDb="0.37" />
|
||||
<point frequencyHz="2240.00" levelDb="0.88" />
|
||||
<point frequencyHz="2360.00" levelDb="0.86" />
|
||||
<point frequencyHz="2500.00" levelDb="0.77" />
|
||||
<point frequencyHz="2650.00" levelDb="0.78" />
|
||||
<point frequencyHz="2800.00" levelDb="0.84" />
|
||||
<point frequencyHz="3000.00" levelDb="0.86" />
|
||||
<point frequencyHz="3150.00" levelDb="1.05" />
|
||||
<point frequencyHz="3350.00" levelDb="1.12" />
|
||||
<point frequencyHz="3550.00" levelDb="1.18" />
|
||||
<point frequencyHz="3750.00" levelDb="1.25" />
|
||||
<point frequencyHz="4000.00" levelDb="1.43" />
|
||||
<point frequencyHz="4250.00" levelDb="1.66" />
|
||||
<point frequencyHz="4500.00" levelDb="1.83" />
|
||||
<point frequencyHz="4750.00" levelDb="2.02" />
|
||||
<point frequencyHz="5000.00" levelDb="2.23" />
|
||||
<point frequencyHz="5300.00" levelDb="2.59" />
|
||||
<point frequencyHz="5600.00" levelDb="2.84" />
|
||||
<point frequencyHz="6000.00" levelDb="3.35" />
|
||||
<point frequencyHz="6300.00" levelDb="4.01" />
|
||||
<point frequencyHz="6700.00" levelDb="6.82" />
|
||||
<point frequencyHz="7100.00" levelDb="6.62" />
|
||||
<point frequencyHz="7500.00" levelDb="6.42" />
|
||||
<point frequencyHz="8000.00" levelDb="7.30" />
|
||||
<point frequencyHz="8500.00" levelDb="8.23" />
|
||||
<point frequencyHz="9000.00" levelDb="7.54" />
|
||||
<point frequencyHz="9500.00" levelDb="12.68" />
|
||||
<point frequencyHz="10000.00" levelDb="13.76" />
|
||||
<point frequencyHz="10600.00" levelDb="18.69" />
|
||||
<point frequencyHz="11200.00" levelDb="19.68" />
|
||||
<point frequencyHz="11800.00" levelDb="20.90" />
|
||||
<point frequencyHz="12500.00" levelDb="23.70" />
|
||||
<point frequencyHz="13200.00" levelDb="25.10" />
|
||||
<point frequencyHz="14000.00" levelDb="21.65" />
|
||||
<point frequencyHz="15000.00" levelDb="16.18" />
|
||||
<point frequencyHz="16000.00" levelDb="18.84" />
|
||||
<point frequencyHz="17000.00" levelDb="25.44" />
|
||||
<point frequencyHz="18000.00" levelDb="23.48" />
|
||||
<point frequencyHz="19000.00" levelDb="23.22" />
|
||||
<point frequencyHz="20000.00" levelDb="24.89" />
|
||||
</frequencyResponse>
|
||||
</microphone>
|
||||
<microphone id="builtin_mic_2" location="MAINBODY" group="0" indexInTheGroup="1"
|
||||
directionality="OMNI">
|
||||
<device type="IN_MICROPHONE_BACK" address="back" />
|
||||
<sensitivity levelDbfs="-37.0" maxSplDb="132.5" minSplDb="28.5" />
|
||||
<position x="0.0546" y="0.1456" z="0.00415" />
|
||||
<orientation x="0.0" y="1.0" z="0.0" />
|
||||
<frequencyResponse>
|
||||
<point frequencyHz="106.00" levelDb="-0.75" />
|
||||
<point frequencyHz="112.00" levelDb="-0.74" />
|
||||
<point frequencyHz="118.00" levelDb="-0.69" />
|
||||
<point frequencyHz="125.00" levelDb="-0.65" />
|
||||
<point frequencyHz="132.00" levelDb="-0.62" />
|
||||
<point frequencyHz="140.00" levelDb="-0.61" />
|
||||
<point frequencyHz="150.00" levelDb="-0.56" />
|
||||
<point frequencyHz="160.00" levelDb="-0.53" />
|
||||
<point frequencyHz="170.00" levelDb="-0.50" />
|
||||
<point frequencyHz="180.00" levelDb="-0.47" />
|
||||
<point frequencyHz="190.00" levelDb="-0.43" />
|
||||
<point frequencyHz="200.00" levelDb="-0.40" />
|
||||
<point frequencyHz="212.00" levelDb="-0.37" />
|
||||
<point frequencyHz="224.00" levelDb="-0.36" />
|
||||
<point frequencyHz="236.00" levelDb="-0.33" />
|
||||
<point frequencyHz="250.00" levelDb="-0.30" />
|
||||
<point frequencyHz="265.00" levelDb="-0.28" />
|
||||
<point frequencyHz="280.00" levelDb="-0.25" />
|
||||
<point frequencyHz="300.00" levelDb="-0.24" />
|
||||
<point frequencyHz="315.00" levelDb="-0.24" />
|
||||
<point frequencyHz="335.00" levelDb="-0.24" />
|
||||
<point frequencyHz="355.00" levelDb="-0.25" />
|
||||
<point frequencyHz="375.00" levelDb="-0.24" />
|
||||
<point frequencyHz="400.00" levelDb="-0.12" />
|
||||
<point frequencyHz="425.00" levelDb="-0.10" />
|
||||
<point frequencyHz="450.00" levelDb="-0.08" />
|
||||
<point frequencyHz="475.00" levelDb="-0.09" />
|
||||
<point frequencyHz="500.00" levelDb="-0.07" />
|
||||
<point frequencyHz="530.00" levelDb="-0.07" />
|
||||
<point frequencyHz="560.00" levelDb="-0.06" />
|
||||
<point frequencyHz="600.00" levelDb="-0.06" />
|
||||
<point frequencyHz="630.00" levelDb="-0.06" />
|
||||
<point frequencyHz="670.00" levelDb="-0.05" />
|
||||
<point frequencyHz="710.00" levelDb="-0.04" />
|
||||
<point frequencyHz="750.00" levelDb="-0.05" />
|
||||
<point frequencyHz="800.00" levelDb="-0.04" />
|
||||
<point frequencyHz="850.00" levelDb="-0.01" />
|
||||
<point frequencyHz="900.00" levelDb="0.02" />
|
||||
<point frequencyHz="950.00" levelDb="0.02" />
|
||||
<point frequencyHz="1000.00" levelDb="0.00" />
|
||||
<point frequencyHz="1060.00" levelDb="0.02" />
|
||||
<point frequencyHz="1120.00" levelDb="0.03" />
|
||||
<point frequencyHz="1180.00" levelDb="0.07" />
|
||||
<point frequencyHz="1250.00" levelDb="0.10" />
|
||||
<point frequencyHz="1320.00" levelDb="0.10" />
|
||||
<point frequencyHz="1400.00" levelDb="0.13" />
|
||||
<point frequencyHz="1500.00" levelDb="0.01" />
|
||||
<point frequencyHz="1600.00" levelDb="0.01" />
|
||||
<point frequencyHz="1700.00" levelDb="0.10" />
|
||||
<point frequencyHz="1800.00" levelDb="0.11" />
|
||||
<point frequencyHz="1900.00" levelDb="0.19" />
|
||||
<point frequencyHz="2000.00" levelDb="0.24" />
|
||||
<point frequencyHz="2120.00" levelDb="0.38" />
|
||||
<point frequencyHz="2240.00" levelDb="0.46" />
|
||||
<point frequencyHz="2360.00" levelDb="0.26" />
|
||||
<point frequencyHz="2500.00" levelDb="0.27" />
|
||||
<point frequencyHz="2650.00" levelDb="0.43" />
|
||||
<point frequencyHz="2800.00" levelDb="0.76" />
|
||||
<point frequencyHz="3000.00" levelDb="0.75" />
|
||||
<point frequencyHz="3150.00" levelDb="1.09" />
|
||||
<point frequencyHz="3350.00" levelDb="1.09" />
|
||||
<point frequencyHz="3550.00" levelDb="0.94" />
|
||||
<point frequencyHz="3750.00" levelDb="1.06" />
|
||||
<point frequencyHz="4000.00" levelDb="1.21" />
|
||||
<point frequencyHz="4250.00" levelDb="1.47" />
|
||||
<point frequencyHz="4500.00" levelDb="1.45" />
|
||||
<point frequencyHz="4750.00" levelDb="1.36" />
|
||||
<point frequencyHz="5000.00" levelDb="2.07" />
|
||||
<point frequencyHz="5300.00" levelDb="2.85" />
|
||||
<point frequencyHz="5600.00" levelDb="2.90" />
|
||||
<point frequencyHz="6000.00" levelDb="3.85" />
|
||||
<point frequencyHz="6300.00" levelDb="4.65" />
|
||||
<point frequencyHz="6700.00" levelDb="5.84" />
|
||||
<point frequencyHz="7100.00" levelDb="5.46" />
|
||||
<point frequencyHz="7500.00" levelDb="6.15" />
|
||||
<point frequencyHz="8000.00" levelDb="7.50" />
|
||||
<point frequencyHz="8500.00" levelDb="8.30" />
|
||||
<point frequencyHz="9000.00" levelDb="10.62" />
|
||||
<point frequencyHz="9500.00" levelDb="12.70" />
|
||||
<point frequencyHz="10000.00" levelDb="16.65" />
|
||||
<point frequencyHz="10600.00" levelDb="20.95" />
|
||||
<point frequencyHz="11200.00" levelDb="25.41" />
|
||||
<point frequencyHz="11800.00" levelDb="26.32" />
|
||||
<point frequencyHz="12500.00" levelDb="20.20" />
|
||||
<point frequencyHz="13200.00" levelDb="16.60" />
|
||||
<point frequencyHz="14000.00" levelDb="11.24" />
|
||||
<point frequencyHz="15000.00" levelDb="7.85" />
|
||||
<point frequencyHz="16000.00" levelDb="7.62" />
|
||||
<point frequencyHz="17000.00" levelDb="20.19" />
|
||||
<point frequencyHz="18000.00" levelDb="7.32" />
|
||||
<point frequencyHz="19000.00" levelDb="2.87" />
|
||||
<point frequencyHz="20000.00" levelDb="5.18" />
|
||||
</frequencyResponse>
|
||||
</microphone>
|
||||
</microphones>
|
||||
|
||||
<xi:include href="audio_policy_volumes.xml" />
|
||||
<xi:include href="default_volume_tables.xml" />
|
||||
</audioPlatformConfiguration>
|
||||
|
|
|
@ -84,31 +84,31 @@ volume index from 0 to 100.
|
|||
<volume stream="AUDIO_STREAM_MUSIC" deviceCategory="DEVICE_CATEGORY_HEADSET"
|
||||
ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_MUSIC" deviceCategory="DEVICE_CATEGORY_SPEAKER">
|
||||
<point>1,-6920</point>
|
||||
<point>4,-6920</point>
|
||||
<point>8,-6664</point>
|
||||
<point>12,-6374</point>
|
||||
<point>16,-6082</point>
|
||||
<point>20,-5759</point>
|
||||
<point>24,-5410</point>
|
||||
<point>28,-5038</point>
|
||||
<point>32,-4807</point>
|
||||
<point>36,-4577</point>
|
||||
<point>40,-4339</point>
|
||||
<point>44,-4132</point>
|
||||
<point>48,-3860</point>
|
||||
<point>52,-3569</point>
|
||||
<point>56,-3223</point>
|
||||
<point>60,-2823</point>
|
||||
<point>64,-2452</point>
|
||||
<point>68,-2078</point>
|
||||
<point>72,-1795</point>
|
||||
<point>76,-1561</point>
|
||||
<point>80,-1226</point>
|
||||
<point>84,-956</point>
|
||||
<point>88,-789</point>
|
||||
<point>92,-635</point>
|
||||
<point>96,-505</point>
|
||||
<point>1,-6100</point>
|
||||
<point>4,-5910</point>
|
||||
<point>8,-5634</point>
|
||||
<point>12,-5300</point>
|
||||
<point>16,-4995</point>
|
||||
<point>20,-4670</point>
|
||||
<point>24,-4300</point>
|
||||
<point>28,-3944</point>
|
||||
<point>32,-3705</point>
|
||||
<point>36,-3472</point>
|
||||
<point>40,-3200</point>
|
||||
<point>44,-3020</point>
|
||||
<point>48,-2800</point>
|
||||
<point>52,-2575</point>
|
||||
<point>56,-2300</point>
|
||||
<point>60,-2130</point>
|
||||
<point>64,-1925</point>
|
||||
<point>68,-1710</point>
|
||||
<point>72,-1600</point>
|
||||
<point>76,-1500</point>
|
||||
<point>80,-1375</point>
|
||||
<point>84,-1277</point>
|
||||
<point>88,-991</point>
|
||||
<point>92,-741</point>
|
||||
<point>96,-475</point>
|
||||
<point>100,0</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_MUSIC" deviceCategory="DEVICE_CATEGORY_EARPIECE"
|
||||
|
|
|
@ -116,6 +116,9 @@
|
|||
<ctl name="R Fast Use Case Switch Enable" value="0" />
|
||||
<ctl name="R Fast Use Case Delta File" value="fast_switch5.txt" />
|
||||
|
||||
<!-- HAC Max Amp switch init -->
|
||||
<ctl name="HAC AMP EN" value="0" />
|
||||
|
||||
<!-- default EP volume -->
|
||||
<ctl name="PCM Playback Switch" value="1" />
|
||||
<ctl name="PCM Playback Volume" value="10" />
|
||||
|
@ -233,6 +236,7 @@
|
|||
<ctl name="EP6 TX Mixer INCALL_TX" value="0" />
|
||||
<ctl name="NoHost1 TX Mixer INCALL_TX" value="0" />
|
||||
|
||||
<ctl name="EP5 TX Mixer INTERNAL_MIC_US_TX" value="0" />
|
||||
<ctl name="EP4 TX Mixer I2S_2_TX" value="0" />
|
||||
|
||||
<!-- AoC Mic setting -->
|
||||
|
@ -241,7 +245,7 @@
|
|||
<ctl name="MIC Record Soft Gain (dB)" value="-40" />
|
||||
|
||||
<!-- USB setting v2 -->
|
||||
<ctl name="USB Bus ID v2" value="2" />
|
||||
<ctl name="USB Bus ID v2" value="1" />
|
||||
<ctl name="USB Dev ID v2" value="2" />
|
||||
<ctl name="USB Playback EP ID v2" value="1" />
|
||||
<ctl name="USB Playback FORMAT v2" value="0" />
|
||||
|
@ -256,10 +260,14 @@
|
|||
|
||||
<ctl name="AoC Modem Downlink ASRC Mode" value="ASP_ON" />
|
||||
<ctl name="Voice Call Mic Source" value="Builtin_MIC" />
|
||||
<ctl name="Mic Spatial Module Enable" value="0" />
|
||||
<ctl name="Audio Capture Eraser Enable" value="0" />
|
||||
<ctl name="Hotword Tap Enable" value="0" />
|
||||
|
||||
<!-- In AIDL Hal, this controlled by audio hal directly to avoid aoc" -->
|
||||
<!-- crashing since speicifc order is needed between dsp mode and" -->
|
||||
<!-- spatial module." -->
|
||||
<ctl name="Mic Spatial Module Enable" value="0" />
|
||||
|
||||
<!-- audio PDM mic default state -->
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="-1" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="-1" />
|
||||
|
@ -267,6 +275,12 @@
|
|||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
|
||||
<ctl name="Audio Capture Mic Source" value="Builtin_MIC" />
|
||||
|
||||
<!-- audio Ultrasound mic default state -->
|
||||
<ctl name="BUILDIN US MIC ID CAPTURE LIST" id="0" value="-1" />
|
||||
<ctl name="BUILDIN US MIC ID CAPTURE LIST" id="1" value="-1" />
|
||||
<ctl name="BUILDIN US MIC ID CAPTURE LIST" id="2" value="-1" />
|
||||
<ctl name="BUILDIN US MIC ID CAPTURE LIST" id="3" value="-1" />
|
||||
|
||||
<!-- sidetone controls -->
|
||||
<ctl name="Sidetone Enable" value="0" />
|
||||
<ctl name="Sidetone Volume" value="-96" />
|
||||
|
@ -317,7 +331,6 @@
|
|||
<ctl name="Decoder Reference Enable" value="0" />
|
||||
<ctl name="LVM Enable" value="0" />
|
||||
|
||||
<ctl name="AoC Chirp Enable" value="0" />
|
||||
<!-- sidetone dynamic control -->
|
||||
<path name="sidetone-for handset">
|
||||
<!-- 1065353216 = 0x3f800000 = 1.0 -->
|
||||
|
@ -425,6 +438,10 @@
|
|||
<path name="primary-playback-0 -> usb" />
|
||||
</path>
|
||||
|
||||
<path name="primary-playback-0 -> hdmi-device">
|
||||
<path name="primary-playback-0 -> usb" />
|
||||
</path>
|
||||
|
||||
<path name="raw-playback -> speaker">
|
||||
<ctl name="TDM_0_RX Mixer RAW" value="1" />
|
||||
</path>
|
||||
|
@ -493,6 +510,10 @@
|
|||
<path name="raw-playback-0 -> usb" />
|
||||
</path>
|
||||
|
||||
<path name="raw-playback-0 -> hdmi-device">
|
||||
<path name="raw-playback-0 -> usb" />
|
||||
</path>
|
||||
|
||||
<path name="deep-buffer-playback -> speaker">
|
||||
<ctl name="TDM_0_RX Mixer EP6" value="1" />
|
||||
</path>
|
||||
|
@ -561,6 +582,10 @@
|
|||
<path name="deep-buffer-playback-0 -> usb" />
|
||||
</path>
|
||||
|
||||
<path name="deep-buffer-playback-0 -> hdmi-device">
|
||||
<path name="deep-buffer-playback-0 -> usb" />
|
||||
</path>
|
||||
|
||||
<path name="compress-offload-playback">
|
||||
<ctl name="LVM Enable" value="1" />
|
||||
</path>
|
||||
|
@ -634,6 +659,10 @@
|
|||
<path name="compress-offload-playback-0 -> usb" />
|
||||
</path>
|
||||
|
||||
<path name="compress-offload-playback-0 -> hdmi-device">
|
||||
<path name="compress-offload-playback-0 -> usb" />
|
||||
</path>
|
||||
|
||||
<path name="mmap-playback -> speaker">
|
||||
<ctl name="TDM_0_RX Mixer EP1" value="1" />
|
||||
</path>
|
||||
|
@ -702,6 +731,10 @@
|
|||
<path name="mmap-playback-0 -> usb" />
|
||||
</path>
|
||||
|
||||
<path name="mmap-playback-0 -> hdmi-device">
|
||||
<path name="mmap-playback-0 -> usb" />
|
||||
</path>
|
||||
|
||||
<path name="hifi-playback-0 -> usb">
|
||||
<ctl name="USB_RX Mixer HIFI" value="1" />
|
||||
</path>
|
||||
|
@ -782,6 +815,10 @@
|
|||
<path name="voip-playback-0 -> usb" />
|
||||
</path>
|
||||
|
||||
<path name="voip-playback-0 -> hdmi-device">
|
||||
<path name="voip-playback-0 -> usb" />
|
||||
</path>
|
||||
|
||||
<path name="immersive-playback -> speaker">
|
||||
<ctl name="TDM_0_RX Mixer IMSV" value="1" />
|
||||
</path>
|
||||
|
@ -818,6 +855,14 @@
|
|||
<path name="immersive-playback -> bt" />
|
||||
</path>
|
||||
|
||||
<path name="immersive-playback-0 -> bluetooth-low-energy-headset">
|
||||
<path name="immersive-playback -> bt" />
|
||||
</path>
|
||||
|
||||
<path name="immersive-playback-0 -> bluetooth-low-energy-speaker">
|
||||
<path name="immersive-playback -> bt" />
|
||||
</path>
|
||||
|
||||
<path name="immersive-playback-0 -> usb">
|
||||
<ctl name="USB_RX Mixer IMSV" value="1" />
|
||||
</path>
|
||||
|
@ -830,6 +875,58 @@
|
|||
<path name="immersive-playback-0 -> usb" />
|
||||
</path>
|
||||
|
||||
<path name="spatializer-offload-playback -> speaker">
|
||||
<ctl name="TDM_0_RX Mixer EP4" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="spatializer-offload-playback-0 -> speaker">
|
||||
<path name="spatializer-offload-playback -> speaker" />
|
||||
</path>
|
||||
|
||||
<path name="spatializer-offload-playback-0 -> speaker-earpiece">
|
||||
<path name="spatializer-offload-playback -> speaker" />
|
||||
</path>
|
||||
|
||||
<path name="spatializer-offload-playback-0 -> speaker-safe">
|
||||
<path name="spatializer-offload-playback -> speaker" />
|
||||
</path>
|
||||
|
||||
<path name="spatializer-offload-playback -> bt">
|
||||
<ctl name="BT_RX Mixer EP4" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="spatializer-offload-playback-0 -> bluetooth-a2dp-device">
|
||||
<path name="spatializer-offload-playback -> bt" />
|
||||
</path>
|
||||
|
||||
<path name="spatializer-offload-playback-0 -> bluetooth-a2dp-headphone">
|
||||
<path name="spatializer-offload-playback -> bt" />
|
||||
</path>
|
||||
|
||||
<path name="spatializer-offload-playback-0 -> bluetooth-a2dp-speaker">
|
||||
<path name="spatializer-offload-playback -> bt" />
|
||||
</path>
|
||||
|
||||
<path name="spatializer-offload-playback-0 -> bluetooth-low-energy-headset">
|
||||
<path name="spatializer-offload-playback -> bt" />
|
||||
</path>
|
||||
|
||||
<path name="spatializer-offload-playback-0 -> bluetooth-low-energy-speaker">
|
||||
<path name="spatializer-offload-playback -> bt" />
|
||||
</path>
|
||||
|
||||
<path name="spatializer-offload-playback-0 -> usb">
|
||||
<ctl name="USB_RX Mixer EP4" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="spatializer-offload-playback-0 -> usb-headset">
|
||||
<path name="spatializer-offload-playback-0 -> usb" />
|
||||
</path>
|
||||
|
||||
<path name="spatializer-offload-playback-0 -> usb-device">
|
||||
<path name="spatializer-offload-playback-0 -> usb" />
|
||||
</path>
|
||||
|
||||
<path name="haptic-playback -> speaker">
|
||||
<ctl name="TDM_0_RX Mixer EP3" value="1" />
|
||||
<ctl name="TDM_0_RX Mixer EP8" value="1" />
|
||||
|
@ -901,6 +998,10 @@
|
|||
<path name="haptic-playback-0 -> usb" />
|
||||
</path>
|
||||
|
||||
<path name="haptic-playback-0 -> hdmi-device">
|
||||
<path name="haptic-playback-0 -> usb" />
|
||||
</path>
|
||||
|
||||
<!-- audio capture dynamic route -->
|
||||
<path name="microphones -> primary-capture-0">
|
||||
<ctl name="EP1 TX Mixer INTERNAL_MIC_TX" value="1" />
|
||||
|
@ -986,13 +1087,42 @@
|
|||
<ctl name="EP3 TX Mixer BT_TX" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="microphones -> sound-trigger-capture-0">
|
||||
<path name="microphones -> sound-trigger-capture-0" />
|
||||
|
||||
<path name="microphones -> sound-trigger-tap-capture-0" />
|
||||
|
||||
<path name="microphones -> hotword-lookback-capture-0" />
|
||||
|
||||
<path name="ultrasound-microphones -> ultrasound-capture-0">
|
||||
<ctl name="EP5 TX Mixer INTERNAL_MIC_US_TX" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="microphones -> sound-trigger-tap-capture-0">
|
||||
<path name="microphones -> mmap-capture-0">
|
||||
<ctl name="EP2 TX Mixer INTERNAL_MIC_TX" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="microphones -> hotword-lookback-capture-0">
|
||||
<path name="back-microphones -> mmap-capture-0">
|
||||
<path name="microphones -> mmap-capture-0" />
|
||||
</path>
|
||||
|
||||
<path name="usb-microphones -> mmap-capture-0">
|
||||
<ctl name="EP2 TX Mixer USB_TX" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="usb-headset-microphones -> mmap-capture-0">
|
||||
<path name="usb-microphones -> mmap-capture-0" />
|
||||
</path>
|
||||
|
||||
<path name="usb-device-microphones -> mmap-capture-0">
|
||||
<path name="usb-microphones -> mmap-capture-0" />
|
||||
</path>
|
||||
|
||||
<path name="bluetooth-sco-headset-microphones -> mmap-capture-0">
|
||||
<ctl name="EP2 TX Mixer BT_TX" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="bluetooth-low-energy-headset-microphones -> mmap-capture-0">
|
||||
<ctl name="EP2 TX Mixer BT_TX" value="1" />
|
||||
</path>
|
||||
|
||||
<!-- voice-call dynamic route -->
|
||||
|
@ -1092,6 +1222,10 @@
|
|||
<ctl name="Incall Capture Stream0" value="UL_DL" />
|
||||
</path>
|
||||
|
||||
<path name="telephony-rx -> in-call-capture-0">
|
||||
<ctl name="Incall Capture Stream0" value="DL" />
|
||||
</path>
|
||||
|
||||
<path name="telephony-rx (VOICE_DOWNLINK) -> in-call-capture-1">
|
||||
<ctl name="Incall Capture Stream1" value="DL" />
|
||||
</path>
|
||||
|
@ -1104,6 +1238,10 @@
|
|||
<ctl name="Incall Capture Stream1" value="UL_DL" />
|
||||
</path>
|
||||
|
||||
<path name="telephony-rx -> in-call-capture-1">
|
||||
<ctl name="Incall Capture Stream1" value="DL" />
|
||||
</path>
|
||||
|
||||
<path name="telephony-rx (VOICE_DOWNLINK) -> in-call-capture-2">
|
||||
<ctl name="Incall Capture Stream2" value="DL" />
|
||||
</path>
|
||||
|
@ -1116,28 +1254,8 @@
|
|||
<ctl name="Incall Capture Stream2" value="UL_DL" />
|
||||
</path>
|
||||
|
||||
<path name="microphones -> mmap-capture-0">
|
||||
<ctl name="EP2 TX Mixer INTERNAL_MIC_TX" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="usb-microphones -> mmap-capture-0">
|
||||
<ctl name="EP2 TX Mixer USB_TX" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="usb-headset-microphones -> mmap-capture-0">
|
||||
<path name="usb-microphones -> mmap-capture-0" />
|
||||
</path>
|
||||
|
||||
<path name="usb-device-microphones -> mmap-capture-0">
|
||||
<path name="usb-microphones -> mmap-capture-0" />
|
||||
</path>
|
||||
|
||||
<path name="bluetooth-sco-headset-microphones -> mmap-capture-0">
|
||||
<ctl name="EP2 TX Mixer BT_TX" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="bluetooth-low-energy-headset-microphones -> mmap-capture-0">
|
||||
<ctl name="EP2 TX Mixer BT_TX" value="1" />
|
||||
<path name="telephony-rx -> in-call-capture-2">
|
||||
<ctl name="Incall Capture Stream2" value="DL" />
|
||||
</path>
|
||||
|
||||
<!-- codec setting -->
|
||||
|
@ -1152,7 +1270,13 @@
|
|||
<ctl name="PCM Source" value="ASP" />
|
||||
<ctl name="AMP PCM Gain" value="7" />
|
||||
<ctl name="Main AMP Enable Switch" value="1" />
|
||||
<ctl name="AoC Chirp Enable" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="speaker-earpiece (VOICE,HAC)">
|
||||
<ctl name="PCM Source" value="ASP" />
|
||||
<ctl name="AMP PCM Gain" value="10" />
|
||||
<ctl name="Main AMP Enable Switch" value="1" />
|
||||
<ctl name="HAC AMP EN" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="speaker">
|
||||
|
@ -1167,7 +1291,6 @@
|
|||
<path name="speaker (VOICE)">
|
||||
<ctl name="ASPTX1 Slot Position" value="1" />
|
||||
<ctl name="R ASPTX1 Slot Position" value="0" />
|
||||
<!--<ctl name="R DSP RX2 Source" value="ASPRX2" />-->
|
||||
<ctl name="R Main AMP Enable Switch" value="1" />
|
||||
<ctl name="Main AMP Enable Switch" value="1" />
|
||||
<!-- load Enable FIR -->
|
||||
|
@ -1185,30 +1308,28 @@
|
|||
</path>
|
||||
|
||||
<!-- Tx device -->
|
||||
<path name="microphones">
|
||||
<path name="builtin-mic-id-capture-list">
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="3" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="1" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
|
||||
</path>
|
||||
|
||||
<path name="microphones">
|
||||
<path name="builtin-mic-id-capture-list" />
|
||||
<ctl name="MIC DC Blocker" value="1" />
|
||||
<ctl name="MIC Record Soft Gain (dB)" value="22" />
|
||||
</path>
|
||||
|
||||
<path name="microphones (VOICE)">
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="3" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
|
||||
<path name="builtin-mic-id-capture-list" />
|
||||
<ctl name="MIC DC Blocker" value="1" />
|
||||
<ctl name="MIC HW Gain At High Power Mode (cB)" value="130" />
|
||||
<ctl name="MIC Record Soft Gain (dB)" value="0" />
|
||||
</path>
|
||||
|
||||
<path name="microphones (VOICE_RECOGNITION)">
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="3" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
|
||||
<path name="builtin-mic-id-capture-list" />
|
||||
<ctl name="MIC DC Blocker" value="1" />
|
||||
<ctl name="MIC Record Soft Gain (dB)" value="22" />
|
||||
</path>
|
||||
|
@ -1220,91 +1341,50 @@
|
|||
</path>
|
||||
|
||||
<path name="microphones (SOUND_TRIGGER_AEC)">
|
||||
<ctl name="Audio Capture Eraser Enable" value="1" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="3" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
|
||||
<path name="builtin-mic-id-capture-list" />
|
||||
<ctl name="MIC DC Blocker" value="1" />
|
||||
<ctl name="Audio Capture Eraser Enable" value="1" />
|
||||
<ctl name="Audio Capture Mic Source" value="ERASER" />
|
||||
<ctl name="MIC Record Soft Gain (dB)" value="0" />
|
||||
</path>
|
||||
|
||||
<path name="back-microphones">
|
||||
<ctl name="Mic Spatial Module Enable" value="1" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="3" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
|
||||
<path name="microphones (CAMCORDER)">
|
||||
<path name="builtin-mic-id-capture-list" />
|
||||
<ctl name="MIC DC Blocker" value="1" />
|
||||
<ctl name="MIC Record Soft Gain (dB)" value="22" />
|
||||
<ctl name="MIC Record Soft Gain (dB)" value="0" />
|
||||
</path>
|
||||
|
||||
<path name="microphones (UNPROCESSED)">
|
||||
<path name="builtin-mic-id-capture-list" />
|
||||
<ctl name="MIC DC Blocker" value="1" />
|
||||
<ctl name="MIC Record Soft Gain (dB)" value="5" />
|
||||
</path>
|
||||
|
||||
<path name="back-microphones">
|
||||
<path name="microphones" />
|
||||
</path>
|
||||
|
||||
<path name="back-microphones (VOICE)">
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="3" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
|
||||
<ctl name="MIC DC Blocker" value="1" />
|
||||
<ctl name="MIC HW Gain At High Power Mode (cB)" value="130" />
|
||||
<ctl name="MIC Record Soft Gain (dB)" value="0" />
|
||||
</path>
|
||||
|
||||
<path name="microphones (CAMCORDER)">
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="3" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
|
||||
<ctl name="MIC DC Blocker" value="1" />
|
||||
<ctl name="MIC Record Soft Gain (dB)" value="0" />
|
||||
<path name="microphones (VOICE)" />
|
||||
</path>
|
||||
|
||||
<path name="back-microphones (CAMCORDER)">
|
||||
<path name="microphones (CAMCORDER)" />
|
||||
</path>
|
||||
|
||||
<path name="camcorder-mic">
|
||||
<ctl name="Mic Spatial Module Enable" value="1" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="3" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
|
||||
<ctl name="MIC DC Blocker" value="1" />
|
||||
<ctl name="MIC Record Soft Gain (dB)" value="0" />
|
||||
<path name="back-microphones (UNPROCESSED)">
|
||||
<path name="microphones (UNPROCESSED)" />
|
||||
</path>
|
||||
|
||||
<path name="unprocessed-mic">
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="3" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
|
||||
<ctl name="MIC DC Blocker" value="1" />
|
||||
<ctl name="MIC Record Soft Gain (dB)" value="5" />
|
||||
</path>
|
||||
|
||||
<path name="unprocessed-dual-mic">
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="3" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
|
||||
<ctl name="MIC DC Blocker" value="1" />
|
||||
<ctl name="MIC Record Soft Gain (dB)" value="5" />
|
||||
</path>
|
||||
|
||||
<path name="unprocessed-triple-mic">
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="3" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
|
||||
<ctl name="MIC DC Blocker" value="1" />
|
||||
<ctl name="MIC Record Soft Gain (dB)" value="5" />
|
||||
<path name="ultrasound-microphones">
|
||||
<ctl name="BUILDIN US MIC ID CAPTURE LIST" id="0" value="0" />
|
||||
<ctl name="BUILDIN US MIC ID CAPTURE LIST" id="1" value="1" />
|
||||
<ctl name="BUILDIN US MIC ID CAPTURE LIST" id="2" value="-1" />
|
||||
<ctl name="BUILDIN US MIC ID CAPTURE LIST" id="3" value="-1" />
|
||||
</path>
|
||||
|
||||
<path name="bluetooth-sco-headset-microphones">
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="3" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
|
||||
<path name="builtin-mic-id-capture-list" />
|
||||
<ctl name="Audio Capture Mic Source" value="BT_MIC" />
|
||||
<ctl name="Voice Call Mic Source" value="BT_MIC" />
|
||||
<ctl name="MIC Record Soft Gain (dB)" value="0" />
|
||||
|
@ -1315,10 +1395,7 @@
|
|||
</path>
|
||||
|
||||
<path name="usb-headset-microphones">
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="3" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
|
||||
<path name="builtin-mic-id-capture-list" />
|
||||
<ctl name="Audio Capture Mic Source" value="USB_MIC" />
|
||||
<ctl name="Voice Call Mic Source" value="USB_MIC" />
|
||||
<ctl name="MIC Record Soft Gain (dB)" value="0" />
|
||||
|
@ -1396,8 +1473,8 @@
|
|||
</path>
|
||||
|
||||
<path name="adapted-voice-earpiece">
|
||||
<ctl name="Boost Peak Current Limit" value="3.50A" />
|
||||
<ctl name="Digital PCM Volume" value="817" />
|
||||
<ctl name="Boost Peak Current Limit" value="3.50A" />
|
||||
<ctl name="Digital PCM Volume" value="817" />
|
||||
</path>
|
||||
<path name="adapted-voice-earpiece-battery-throttled">
|
||||
<path name="adapted-voice-earpiece" />
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
AUDIO_TABLE_FOLDER := komodo
|
||||
|
||||
# Choose AIDL config by build flag.
|
||||
ifeq ($(RELEASE_PIXEL_AIDL_AUDIO_HAL),true)
|
||||
ifeq ($(USE_AUDIO_HAL_AIDL),true)
|
||||
PRODUCT_SOONG_NAMESPACES += device/google/caimito/audio/$(AUDIO_TABLE_FOLDER)/aidl_config
|
||||
PRODUCT_PACKAGES += audio_aidl_configs
|
||||
|
||||
|
@ -28,6 +28,7 @@ PRODUCT_COPY_FILES += \
|
|||
device/google/caimito/audio/$(AUDIO_TABLE_FOLDER)/config/audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration.xml \
|
||||
device/google/caimito/audio/$(AUDIO_TABLE_FOLDER)/config/audio_policy_configuration_le_offload_disabled.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration_le_offload_disabled.xml \
|
||||
device/google/caimito/audio/$(AUDIO_TABLE_FOLDER)/config/audio_policy_configuration_a2dp_offload_disabled.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration_a2dp_offload_disabled.xml \
|
||||
device/google/caimito/audio/$(AUDIO_TABLE_FOLDER)/config/audio_policy_volumes.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_volumes.xml \
|
||||
device/google/caimito/audio/$(AUDIO_TABLE_FOLDER)/config/audio_platform_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_platform_configuration.xml \
|
||||
device/google/caimito/audio/$(AUDIO_TABLE_FOLDER)/config/sound_trigger_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sound_trigger_configuration.xml \
|
||||
device/google/caimito/audio/$(AUDIO_TABLE_FOLDER)/config/bluetooth_with_le_audio_policy_configuration_7_0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_audio_policy_configuration_7_0.xml
|
||||
|
@ -51,6 +52,7 @@ PRODUCT_COPY_FILES += $(call copy-files,$(wildcard $(SPK_FIRMWARE_FULL_PATH)/*)
|
|||
PRODUCT_SOONG_NAMESPACES += device/google/caimito/audio/$(AUDIO_TABLE_FOLDER)/tuning
|
||||
PRODUCT_PACKAGES += \
|
||||
recording.gatf \
|
||||
smartfeature.gstf \
|
||||
BLUETOOTH.dat \
|
||||
HANDSFREE.dat \
|
||||
HANDSET.dat \
|
||||
|
|
|
@ -249,7 +249,7 @@
|
|||
|
||||
<features>
|
||||
<feature name="BatteryThrottle=Type:BCL_VOLTAGE,Name:BCL_AUDIO_BAACL,Strategy:MediaSpeakerAndScreenOn"/>
|
||||
<feature name="PlaybackThermalThrottle=PollWaitMs:20000,ThermistorName:VIRTUAL-SKIN-SPEAKER,ThermistorType:UNKNOWN,ThrottlingSeverity:LIGHT"/>
|
||||
<feature name="PlaybackThermalThrottle=PollWaitMs:20000,ThermistorName:VIRTUAL-SKIN-SPEAKER,ThermistorType:UNKNOWN,ThrottlingSeverity:LIGHT,SpeakerPowerPollWaitMs:5000"/>
|
||||
</features>
|
||||
|
||||
<cfg_attr>
|
||||
|
@ -300,13 +300,14 @@
|
|||
<device_handle>
|
||||
<handler libname="audio_bt_aoc.so"/>
|
||||
<handler libname="audio_usb_aoc.so" argu="MaxSamplingRate=96000,UnsupportedFormat=S24_LE"/>
|
||||
<handler libname="audio_hdmi_aoc.so"/>
|
||||
</device_handle>
|
||||
|
||||
<external_module>
|
||||
<module libname="audio_spk_35l41.so" argu="AcousticShockProtection"/>
|
||||
<module libname="audio_waves_aoc.so" argu="Sink=SPK:1 ThermistorsName=VIRTUAL-SKIN-SPEAKER Extensions=StereoSpatializerIndicator"/>
|
||||
<module libname="audio_cca_aoc.so" argu="UnsupportBands=48000 ExSharedBands=48000 VoIPMode=Dl"/>
|
||||
<module libname="audio_fortemedia_aoc.so" argu="MCPS_TABLE=y DL_CH=y VoIP_DLCHs=SPK:2,USB:2 VoIP_Rate=32000 SHARED_MODULE=1130578253"/>
|
||||
<module libname="audio_cca_aoc.so" argu="UnsupportBands=48000 ExSharedBands=48000 VoIPMode=Dl SupportBWE=y"/>
|
||||
<module libname="audio_fortemedia_aoc.so" argu="APPLY_WB_TUNING_FOR_NB_VOICE=y MCPS_TABLE=y DL_CH=y VoIP_DLCHs=SPK:2,USB:2,BT:2 VoIP_Rate=32000 SHARED_MODULE=1130578253"/>
|
||||
<module libname="audio_sounddose_aoc.so"/>
|
||||
<module libname="liboffloadeffect.so"/>
|
||||
<module libname="audio_amcs_ext.so"/>
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</mixPort>
|
||||
<mixPort name="compressed_offload" role="source"
|
||||
flags="AUDIO_OUTPUT_FLAG_DIRECT AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD AUDIO_OUTPUT_FLAG_NON_BLOCKING">
|
||||
flags="AUDIO_OUTPUT_FLAG_DIRECT AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD AUDIO_OUTPUT_FLAG_NON_BLOCKING AUDIO_OUTPUT_FLAG_GAPLESS_OFFLOAD">
|
||||
<profile name="" format="AUDIO_FORMAT_MP3"
|
||||
samplingRates="8000 16000 24000 32000 44100 48000"
|
||||
channelMasks="AUDIO_CHANNEL_OUT_STEREO AUDIO_CHANNEL_OUT_MONO"/>
|
||||
|
@ -93,7 +93,7 @@
|
|||
samplingRates="8000 11025 12000 16000 22050 24000 32000 44100 48000"
|
||||
channelMasks="AUDIO_CHANNEL_IN_MONO AUDIO_CHANNEL_IN_STEREO"/>
|
||||
</mixPort>
|
||||
<mixPort name="incall capture" role="sink">
|
||||
<mixPort name="incall capture" role="sink" maxActiveCount="2" maxOpenCount="2">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="48000"
|
||||
channelMasks="AUDIO_CHANNEL_IN_MONO"/>
|
||||
|
@ -148,7 +148,7 @@
|
|||
</devicePort>
|
||||
<devicePort tagName="USB Headset Out" type="AUDIO_DEVICE_OUT_USB_HEADSET" role="sink">
|
||||
</devicePort>
|
||||
<devicePort tagName="Aux Digital" type="AUDIO_DEVICE_OUT_AUX_DIGITAL" role="sink">
|
||||
<devicePort tagName="HDMI Out" type="AUDIO_DEVICE_OUT_HDMI" role="sink">
|
||||
</devicePort>
|
||||
<devicePort tagName="Telephony Tx" type="AUDIO_DEVICE_OUT_TELEPHONY_TX" role="sink">
|
||||
</devicePort>
|
||||
|
@ -227,6 +227,8 @@
|
|||
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,hifi_playback,compressed_offload,immersive_out"/>
|
||||
<route type="mix" sink="USB Headset Out"
|
||||
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,hifi_playback,compressed_offload,immersive_out"/>
|
||||
<route type="mix" sink="HDMI Out"
|
||||
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,compressed_offload"/>
|
||||
<route type="mix" sink="BT SCO"
|
||||
sources="primary output,deep buffer,haptic,voip_rx,compressed_offload,raw,mmap_no_irq_out"/>
|
||||
<route type="mix" sink="BT SCO Headset"
|
||||
|
|
|
@ -93,7 +93,7 @@
|
|||
samplingRates="8000 11025 12000 16000 22050 24000 32000 44100 48000"
|
||||
channelMasks="AUDIO_CHANNEL_IN_MONO AUDIO_CHANNEL_IN_STEREO"/>
|
||||
</mixPort>
|
||||
<mixPort name="incall capture" role="sink">
|
||||
<mixPort name="incall capture" role="sink" maxActiveCount="2" maxOpenCount="2">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="48000"
|
||||
channelMasks="AUDIO_CHANNEL_IN_MONO"/>
|
||||
|
@ -148,7 +148,7 @@
|
|||
</devicePort>
|
||||
<devicePort tagName="USB Headset Out" type="AUDIO_DEVICE_OUT_USB_HEADSET" role="sink">
|
||||
</devicePort>
|
||||
<devicePort tagName="Aux Digital" type="AUDIO_DEVICE_OUT_AUX_DIGITAL" role="sink">
|
||||
<devicePort tagName="HDMI Out" type="AUDIO_DEVICE_OUT_HDMI" role="sink">
|
||||
</devicePort>
|
||||
<devicePort tagName="Telephony Tx" type="AUDIO_DEVICE_OUT_TELEPHONY_TX" role="sink">
|
||||
</devicePort>
|
||||
|
@ -183,6 +183,8 @@
|
|||
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,hifi_playback,compressed_offload,immersive_out"/>
|
||||
<route type="mix" sink="USB Headset Out"
|
||||
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,hifi_playback,compressed_offload,immersive_out"/>
|
||||
<route type="mix" sink="HDMI Out"
|
||||
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,compressed_offload"/>
|
||||
<route type="mix" sink="BT SCO"
|
||||
sources="primary output,deep buffer,haptic,voip_rx,compressed_offload,raw,mmap_no_irq_out"/>
|
||||
<route type="mix" sink="BT SCO Headset"
|
||||
|
|
|
@ -89,7 +89,7 @@
|
|||
samplingRates="8000 11025 12000 16000 22050 24000 32000 44100 48000"
|
||||
channelMasks="AUDIO_CHANNEL_IN_MONO AUDIO_CHANNEL_IN_STEREO"/>
|
||||
</mixPort>
|
||||
<mixPort name="incall capture" role="sink">
|
||||
<mixPort name="incall capture" role="sink" maxActiveCount="2" maxOpenCount="2">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="48000"
|
||||
channelMasks="AUDIO_CHANNEL_IN_MONO"/>
|
||||
|
@ -144,7 +144,7 @@
|
|||
</devicePort>
|
||||
<devicePort tagName="USB Headset Out" type="AUDIO_DEVICE_OUT_USB_HEADSET" role="sink">
|
||||
</devicePort>
|
||||
<devicePort tagName="Aux Digital" type="AUDIO_DEVICE_OUT_AUX_DIGITAL" role="sink">
|
||||
<devicePort tagName="HDMI Out" type="AUDIO_DEVICE_OUT_HDMI" role="sink">
|
||||
</devicePort>
|
||||
<devicePort tagName="Telephony Tx" type="AUDIO_DEVICE_OUT_TELEPHONY_TX" role="sink">
|
||||
</devicePort>
|
||||
|
@ -179,6 +179,8 @@
|
|||
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,hifi_playback"/>
|
||||
<route type="mix" sink="USB Headset Out"
|
||||
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,hifi_playback"/>
|
||||
<route type="mix" sink="HDMI Out"
|
||||
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx"/>
|
||||
<route type="mix" sink="BT SCO"
|
||||
sources="primary output,deep buffer,haptic,voip_rx,raw,mmap_no_irq_out"/>
|
||||
<route type="mix" sink="BT SCO Headset"
|
||||
|
|
|
@ -93,7 +93,7 @@
|
|||
samplingRates="8000 11025 12000 16000 22050 24000 32000 44100 48000"
|
||||
channelMasks="AUDIO_CHANNEL_IN_MONO AUDIO_CHANNEL_IN_STEREO"/>
|
||||
</mixPort>
|
||||
<mixPort name="incall capture" role="sink">
|
||||
<mixPort name="incall capture" role="sink" maxActiveCount="2" maxOpenCount="2">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="48000"
|
||||
channelMasks="AUDIO_CHANNEL_IN_MONO"/>
|
||||
|
@ -148,7 +148,7 @@
|
|||
</devicePort>
|
||||
<devicePort tagName="USB Headset Out" type="AUDIO_DEVICE_OUT_USB_HEADSET" role="sink">
|
||||
</devicePort>
|
||||
<devicePort tagName="Aux Digital" type="AUDIO_DEVICE_OUT_AUX_DIGITAL" role="sink">
|
||||
<devicePort tagName="HDMI Out" type="AUDIO_DEVICE_OUT_HDMI" role="sink">
|
||||
</devicePort>
|
||||
<devicePort tagName="Telephony Tx" type="AUDIO_DEVICE_OUT_TELEPHONY_TX" role="sink">
|
||||
</devicePort>
|
||||
|
@ -204,6 +204,8 @@
|
|||
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,hifi_playback,compressed_offload,immersive_out"/>
|
||||
<route type="mix" sink="USB Headset Out"
|
||||
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,hifi_playback,compressed_offload,immersive_out"/>
|
||||
<route type="mix" sink="HDMI Out"
|
||||
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,compressed_offload"/>
|
||||
<route type="mix" sink="BT SCO"
|
||||
sources="primary output,deep buffer,haptic,voip_rx,compressed_offload,raw,mmap_no_irq_out"/>
|
||||
<route type="mix" sink="BT SCO Headset"
|
||||
|
|
265
audio/komodo/config/audio_policy_volumes.xml
Normal file
265
audio/komodo/config/audio_policy_volumes.xml
Normal file
|
@ -0,0 +1,265 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Copyright (C) 2015 The Android Open Source Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
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.
|
||||
-->
|
||||
<!-- Volume section defines a volume curve for a given use case and device category.
|
||||
It contains a list of points of this curve expressing the attenuation in Millibels for a given
|
||||
volume index from 0 to 100.
|
||||
<volume stream=”AUDIO_STREAM_MUSIC” deviceCategory=””>
|
||||
<point>0,-9600</point>
|
||||
<point>100,0</point>
|
||||
</volume>
|
||||
-->
|
||||
|
||||
<volumes>
|
||||
<volume stream="AUDIO_STREAM_VOICE_CALL" deviceCategory="DEVICE_CATEGORY_HEADSET">
|
||||
<point>0,-4200</point>
|
||||
<point>33,-2800</point>
|
||||
<point>66,-1400</point>
|
||||
<point>100,0</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_VOICE_CALL" deviceCategory="DEVICE_CATEGORY_SPEAKER">
|
||||
<point>0,-2400</point>
|
||||
<point>33,-1600</point>
|
||||
<point>66,-800</point>
|
||||
<point>100,0</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_VOICE_CALL" deviceCategory="DEVICE_CATEGORY_EARPIECE">
|
||||
<point>0,-2400</point>
|
||||
<point>33,-1600</point>
|
||||
<point>66,-800</point>
|
||||
<point>100,0</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_VOICE_CALL" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
|
||||
ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_VOICE_CALL" deviceCategory="DEVICE_CATEGORY_HEARING_AID"
|
||||
ref="DEFAULT_NON_MUTABLE_HEARING_AID_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_SYSTEM" deviceCategory="DEVICE_CATEGORY_HEADSET">
|
||||
<point>1,-3000</point>
|
||||
<point>33,-2600</point>
|
||||
<point>66,-2200</point>
|
||||
<point>100,-1800</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_SYSTEM" deviceCategory="DEVICE_CATEGORY_SPEAKER">
|
||||
<point>1,-5200</point>
|
||||
<point>13,-5000</point>
|
||||
<point>28,-4400</point>
|
||||
<point>56,-3380</point>
|
||||
<point>71,-3120</point>
|
||||
<point>85,-2750</point>
|
||||
<point>100,-2150</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_SYSTEM" deviceCategory="DEVICE_CATEGORY_EARPIECE"
|
||||
ref="DEFAULT_SYSTEM_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_SYSTEM" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
|
||||
ref="DEFAULT_DEVICE_CATEGORY_EXT_MEDIA_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_SYSTEM" deviceCategory="DEVICE_CATEGORY_HEARING_AID"
|
||||
ref="DEFAULT_HEARING_AID_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_RING" deviceCategory="DEVICE_CATEGORY_HEADSET"
|
||||
ref="DEFAULT_DEVICE_CATEGORY_HEADSET_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_RING" deviceCategory="DEVICE_CATEGORY_SPEAKER">
|
||||
<point>1,-4935</point>
|
||||
<point>14,-3320</point>
|
||||
<point>28,-2960</point>
|
||||
<point>71,-1400</point>
|
||||
<point>100,0</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_RING" deviceCategory="DEVICE_CATEGORY_EARPIECE"
|
||||
ref="DEFAULT_DEVICE_CATEGORY_EARPIECE_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_RING" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
|
||||
ref="DEFAULT_DEVICE_CATEGORY_EXT_MEDIA_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_RING" deviceCategory="DEVICE_CATEGORY_HEARING_AID"
|
||||
ref="DEFAULT_HEARING_AID_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_MUSIC" deviceCategory="DEVICE_CATEGORY_HEADSET"
|
||||
ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_MUSIC" deviceCategory="DEVICE_CATEGORY_SPEAKER">
|
||||
<point>1,-6100</point>
|
||||
<point>4,-5910</point>
|
||||
<point>8,-5634</point>
|
||||
<point>12,-5300</point>
|
||||
<point>16,-4995</point>
|
||||
<point>20,-4670</point>
|
||||
<point>24,-4300</point>
|
||||
<point>28,-3944</point>
|
||||
<point>32,-3705</point>
|
||||
<point>36,-3472</point>
|
||||
<point>40,-3200</point>
|
||||
<point>44,-3020</point>
|
||||
<point>48,-2800</point>
|
||||
<point>52,-2575</point>
|
||||
<point>56,-2300</point>
|
||||
<point>60,-2130</point>
|
||||
<point>64,-1925</point>
|
||||
<point>68,-1710</point>
|
||||
<point>72,-1600</point>
|
||||
<point>76,-1500</point>
|
||||
<point>80,-1375</point>
|
||||
<point>84,-1277</point>
|
||||
<point>88,-991</point>
|
||||
<point>92,-741</point>
|
||||
<point>96,-475</point>
|
||||
<point>100,0</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_MUSIC" deviceCategory="DEVICE_CATEGORY_EARPIECE"
|
||||
ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_MUSIC" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
|
||||
ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_MUSIC" deviceCategory="DEVICE_CATEGORY_HEARING_AID"
|
||||
ref="DEFAULT_HEARING_AID_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_ALARM" deviceCategory="DEVICE_CATEGORY_HEADSET"
|
||||
ref="DEFAULT_NON_MUTABLE_HEADSET_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_ALARM" deviceCategory="DEVICE_CATEGORY_SPEAKER">
|
||||
<point>0,-5600</point>
|
||||
<point>14,-4670</point>
|
||||
<point>28,-3060</point>
|
||||
<point>71,-1050</point>
|
||||
<point>100,-100</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_ALARM" deviceCategory="DEVICE_CATEGORY_EARPIECE"
|
||||
ref="DEFAULT_NON_MUTABLE_EARPIECE_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_ALARM" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
|
||||
ref="DEFAULT_NON_MUTABLE_EXT_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_ALARM" deviceCategory="DEVICE_CATEGORY_HEARING_AID"
|
||||
ref="DEFAULT_NON_MUTABLE_HEARING_AID_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_NOTIFICATION" deviceCategory="DEVICE_CATEGORY_HEADSET"
|
||||
ref="DEFAULT_DEVICE_CATEGORY_HEADSET_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_NOTIFICATION" deviceCategory="DEVICE_CATEGORY_SPEAKER">
|
||||
<point>1,-6350</point>
|
||||
<point>14,-4300</point>
|
||||
<point>28,-3710</point>
|
||||
<point>66,-2100</point>
|
||||
<point>85,-1550</point>
|
||||
<point>100,-780</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_NOTIFICATION" deviceCategory="DEVICE_CATEGORY_EARPIECE"
|
||||
ref="DEFAULT_DEVICE_CATEGORY_EARPIECE_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_NOTIFICATION" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
|
||||
ref="DEFAULT_DEVICE_CATEGORY_EXT_MEDIA_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_NOTIFICATION" deviceCategory="DEVICE_CATEGORY_HEARING_AID"
|
||||
ref="DEFAULT_DEVICE_CATEGORY_HEADSET_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_BLUETOOTH_SCO" deviceCategory="DEVICE_CATEGORY_HEADSET">
|
||||
<point>0,-4200</point>
|
||||
<point>33,-2800</point>
|
||||
<point>66,-1400</point>
|
||||
<point>100,0</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_BLUETOOTH_SCO" deviceCategory="DEVICE_CATEGORY_SPEAKER">
|
||||
<point>0,-2400</point>
|
||||
<point>33,-1600</point>
|
||||
<point>66,-800</point>
|
||||
<point>100,0</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_BLUETOOTH_SCO" deviceCategory="DEVICE_CATEGORY_EARPIECE">
|
||||
<point>0,-4200</point>
|
||||
<point>33,-2800</point>
|
||||
<point>66,-1400</point>
|
||||
<point>100,0</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_BLUETOOTH_SCO" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
|
||||
ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_BLUETOOTH_SCO" deviceCategory="DEVICE_CATEGORY_HEARING_AID"
|
||||
ref="DEFAULT_HEARING_AID_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_ENFORCED_AUDIBLE" deviceCategory="DEVICE_CATEGORY_HEADSET">
|
||||
<point>1,-3000</point>
|
||||
<point>33,-2600</point>
|
||||
<point>66,-2200</point>
|
||||
<point>100,-1800</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_ENFORCED_AUDIBLE" deviceCategory="DEVICE_CATEGORY_SPEAKER">
|
||||
<point>1,-5200</point>
|
||||
<point>13,-5000</point>
|
||||
<point>28,-4400</point>
|
||||
<point>56,-3380</point>
|
||||
<point>71,-3120</point>
|
||||
<point>85,-2750</point>
|
||||
<point>100,-2150</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_ENFORCED_AUDIBLE" deviceCategory="DEVICE_CATEGORY_EARPIECE"
|
||||
ref="DEFAULT_SYSTEM_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_ENFORCED_AUDIBLE" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
|
||||
ref="DEFAULT_DEVICE_CATEGORY_EXT_MEDIA_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_ENFORCED_AUDIBLE" deviceCategory="DEVICE_CATEGORY_HEARING_AID"
|
||||
ref="DEFAULT_HEARING_AID_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_DTMF" deviceCategory="DEVICE_CATEGORY_HEADSET">
|
||||
<point>1,-3000</point>
|
||||
<point>33,-2600</point>
|
||||
<point>66,-2200</point>
|
||||
<point>100,-1800</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_DTMF" deviceCategory="DEVICE_CATEGORY_SPEAKER">
|
||||
<point>1,-6600</point>
|
||||
<point>13,-6220</point>
|
||||
<point>28,-5500</point>
|
||||
<point>42,-4600</point>
|
||||
<point>57,-4250</point>
|
||||
<point>100,-2780</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_DTMF" deviceCategory="DEVICE_CATEGORY_EARPIECE"
|
||||
ref="DEFAULT_SYSTEM_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_DTMF" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
|
||||
ref="DEFAULT_DEVICE_CATEGORY_EXT_MEDIA_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_DTMF" deviceCategory="DEVICE_CATEGORY_HEARING_AID"
|
||||
ref="DEFAULT_HEARING_AID_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_TTS" deviceCategory="DEVICE_CATEGORY_HEADSET"
|
||||
ref="SILENT_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_TTS" deviceCategory="DEVICE_CATEGORY_SPEAKER"
|
||||
ref="FULL_SCALE_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_TTS" deviceCategory="DEVICE_CATEGORY_EARPIECE"
|
||||
ref="SILENT_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_TTS" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
|
||||
ref="SILENT_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_TTS" deviceCategory="DEVICE_CATEGORY_HEARING_AID"
|
||||
ref="SILENT_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_ACCESSIBILITY" deviceCategory="DEVICE_CATEGORY_HEADSET"
|
||||
ref="DEFAULT_NON_MUTABLE_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_ACCESSIBILITY" deviceCategory="DEVICE_CATEGORY_SPEAKER"
|
||||
ref="DEFAULT_NON_MUTABLE_SPEAKER_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_ACCESSIBILITY" deviceCategory="DEVICE_CATEGORY_EARPIECE"
|
||||
ref="DEFAULT_NON_MUTABLE_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_ACCESSIBILITY" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
|
||||
ref="DEFAULT_NON_MUTABLE_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_ACCESSIBILITY" deviceCategory="DEVICE_CATEGORY_HEARING_AID"
|
||||
ref="DEFAULT_NON_MUTABLE_HEARING_AID_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_ASSISTANT" deviceCategory="DEVICE_CATEGORY_HEADSET"
|
||||
ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_ASSISTANT" deviceCategory="DEVICE_CATEGORY_SPEAKER"
|
||||
ref="DEFAULT_DEVICE_CATEGORY_SPEAKER_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_ASSISTANT" deviceCategory="DEVICE_CATEGORY_EARPIECE"
|
||||
ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_ASSISTANT" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
|
||||
ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_ASSISTANT" deviceCategory="DEVICE_CATEGORY_HEARING_AID"
|
||||
ref="DEFAULT_HEARING_AID_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_REROUTING" deviceCategory="DEVICE_CATEGORY_HEADSET"
|
||||
ref="FULL_SCALE_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_REROUTING" deviceCategory="DEVICE_CATEGORY_SPEAKER"
|
||||
ref="FULL_SCALE_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_REROUTING" deviceCategory="DEVICE_CATEGORY_EARPIECE"
|
||||
ref="FULL_SCALE_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_REROUTING" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
|
||||
ref="FULL_SCALE_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_REROUTING" deviceCategory="DEVICE_CATEGORY_HEARING_AID"
|
||||
ref="FULL_SCALE_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_PATCH" deviceCategory="DEVICE_CATEGORY_HEADSET"
|
||||
ref="FULL_SCALE_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_PATCH" deviceCategory="DEVICE_CATEGORY_SPEAKER"
|
||||
ref="FULL_SCALE_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_PATCH" deviceCategory="DEVICE_CATEGORY_EARPIECE"
|
||||
ref="FULL_SCALE_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_PATCH" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
|
||||
ref="FULL_SCALE_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_PATCH" deviceCategory="DEVICE_CATEGORY_HEARING_AID"
|
||||
ref="FULL_SCALE_VOLUME_CURVE"/>
|
||||
</volumes>
|
||||
|
|
@ -114,6 +114,9 @@
|
|||
<ctl name="R Fast Use Case Switch Enable" value="0" />
|
||||
<ctl name="R Fast Use Case Delta File" value="fast_switch5.txt" />
|
||||
|
||||
<!-- HAC Max Amp switch init -->
|
||||
<ctl name="HAC AMP EN" value="0"/>
|
||||
|
||||
<!-- default EP volume -->
|
||||
<ctl name="PCM Playback Switch" value="1"/>
|
||||
<ctl name="PCM Playback Volume" value="10"/>
|
||||
|
@ -687,6 +690,12 @@
|
|||
<ctl name="R Fast Use Case Switch Enable" value="1" /-->
|
||||
</path>
|
||||
|
||||
<path name="hdmi">
|
||||
</path>
|
||||
|
||||
<path name="hdmi-post">
|
||||
</path>
|
||||
|
||||
<path name="voice-speaker">
|
||||
<ctl name="R Boost Peak Current Limit" value="3.50A"/>
|
||||
<ctl name="Boost Peak Current Limit" value="3.50A"/>
|
||||
|
|
|
@ -35,6 +35,11 @@ prebuilt_etc {
|
|||
src: "bluenote/recording.gatf",
|
||||
defaults: ["aoc_defaults"],
|
||||
}
|
||||
prebuilt_etc {
|
||||
name: "smartfeature.gstf",
|
||||
src: "bluenote/smartfeature.gstf",
|
||||
defaults: ["aoc_defaults"],
|
||||
}
|
||||
prebuilt_etc {
|
||||
name: "template.xml",
|
||||
src: "bluenote/template.xml",
|
||||
|
|
Binary file not shown.
BIN
audio/komodo/tuning/bluenote/smartfeature.gstf
Normal file
BIN
audio/komodo/tuning/bluenote/smartfeature.gstf
Normal file
Binary file not shown.
|
@ -26,7 +26,6 @@
|
|||
<param default="48000" id="1" name="fs_" type="uint32"/>
|
||||
<param default="3" id="2" name="numCh_" type="uint32"/>
|
||||
<param default="7" id="3" name="chMask_" type="uint32"/>
|
||||
<param id="16" max="1" min="0" name="alpha" type="float"/>
|
||||
<param complex="true" id="17" name="ch0_profileL" size="1024" type="float"/>
|
||||
<param complex="true" id="18" name="ch1_profileL" size="1024" type="float"/>
|
||||
<param complex="true" id="19" name="ch2_profileL" size="1024" type="float"/>
|
||||
|
@ -43,7 +42,24 @@
|
|||
<param default="0" id="27" name="ch0_assignFrom" type="int32"/>
|
||||
<param default="1" id="28" name="ch1_assignFrom" type="int32"/>
|
||||
<param default="2" id="29" name="ch2_assignFrom" type="int32"/>
|
||||
<param default="0.333" id="30" max="1" min="0.01" name="alphaEnhancedRate" type="float"/>
|
||||
<param default="0.33" id="30" name="alpha_enhancedRate" type="float"/>
|
||||
<param default="0" id="31" name="swapOutputLR" type="int32"/>
|
||||
<struct id="32">
|
||||
<param default="0.0" name="CB_alpha_lowband" type="float"/>
|
||||
<param default="0.0" name="CB_alpha_midband" type="float"/>
|
||||
<param default="0.0" name="CB_alpha_highband" type="float"/>
|
||||
</struct>
|
||||
<struct id="33">
|
||||
<param default="0.0" name="CB_epsilon_lowband" type="float"/>
|
||||
<param default="0.0" name="CB_epsilon_midband" type="float"/>
|
||||
<param default="0.0" name="CB_epsilon_highband" type="float"/>
|
||||
</struct>
|
||||
<struct id="34">
|
||||
<param default="13" name="CB_fc_low_mid" type="int32"/>
|
||||
<param default="22" name="CB_fc_mid_high" type="int32"/>
|
||||
<param default="5" name="CB_smooth_span" type="int32"/>
|
||||
<param default="1.0" name="CB_forget_factor" type="float"/>
|
||||
</struct>
|
||||
</module>
|
||||
<module id="7" name="Multi Channel IIR 2">
|
||||
<param default="0" id="0" max="3" name="opMode_" type="uint32"/>
|
||||
|
@ -253,6 +269,171 @@
|
|||
<param max="100" min="0" name="limiter_releaseTime_ms" type="uint32"/>
|
||||
</struct>
|
||||
</module>
|
||||
<module id="40" name="Pixel Gain Controller">
|
||||
<param default="0" id="0" max="3" name="opMode_" type="uint32"/>
|
||||
<param default="48000" id="1" name="fs_" type="uint32"/>
|
||||
<param default="2" id="2" name="numCh_" type="uint32"/>
|
||||
<param default="3" id="3" name="chMask_" type="uint32"/>
|
||||
<struct id="16">
|
||||
<param name="crossover_iir_lp1" size="5" type="float"/>
|
||||
<param name="crossover_iir_hp1" size="5" type="float"/>
|
||||
<param name="crossover_iir_lp2" size="5" type="float"/>
|
||||
<param name="crossover_iir_hp2" size="5" type="float"/>
|
||||
<param default="250" max="1000" min="5" name="environment_rms_window_ms" type="int32"/>
|
||||
<param default="-40" max="0" name="environment_rms_threshold_db" type="float"/>
|
||||
<param default="10000" min="0" name="environment_rms_attack_release_ms" type="int32"/>
|
||||
<param default="1" min="0" name="environment_loudness_ratio_band0" type="float"/>
|
||||
<param default="1" min="0" name="environment_loudness_ratio_band1" type="float"/>
|
||||
<param default="1" min="0" name="environment_loudness_ratio_band2" type="float"/>
|
||||
<param default="100" max="1000" min="5" name="drc_window_ms_lowaop_band0" type="int32"/>
|
||||
<param default="28" name="drc_gain_db_lowaop_band0" type="float"/>
|
||||
<param default="-20" name="drc_min_gain_db_lowaop_band0" type="float"/>
|
||||
<param default="-70" name="drc_thres_db_expander_lowaop_band0" type="float"/>
|
||||
<param default="-40" name="drc_thres_db_upward_compressor_lowaop_band0" type="float"/>
|
||||
<param default="-36" name="drc_thres_db_downward_compressor_lowaop_band0" type="float"/>
|
||||
<param default="4.0" min="0" name="drc_knee_width_db_expander_lowaop_band0" type="float"/>
|
||||
<param default="4.0" min="0" name="drc_knee_width_db_upward_compressor_lowaop_band0" type="float"/>
|
||||
<param default="4.0" min="0" name="drc_knee_width_db_downward_compressor_lowaop_band0" type="float"/>
|
||||
<param default="2.0" min="0" name="drc_ratio_expander_lowaop_band0" type="float"/>
|
||||
<param default="1.5" min="0" name="drc_ratio_upward_compressor_lowaop_band0" type="float"/>
|
||||
<param default="1.0" min="0" name="drc_ratio_linear_lowaop_band0" type="float"/>
|
||||
<param default="9.0" min="0" name="drc_ratio_downward_compressor_lowaop_band0" type="float"/>
|
||||
<param default="350" min="0" name="drc_attack_ms_expander_lowaop_band0" type="float"/>
|
||||
<param default="500" min="0" name="drc_attack_ms_upward_compressor_lowaop_band0" type="float"/>
|
||||
<param default="500" min="0" name="drc_attack_ms_linear_lowaop_band0" type="float"/>
|
||||
<param default="350" min="0" name="drc_attack_ms_downward_compressor_lowaop_band0" type="float"/>
|
||||
<param default="5000" min="0" name="drc_release_ms_expander_lowaop_band0" type="float"/>
|
||||
<param default="12000" min="0" name="drc_release_ms_upward_compressor_lowaop_band0" type="float"/>
|
||||
<param default="12000" min="0" name="drc_release_ms_linear_lowaop_band0" type="float"/>
|
||||
<param default="5000" min="0" name="drc_release_ms_downward_compressor_lowaop_band0" type="float"/>
|
||||
<param default="100" max="1000" min="5" name="drc_window_ms_lowaop_band1" type="int32"/>
|
||||
<param default="28" name="drc_gain_db_lowaop_band1" type="float"/>
|
||||
<param default="-20" name="drc_min_gain_db_lowaop_band1" type="float"/>
|
||||
<param default="-70" name="drc_thres_db_expander_lowaop_band1" type="float"/>
|
||||
<param default="-40" name="drc_thres_db_upward_compressor_lowaop_band1" type="float"/>
|
||||
<param default="-36" name="drc_thres_db_downward_compressor_lowaop_band1" type="float"/>
|
||||
<param default="4.0" min="0" name="drc_knee_width_db_expander_lowaop_band1" type="float"/>
|
||||
<param default="4.0" min="0" name="drc_knee_width_db_upward_compressor_lowaop_band1" type="float"/>
|
||||
<param default="4.0" min="0" name="drc_knee_width_db_downward_compressor_lowaop_band1" type="float"/>
|
||||
<param default="2.0" min="0" name="drc_ratio_expander_lowaop_band1" type="float"/>
|
||||
<param default="1.5" min="0" name="drc_ratio_upward_compressor_lowaop_band1" type="float"/>
|
||||
<param default="1.0" min="0" name="drc_ratio_linear_lowaop_band1" type="float"/>
|
||||
<param default="9.0" min="0" name="drc_ratio_downward_compressor_lowaop_band1" type="float"/>
|
||||
<param default="350" min="0" name="drc_attack_ms_expander_lowaop_band1" type="float"/>
|
||||
<param default="500" min="0" name="drc_attack_ms_upward_compressor_lowaop_band1" type="float"/>
|
||||
<param default="500" min="0" name="drc_attack_ms_linear_lowaop_band1" type="float"/>
|
||||
<param default="350" min="0" name="drc_attack_ms_downward_compressor_lowaop_band1" type="float"/>
|
||||
<param default="5000" min="0" name="drc_release_ms_expander_lowaop_band1" type="float"/>
|
||||
<param default="12000" min="0" name="drc_release_ms_upward_compressor_lowaop_band1" type="float"/>
|
||||
<param default="12000" min="0" name="drc_release_ms_linear_lowaop_band1" type="float"/>
|
||||
<param default="5000" min="0" name="drc_release_ms_downward_compressor_lowaop_band1" type="float"/>
|
||||
<param default="100" max="1000" min="5" name="drc_window_ms_lowaop_band2" type="int32"/>
|
||||
<param default="28" name="drc_gain_db_lowaop_band2" type="float"/>
|
||||
<param default="-20" name="drc_min_gain_db_lowaop_band2" type="float"/>
|
||||
<param default="-70" name="drc_thres_db_expander_lowaop_band2" type="float"/>
|
||||
<param default="-40" name="drc_thres_db_upward_compressor_lowaop_band2" type="float"/>
|
||||
<param default="-36" name="drc_thres_db_downward_compressor_lowaop_band2" type="float"/>
|
||||
<param default="4.0" min="0" name="drc_knee_width_db_expander_lowaop_band2" type="float"/>
|
||||
<param default="4.0" min="0" name="drc_knee_width_db_upward_compressor_lowaop_band2" type="float"/>
|
||||
<param default="4.0" min="0" name="drc_knee_width_db_downward_compressor_lowaop_band2" type="float"/>
|
||||
<param default="2.0" min="0" name="drc_ratio_expander_lowaop_band2" type="float"/>
|
||||
<param default="1.5" min="0" name="drc_ratio_upward_compressor_lowaop_band2" type="float"/>
|
||||
<param default="1.0" min="0" name="drc_ratio_linear_lowaop_band2" type="float"/>
|
||||
<param default="9.0" min="0" name="drc_ratio_downward_compressor_lowaop_band2" type="float"/>
|
||||
<param default="350" min="0" name="drc_attack_ms_expander_lowaop_band2" type="float"/>
|
||||
<param default="500" min="0" name="drc_attack_ms_upward_compressor_lowaop_band2" type="float"/>
|
||||
<param default="500" min="0" name="drc_attack_ms_linear_lowaop_band2" type="float"/>
|
||||
<param default="350" min="0" name="drc_attack_ms_downward_compressor_lowaop_band2" type="float"/>
|
||||
<param default="5000" min="0" name="drc_release_ms_expander_lowaop_band2" type="float"/>
|
||||
<param default="12000" min="0" name="drc_release_ms_upward_compressor_lowaop_band2" type="float"/>
|
||||
<param default="12000" min="0" name="drc_release_ms_linear_lowaop_band2" type="float"/>
|
||||
<param default="5000" min="0" name="drc_release_ms_downward_compressor_lowaop_band2" type="float"/>
|
||||
<param default="100" max="1000" min="5" name="drc_window_ms_highaop_band0" type="int32"/>
|
||||
<param default="28" name="drc_gain_db_highaop_band0" type="float"/>
|
||||
<param default="-20" name="drc_min_gain_db_highaop_band0" type="float"/>
|
||||
<param default="-70" name="drc_thres_db_expander_highaop_band0" type="float"/>
|
||||
<param default="-40" name="drc_thres_db_upward_compressor_highaop_band0" type="float"/>
|
||||
<param default="-36" name="drc_thres_db_downward_compressor_highaop_band0" type="float"/>
|
||||
<param default="4.0" min="0" name="drc_knee_width_db_expander_highaop_band0" type="float"/>
|
||||
<param default="4.0" min="0" name="drc_knee_width_db_upward_compressor_highaop_band0" type="float"/>
|
||||
<param default="4.0" min="0" name="drc_knee_width_db_downward_compressor_highaop_band0" type="float"/>
|
||||
<param default="2.5" min="0" name="drc_ratio_expander_highaop_band0" type="float"/>
|
||||
<param default="1.5" min="0" name="drc_ratio_upward_compressor_highaop_band0" type="float"/>
|
||||
<param default="1.0" min="0" name="drc_ratio_linear_highaop_band0" type="float"/>
|
||||
<param default="9.0" min="0" name="drc_ratio_downward_compressor_highaop_band0" type="float"/>
|
||||
<param default="80" min="0" name="drc_attack_ms_expander_highaop_band0" type="float"/>
|
||||
<param default="500" min="0" name="drc_attack_ms_upward_compressor_highaop_band0" type="float"/>
|
||||
<param default="500" min="0" name="drc_attack_ms_linear_highaop_band0" type="float"/>
|
||||
<param default="80" min="0" name="drc_attack_ms_downward_compressor_highaop_band0" type="float"/>
|
||||
<param default="8000" min="0" name="drc_release_ms_expander_highaop_band0" type="float"/>
|
||||
<param default="5000" min="0" name="drc_release_ms_upward_compressor_highaop_band0" type="float"/>
|
||||
<param default="5000" min="0" name="drc_release_ms_linear_highaop_band0" type="float"/>
|
||||
<param default="8000" min="0" name="drc_release_ms_downward_compressor_highaop_band0" type="float"/>
|
||||
<param default="100" max="1000" min="5" name="drc_window_ms_highaop_band1" type="int32"/>
|
||||
<param default="28" name="drc_gain_db_highaop_band1" type="float"/>
|
||||
<param default="-20" name="drc_min_gain_db_highaop_band1" type="float"/>
|
||||
<param default="-70" name="drc_thres_db_expander_highaop_band1" type="float"/>
|
||||
<param default="-40" name="drc_thres_db_upward_compressor_highaop_band1" type="float"/>
|
||||
<param default="-36" name="drc_thres_db_downward_compressor_highaop_band1" type="float"/>
|
||||
<param default="4.0" min="0" name="drc_knee_width_db_expander_highaop_band1" type="float"/>
|
||||
<param default="4.0" min="0" name="drc_knee_width_db_upward_compressor_highaop_band1" type="float"/>
|
||||
<param default="4.0" min="0" name="drc_knee_width_db_downward_compressor_highaop_band1" type="float"/>
|
||||
<param default="2.5" min="0" name="drc_ratio_expander_highaop_band1" type="float"/>
|
||||
<param default="1.5" min="0" name="drc_ratio_upward_compressor_highaop_band1" type="float"/>
|
||||
<param default="1.0" min="0" name="drc_ratio_linear_highaop_band1" type="float"/>
|
||||
<param default="6.0" min="0" name="drc_ratio_downward_compressor_highaop_band1" type="float"/>
|
||||
<param default="80" min="0" name="drc_attack_ms_expander_highaop_band1" type="float"/>
|
||||
<param default="500" min="0" name="drc_attack_ms_upward_compressor_highaop_band1" type="float"/>
|
||||
<param default="500" min="0" name="drc_attack_ms_linear_highaop_band1" type="float"/>
|
||||
<param default="80" min="0" name="drc_attack_ms_downward_compressor_highaop_band1" type="float"/>
|
||||
<param default="8000" min="0" name="drc_release_ms_expander_highaop_band1" type="float"/>
|
||||
<param default="5000" min="0" name="drc_release_ms_upward_compressor_highaop_band1" type="float"/>
|
||||
<param default="5000" min="0" name="drc_release_ms_linear_highaop_band1" type="float"/>
|
||||
<param default="8000" min="0" name="drc_release_ms_downward_compressor_highaop_band1" type="float"/>
|
||||
<param default="100" max="1000" min="5" name="drc_window_ms_highaop_band2" type="int32"/>
|
||||
<param default="28" name="drc_gain_db_highaop_band2" type="float"/>
|
||||
<param default="-20" name="drc_min_gain_db_highaop_band2" type="float"/>
|
||||
<param default="-70" name="drc_thres_db_expander_highaop_band2" type="float"/>
|
||||
<param default="-40" name="drc_thres_db_upward_compressor_highaop_band2" type="float"/>
|
||||
<param default="-36" name="drc_thres_db_downward_compressor_highaop_band2" type="float"/>
|
||||
<param default="4.0" min="0" name="drc_knee_width_db_expander_highaop_band2" type="float"/>
|
||||
<param default="4.0" min="0" name="drc_knee_width_db_upward_compressor_highaop_band2" type="float"/>
|
||||
<param default="4.0" min="0" name="drc_knee_width_db_downward_compressor_highaop_band2" type="float"/>
|
||||
<param default="2.5" min="0" name="drc_ratio_expander_highaop_band2" type="float"/>
|
||||
<param default="1.5" min="0" name="drc_ratio_upward_compressor_highaop_band2" type="float"/>
|
||||
<param default="1.0" min="0" name="drc_ratio_linear_highaop_band2" type="float"/>
|
||||
<param default="9.0" min="0" name="drc_ratio_downward_compressor_highaop_band2" type="float"/>
|
||||
<param default="80" min="0" name="drc_attack_ms_expander_highaop_band2" type="float"/>
|
||||
<param default="500" min="0" name="drc_attack_ms_upward_compressor_highaop_band2" type="float"/>
|
||||
<param default="500" min="0" name="drc_attack_ms_linear_highaop_band2" type="float"/>
|
||||
<param default="80" min="0" name="drc_attack_ms_downward_compressor_highaop_band2" type="float"/>
|
||||
<param default="8000" min="0" name="drc_release_ms_expander_highaop_band2" type="float"/>
|
||||
<param default="5000" min="0" name="drc_release_ms_upward_compressor_highaop_band2" type="float"/>
|
||||
<param default="5000" min="0" name="drc_release_ms_linear_highaop_band2" type="float"/>
|
||||
<param default="8000" min="0" name="drc_release_ms_downward_compressor_highaop_band2" type="float"/>
|
||||
<param default="100" max="100" min="0" name="drc_delay_ms" type="int32"/>
|
||||
<param default="1" max="1" min="0" name="drc_use_peak_amplitude" type="int32"/>
|
||||
<param default="0" max="100" min="-100" name="drc_band1_minus_band2_max_gain_db" type="float"/>
|
||||
<param default="0" max="100" min="-100" name="drc_band3_minus_band2_max_gain_db" type="float"/>
|
||||
<param default="20" max="20" min="0" name="limiter_delay_ms" type="int32"/>
|
||||
<param default="-0.5" max="0" name="limiter_thres_db" type="float"/>
|
||||
<param default="0" name="limiter_gain_db" type="float"/>
|
||||
<param default="10" min="0" name="limiter_attack_time_ms" type="int32"/>
|
||||
<param default="50" min="0" name="limiter_release_time_ms" type="int32"/>
|
||||
<param default="1000" max="10000" min="100" name="drc_long_term_window_lower_ms_band0" type="int32"/>
|
||||
<param default="1000" max="10000" min="100" name="drc_long_term_window_lower_ms_band1" type="int32"/>
|
||||
<param default="1000" max="10000" min="100" name="drc_long_term_window_lower_ms_band2" type="int32"/>
|
||||
<param default="5000" max="10000" min="100" name="drc_long_term_window_upper_ms_band0" type="int32"/>
|
||||
<param default="5000" max="10000" min="100" name="drc_long_term_window_upper_ms_band1" type="int32"/>
|
||||
<param default="5000" max="10000" min="100" name="drc_long_term_window_upper_ms_band2" type="int32"/>
|
||||
<param default="-50" name="drc_long_term_window_lower_db_band0" type="float"/>
|
||||
<param default="-50" name="drc_long_term_window_lower_db_band1" type="float"/>
|
||||
<param default="-50" name="drc_long_term_window_lower_db_band2" type="float"/>
|
||||
<param default="-30" name="drc_long_term_window_upper_db_band0" type="float"/>
|
||||
<param default="-30" name="drc_long_term_window_upper_db_band1" type="float"/>
|
||||
<param default="-30" name="drc_long_term_window_upper_db_band2" type="float"/>
|
||||
</struct>
|
||||
</module>
|
||||
<module id="10000" name="Eraser">
|
||||
<param id="275" name="eraser_pre_gain" type="uint32"/>
|
||||
<param id="277" name="eraser_post_gain" type="uint32"/>
|
||||
|
@ -262,7 +443,6 @@
|
|||
<param id="299" name="cleaner_post_gain" type="uint32"/>
|
||||
</module>
|
||||
<module id="10002" name="CHRE">
|
||||
<param id="297" name="chre_gain" type="uint32"/>
|
||||
<param id="345" name="chre_aec_timeout" type="uint32"/>
|
||||
<param id="346" name="chre_pdm_gain" type="int32"/>
|
||||
<param id="347" name="chre_aec_gain" type="int32"/>
|
||||
|
@ -280,15 +460,16 @@
|
|||
<moduleRef id="6"/>
|
||||
<moduleRef id="7"/>
|
||||
<moduleRef id="5"/>
|
||||
<moduleRef id="8"/>
|
||||
<moduleRef id="40"/>
|
||||
</block>
|
||||
</signalflow>
|
||||
<signalflow id="2" name="General Mic Recording">
|
||||
<block id="137">
|
||||
<moduleRef id="14"/>
|
||||
<moduleRef id="11"/>
|
||||
<moduleRef id="7"/>
|
||||
<moduleRef id="5"/>
|
||||
<moduleRef id="8"/>
|
||||
<moduleRef id="40"/>
|
||||
</block>
|
||||
</signalflow>
|
||||
<signalflow id="1000" name="Smart Feature">
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load diff
Binary file not shown.
File diff suppressed because it is too large
Load diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -295,6 +295,7 @@
|
|||
<device_handle>
|
||||
<handler libname="audio_bt_aoc.so"/>
|
||||
<handler libname="audio_usb_aoc.so" argu="MaxSamplingRate=96000,UnsupportedFormat=S24_LE"/>
|
||||
<handler libname="audio_hdmi_aoc.so"/>
|
||||
</device_handle>
|
||||
|
||||
<external_module>
|
||||
|
|
|
@ -148,7 +148,7 @@
|
|||
</devicePort>
|
||||
<devicePort tagName="USB Headset Out" type="AUDIO_DEVICE_OUT_USB_HEADSET" role="sink">
|
||||
</devicePort>
|
||||
<devicePort tagName="Aux Digital" type="AUDIO_DEVICE_OUT_AUX_DIGITAL" role="sink">
|
||||
<devicePort tagName="HDMI Out" type="AUDIO_DEVICE_OUT_HDMI" role="sink">
|
||||
</devicePort>
|
||||
<devicePort tagName="Telephony Tx" type="AUDIO_DEVICE_OUT_TELEPHONY_TX" role="sink">
|
||||
</devicePort>
|
||||
|
@ -227,6 +227,8 @@
|
|||
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,hifi_playback,compressed_offload,immersive_out"/>
|
||||
<route type="mix" sink="USB Headset Out"
|
||||
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,hifi_playback,compressed_offload,immersive_out"/>
|
||||
<route type="mix" sink="HDMI Out"
|
||||
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,compressed_offload"/>
|
||||
<route type="mix" sink="BT SCO"
|
||||
sources="primary output,deep buffer,haptic,voip_rx,compressed_offload,raw,mmap_no_irq_out"/>
|
||||
<route type="mix" sink="BT SCO Headset"
|
||||
|
|
|
@ -148,7 +148,7 @@
|
|||
</devicePort>
|
||||
<devicePort tagName="USB Headset Out" type="AUDIO_DEVICE_OUT_USB_HEADSET" role="sink">
|
||||
</devicePort>
|
||||
<devicePort tagName="Aux Digital" type="AUDIO_DEVICE_OUT_AUX_DIGITAL" role="sink">
|
||||
<devicePort tagName="HDMI Out" type="AUDIO_DEVICE_OUT_HDMI" role="sink">
|
||||
</devicePort>
|
||||
<devicePort tagName="Telephony Tx" type="AUDIO_DEVICE_OUT_TELEPHONY_TX" role="sink">
|
||||
</devicePort>
|
||||
|
@ -183,6 +183,8 @@
|
|||
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,hifi_playback,compressed_offload,immersive_out"/>
|
||||
<route type="mix" sink="USB Headset Out"
|
||||
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,hifi_playback,compressed_offload,immersive_out"/>
|
||||
<route type="mix" sink="HDMI Out"
|
||||
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,compressed_offload"/>
|
||||
<route type="mix" sink="BT SCO"
|
||||
sources="primary output,deep buffer,haptic,voip_rx,compressed_offload,raw,mmap_no_irq_out"/>
|
||||
<route type="mix" sink="BT SCO Headset"
|
||||
|
|
|
@ -144,7 +144,7 @@
|
|||
</devicePort>
|
||||
<devicePort tagName="USB Headset Out" type="AUDIO_DEVICE_OUT_USB_HEADSET" role="sink">
|
||||
</devicePort>
|
||||
<devicePort tagName="Aux Digital" type="AUDIO_DEVICE_OUT_AUX_DIGITAL" role="sink">
|
||||
<devicePort tagName="HDMI Out" type="AUDIO_DEVICE_OUT_HDMI" role="sink">
|
||||
</devicePort>
|
||||
<devicePort tagName="Telephony Tx" type="AUDIO_DEVICE_OUT_TELEPHONY_TX" role="sink">
|
||||
</devicePort>
|
||||
|
@ -179,6 +179,8 @@
|
|||
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,hifi_playback"/>
|
||||
<route type="mix" sink="USB Headset Out"
|
||||
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,hifi_playback"/>
|
||||
<route type="mix" sink="HDMI Out"
|
||||
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx"/>
|
||||
<route type="mix" sink="BT SCO"
|
||||
sources="primary output,deep buffer,haptic,voip_rx,raw,mmap_no_irq_out"/>
|
||||
<route type="mix" sink="BT SCO Headset"
|
||||
|
|
|
@ -144,7 +144,7 @@
|
|||
</devicePort>
|
||||
<devicePort tagName="USB Headset Out" type="AUDIO_DEVICE_OUT_USB_HEADSET" role="sink">
|
||||
</devicePort>
|
||||
<devicePort tagName="Aux Digital" type="AUDIO_DEVICE_OUT_AUX_DIGITAL" role="sink">
|
||||
<devicePort tagName="HDMI Out" type="AUDIO_DEVICE_OUT_HDMI" role="sink">
|
||||
</devicePort>
|
||||
<devicePort tagName="Telephony Tx" type="AUDIO_DEVICE_OUT_TELEPHONY_TX" role="sink">
|
||||
</devicePort>
|
||||
|
@ -200,6 +200,8 @@
|
|||
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,hifi_playback,compressed_offload,immersive_out"/>
|
||||
<route type="mix" sink="USB Headset Out"
|
||||
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,hifi_playback,compressed_offload,immersive_out"/>
|
||||
<route type="mix" sink="HDMI Out"
|
||||
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,compressed_offload"/>
|
||||
<route type="mix" sink="BT SCO"
|
||||
sources="primary output,deep buffer,haptic,voip_rx,compressed_offload,raw,mmap_no_irq_out"/>
|
||||
<route type="mix" sink="BT SCO Headset"
|
||||
|
|
|
@ -704,6 +704,12 @@
|
|||
<ctl name="R Main AMP Enable Switch" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="hdmi">
|
||||
</path>
|
||||
|
||||
<path name="hdmi-post">
|
||||
</path>
|
||||
|
||||
<!-- Tx device -->
|
||||
<path name="handset-mic">
|
||||
<ctl name="Mic Spatial Module Enable" value="1"/>
|
||||
|
|
|
@ -25,8 +25,11 @@
|
|||
<argument name="ThermistorName" value="VIRTUAL-SKIN-SPEAKER" />
|
||||
<argument name="ThermistorType" value="UNKNOWN" />
|
||||
<argument name="ThrottlingSeverity" value="LIGHT" />
|
||||
<argument name="SpeakerPowerPollWaitMs" value="5000" />
|
||||
</feature>
|
||||
<feature name="RuntimeTuningDump" />
|
||||
<feature name="SoundDose" />
|
||||
<!-- <feature name="spatializer-offload" /> -->
|
||||
</features>
|
||||
|
||||
<voipVolume>
|
||||
|
@ -55,16 +58,22 @@
|
|||
<tuner type="playback" name="waves">
|
||||
<argument name="Sink" value="SPK" />
|
||||
<argument name="ThermistorsName" value="VIRTUAL-SKIN-SPEAKER" />
|
||||
<argument name="Extensions" value="StereoSpatializerIndicator" />
|
||||
<argument name="Extensions" value="StereoSpatializerIndicator,SpeakerPowerLinkLaw" />
|
||||
</tuner>
|
||||
<tuner type="telephony" name="fortemedia">
|
||||
<argument name="VoIP_DLCHs" value="SPK:2,USB:2" />
|
||||
<argument name="VoIP_DLCHs" value="SPK:2,USB:2,BT:2" />
|
||||
<argument name="VoIP_Rate" value="32000" />
|
||||
<argument name="BOOST_USB_SWB_CLK" value="y" />
|
||||
<argument name="BOOST_HANDSET_SWB_CLK" value="y" />
|
||||
<argument name="CCA" value="UnsupportBands:48000,ExSharedBands:48000,VoIPMode:Dl" />
|
||||
<argument name="MCPS_TABLE" value="y" />
|
||||
<argument name="APPLY_WB_TUNING_FOR_NB_VOICE" value="y" />
|
||||
<argument name="CCA" value="UnsupportBands:48000,ExSharedBands:48000,VoIPMode:Dl,SupportBWE:y" />
|
||||
</tuner>
|
||||
<tuner type="capture" name="gs_capture" />
|
||||
<tuner type="compensation" name="TelephonySpeakerCompensation">
|
||||
<scenario condition="ScreenRotation:0,90,180,270"
|
||||
output="LeftChannel:compens_spk_l.conf RightChannel:compens_spk_r.conf" />
|
||||
</tuner>
|
||||
</tuners>
|
||||
|
||||
<latencies>
|
||||
|
@ -95,15 +104,219 @@
|
|||
<enablement useCase="primary-capture" deviceInterface="microphones">
|
||||
<source>MIC</source>
|
||||
<source>CAMCORDER</source>
|
||||
<source>VOICE_RECOGNITION</source>
|
||||
</enablement>
|
||||
<enablement useCase="primary-capture" deviceInterface="back-microphones">
|
||||
<source>MIC</source>
|
||||
<source>CAMCORDER</source>
|
||||
<source>VOICE_RECOGNITION</source>
|
||||
</enablement>
|
||||
</spatialCapture>
|
||||
|
||||
<microphones>
|
||||
<microphone id="builtin_mic_1" location="MAINBODY" group="0" indexInTheGroup="0"
|
||||
directionality="OMNI">
|
||||
<device type="IN_MICROPHONE" address="bottom" />
|
||||
<sensitivity levelDbfs="37.0" maxSplDb="132.5" minSplDb="28.5" />
|
||||
<position x="0.0269" y="0.0058" z="0.0079" />
|
||||
<orientation x="0.0" y="0.0" z="1.0" />
|
||||
<frequencyResponse>
|
||||
<point frequencyHz="100.00" levelDb="-0.78" />
|
||||
<point frequencyHz="106.00" levelDb="-0.71" />
|
||||
<point frequencyHz="112.00" levelDb="-0.64" />
|
||||
<point frequencyHz="118.00" levelDb="-0.60" />
|
||||
<point frequencyHz="125.00" levelDb="-0.55" />
|
||||
<point frequencyHz="132.00" levelDb="-0.50" />
|
||||
<point frequencyHz="140.00" levelDb="-0.47" />
|
||||
<point frequencyHz="150.00" levelDb="-0.42" />
|
||||
<point frequencyHz="160.00" levelDb="-0.39" />
|
||||
<point frequencyHz="170.00" levelDb="-0.36" />
|
||||
<point frequencyHz="180.00" levelDb="-0.34" />
|
||||
<point frequencyHz="190.00" levelDb="-0.33" />
|
||||
<point frequencyHz="200.00" levelDb="-0.32" />
|
||||
<point frequencyHz="212.00" levelDb="-0.29" />
|
||||
<point frequencyHz="224.00" levelDb="-0.28" />
|
||||
<point frequencyHz="236.00" levelDb="-0.28" />
|
||||
<point frequencyHz="250.00" levelDb="-0.27" />
|
||||
<point frequencyHz="265.00" levelDb="-0.25" />
|
||||
<point frequencyHz="280.00" levelDb="-0.25" />
|
||||
<point frequencyHz="300.00" levelDb="-0.24" />
|
||||
<point frequencyHz="315.00" levelDb="-0.23" />
|
||||
<point frequencyHz="335.00" levelDb="-0.23" />
|
||||
<point frequencyHz="355.00" levelDb="-0.22" />
|
||||
<point frequencyHz="375.00" levelDb="-0.22" />
|
||||
<point frequencyHz="400.00" levelDb="-0.19" />
|
||||
<point frequencyHz="425.00" levelDb="-0.17" />
|
||||
<point frequencyHz="450.00" levelDb="-0.15" />
|
||||
<point frequencyHz="475.00" levelDb="-0.15" />
|
||||
<point frequencyHz="500.00" levelDb="-0.14" />
|
||||
<point frequencyHz="530.00" levelDb="-0.14" />
|
||||
<point frequencyHz="560.00" levelDb="-0.12" />
|
||||
<point frequencyHz="600.00" levelDb="-0.11" />
|
||||
<point frequencyHz="630.00" levelDb="-0.10" />
|
||||
<point frequencyHz="670.00" levelDb="-0.10" />
|
||||
<point frequencyHz="710.00" levelDb="-0.08" />
|
||||
<point frequencyHz="750.00" levelDb="-0.07" />
|
||||
<point frequencyHz="800.00" levelDb="-0.07" />
|
||||
<point frequencyHz="850.00" levelDb="-0.04" />
|
||||
<point frequencyHz="900.00" levelDb="-0.03" />
|
||||
<point frequencyHz="950.00" levelDb="-0.01" />
|
||||
<point frequencyHz="1000.00" levelDb="0.00" />
|
||||
<point frequencyHz="1060.00" levelDb="0.04" />
|
||||
<point frequencyHz="1120.00" levelDb="0.06" />
|
||||
<point frequencyHz="1180.00" levelDb="0.07" />
|
||||
<point frequencyHz="1250.00" levelDb="0.08" />
|
||||
<point frequencyHz="1320.00" levelDb="0.13" />
|
||||
<point frequencyHz="1400.00" levelDb="0.09" />
|
||||
<point frequencyHz="1500.00" levelDb="0.14" />
|
||||
<point frequencyHz="1600.00" levelDb="0.19" />
|
||||
<point frequencyHz="1700.00" levelDb="0.23" />
|
||||
<point frequencyHz="1800.00" levelDb="0.28" />
|
||||
<point frequencyHz="1900.00" levelDb="0.29" />
|
||||
<point frequencyHz="2000.00" levelDb="0.31" />
|
||||
<point frequencyHz="2120.00" levelDb="0.37" />
|
||||
<point frequencyHz="2240.00" levelDb="0.88" />
|
||||
<point frequencyHz="2360.00" levelDb="0.86" />
|
||||
<point frequencyHz="2500.00" levelDb="0.77" />
|
||||
<point frequencyHz="2650.00" levelDb="0.78" />
|
||||
<point frequencyHz="2800.00" levelDb="0.84" />
|
||||
<point frequencyHz="3000.00" levelDb="0.86" />
|
||||
<point frequencyHz="3150.00" levelDb="1.05" />
|
||||
<point frequencyHz="3350.00" levelDb="1.12" />
|
||||
<point frequencyHz="3550.00" levelDb="1.18" />
|
||||
<point frequencyHz="3750.00" levelDb="1.25" />
|
||||
<point frequencyHz="4000.00" levelDb="1.43" />
|
||||
<point frequencyHz="4250.00" levelDb="1.66" />
|
||||
<point frequencyHz="4500.00" levelDb="1.83" />
|
||||
<point frequencyHz="4750.00" levelDb="2.02" />
|
||||
<point frequencyHz="5000.00" levelDb="2.23" />
|
||||
<point frequencyHz="5300.00" levelDb="2.59" />
|
||||
<point frequencyHz="5600.00" levelDb="2.84" />
|
||||
<point frequencyHz="6000.00" levelDb="3.35" />
|
||||
<point frequencyHz="6300.00" levelDb="4.01" />
|
||||
<point frequencyHz="6700.00" levelDb="6.82" />
|
||||
<point frequencyHz="7100.00" levelDb="6.62" />
|
||||
<point frequencyHz="7500.00" levelDb="6.42" />
|
||||
<point frequencyHz="8000.00" levelDb="7.30" />
|
||||
<point frequencyHz="8500.00" levelDb="8.23" />
|
||||
<point frequencyHz="9000.00" levelDb="7.54" />
|
||||
<point frequencyHz="9500.00" levelDb="12.68" />
|
||||
<point frequencyHz="10000.00" levelDb="13.76" />
|
||||
<point frequencyHz="10600.00" levelDb="18.69" />
|
||||
<point frequencyHz="11200.00" levelDb="19.68" />
|
||||
<point frequencyHz="11800.00" levelDb="20.90" />
|
||||
<point frequencyHz="12500.00" levelDb="23.70" />
|
||||
<point frequencyHz="13200.00" levelDb="25.10" />
|
||||
<point frequencyHz="14000.00" levelDb="21.65" />
|
||||
<point frequencyHz="15000.00" levelDb="16.18" />
|
||||
<point frequencyHz="16000.00" levelDb="18.84" />
|
||||
<point frequencyHz="17000.00" levelDb="25.44" />
|
||||
<point frequencyHz="18000.00" levelDb="23.48" />
|
||||
<point frequencyHz="19000.00" levelDb="23.22" />
|
||||
<point frequencyHz="20000.00" levelDb="24.89" />
|
||||
</frequencyResponse>
|
||||
</microphone>
|
||||
<microphone id="builtin_mic_2" location="MAINBODY" group="0" indexInTheGroup="1"
|
||||
directionality="OMNI">
|
||||
<device type="IN_MICROPHONE_BACK" address="back" />
|
||||
<sensitivity levelDbfs="-37.0" maxSplDb="132.5" minSplDb="28.5" />
|
||||
<position x="0.0546" y="0.1456" z="0.00415" />
|
||||
<orientation x="0.0" y="1.0" z="0.0" />
|
||||
<frequencyResponse>
|
||||
<point frequencyHz="106.00" levelDb="-0.75" />
|
||||
<point frequencyHz="112.00" levelDb="-0.74" />
|
||||
<point frequencyHz="118.00" levelDb="-0.69" />
|
||||
<point frequencyHz="125.00" levelDb="-0.65" />
|
||||
<point frequencyHz="132.00" levelDb="-0.62" />
|
||||
<point frequencyHz="140.00" levelDb="-0.61" />
|
||||
<point frequencyHz="150.00" levelDb="-0.56" />
|
||||
<point frequencyHz="160.00" levelDb="-0.53" />
|
||||
<point frequencyHz="170.00" levelDb="-0.50" />
|
||||
<point frequencyHz="180.00" levelDb="-0.47" />
|
||||
<point frequencyHz="190.00" levelDb="-0.43" />
|
||||
<point frequencyHz="200.00" levelDb="-0.40" />
|
||||
<point frequencyHz="212.00" levelDb="-0.37" />
|
||||
<point frequencyHz="224.00" levelDb="-0.36" />
|
||||
<point frequencyHz="236.00" levelDb="-0.33" />
|
||||
<point frequencyHz="250.00" levelDb="-0.30" />
|
||||
<point frequencyHz="265.00" levelDb="-0.28" />
|
||||
<point frequencyHz="280.00" levelDb="-0.25" />
|
||||
<point frequencyHz="300.00" levelDb="-0.24" />
|
||||
<point frequencyHz="315.00" levelDb="-0.24" />
|
||||
<point frequencyHz="335.00" levelDb="-0.24" />
|
||||
<point frequencyHz="355.00" levelDb="-0.25" />
|
||||
<point frequencyHz="375.00" levelDb="-0.24" />
|
||||
<point frequencyHz="400.00" levelDb="-0.12" />
|
||||
<point frequencyHz="425.00" levelDb="-0.10" />
|
||||
<point frequencyHz="450.00" levelDb="-0.08" />
|
||||
<point frequencyHz="475.00" levelDb="-0.09" />
|
||||
<point frequencyHz="500.00" levelDb="-0.07" />
|
||||
<point frequencyHz="530.00" levelDb="-0.07" />
|
||||
<point frequencyHz="560.00" levelDb="-0.06" />
|
||||
<point frequencyHz="600.00" levelDb="-0.06" />
|
||||
<point frequencyHz="630.00" levelDb="-0.06" />
|
||||
<point frequencyHz="670.00" levelDb="-0.05" />
|
||||
<point frequencyHz="710.00" levelDb="-0.04" />
|
||||
<point frequencyHz="750.00" levelDb="-0.05" />
|
||||
<point frequencyHz="800.00" levelDb="-0.04" />
|
||||
<point frequencyHz="850.00" levelDb="-0.01" />
|
||||
<point frequencyHz="900.00" levelDb="0.02" />
|
||||
<point frequencyHz="950.00" levelDb="0.02" />
|
||||
<point frequencyHz="1000.00" levelDb="0.00" />
|
||||
<point frequencyHz="1060.00" levelDb="0.02" />
|
||||
<point frequencyHz="1120.00" levelDb="0.03" />
|
||||
<point frequencyHz="1180.00" levelDb="0.07" />
|
||||
<point frequencyHz="1250.00" levelDb="0.10" />
|
||||
<point frequencyHz="1320.00" levelDb="0.10" />
|
||||
<point frequencyHz="1400.00" levelDb="0.13" />
|
||||
<point frequencyHz="1500.00" levelDb="0.01" />
|
||||
<point frequencyHz="1600.00" levelDb="0.01" />
|
||||
<point frequencyHz="1700.00" levelDb="0.10" />
|
||||
<point frequencyHz="1800.00" levelDb="0.11" />
|
||||
<point frequencyHz="1900.00" levelDb="0.19" />
|
||||
<point frequencyHz="2000.00" levelDb="0.24" />
|
||||
<point frequencyHz="2120.00" levelDb="0.38" />
|
||||
<point frequencyHz="2240.00" levelDb="0.46" />
|
||||
<point frequencyHz="2360.00" levelDb="0.26" />
|
||||
<point frequencyHz="2500.00" levelDb="0.27" />
|
||||
<point frequencyHz="2650.00" levelDb="0.43" />
|
||||
<point frequencyHz="2800.00" levelDb="0.76" />
|
||||
<point frequencyHz="3000.00" levelDb="0.75" />
|
||||
<point frequencyHz="3150.00" levelDb="1.09" />
|
||||
<point frequencyHz="3350.00" levelDb="1.09" />
|
||||
<point frequencyHz="3550.00" levelDb="0.94" />
|
||||
<point frequencyHz="3750.00" levelDb="1.06" />
|
||||
<point frequencyHz="4000.00" levelDb="1.21" />
|
||||
<point frequencyHz="4250.00" levelDb="1.47" />
|
||||
<point frequencyHz="4500.00" levelDb="1.45" />
|
||||
<point frequencyHz="4750.00" levelDb="1.36" />
|
||||
<point frequencyHz="5000.00" levelDb="2.07" />
|
||||
<point frequencyHz="5300.00" levelDb="2.85" />
|
||||
<point frequencyHz="5600.00" levelDb="2.90" />
|
||||
<point frequencyHz="6000.00" levelDb="3.85" />
|
||||
<point frequencyHz="6300.00" levelDb="4.65" />
|
||||
<point frequencyHz="6700.00" levelDb="5.84" />
|
||||
<point frequencyHz="7100.00" levelDb="5.46" />
|
||||
<point frequencyHz="7500.00" levelDb="6.15" />
|
||||
<point frequencyHz="8000.00" levelDb="7.50" />
|
||||
<point frequencyHz="8500.00" levelDb="8.30" />
|
||||
<point frequencyHz="9000.00" levelDb="10.62" />
|
||||
<point frequencyHz="9500.00" levelDb="12.70" />
|
||||
<point frequencyHz="10000.00" levelDb="16.65" />
|
||||
<point frequencyHz="10600.00" levelDb="20.95" />
|
||||
<point frequencyHz="11200.00" levelDb="25.41" />
|
||||
<point frequencyHz="11800.00" levelDb="26.32" />
|
||||
<point frequencyHz="12500.00" levelDb="20.20" />
|
||||
<point frequencyHz="13200.00" levelDb="16.60" />
|
||||
<point frequencyHz="14000.00" levelDb="11.24" />
|
||||
<point frequencyHz="15000.00" levelDb="7.85" />
|
||||
<point frequencyHz="16000.00" levelDb="7.62" />
|
||||
<point frequencyHz="17000.00" levelDb="20.19" />
|
||||
<point frequencyHz="18000.00" levelDb="7.32" />
|
||||
<point frequencyHz="19000.00" levelDb="2.87" />
|
||||
<point frequencyHz="20000.00" levelDb="5.18" />
|
||||
</frequencyResponse>
|
||||
</microphone>
|
||||
</microphones>
|
||||
|
||||
<xi:include href="audio_policy_volumes.xml" />
|
||||
<xi:include href="default_volume_tables.xml" />
|
||||
</audioPlatformConfiguration>
|
||||
|
|
|
@ -52,13 +52,12 @@ volume index from 0 to 100.
|
|||
<point>100,-1800</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_SYSTEM" deviceCategory="DEVICE_CATEGORY_SPEAKER">
|
||||
<point>1,-5200</point>
|
||||
<point>13,-5000</point>
|
||||
<point>28,-4400</point>
|
||||
<point>56,-3380</point>
|
||||
<point>71,-3120</point>
|
||||
<point>85,-2750</point>
|
||||
<point>100,-2150</point>
|
||||
<point>1,-4500</point>
|
||||
<point>29,-3400</point>
|
||||
<point>57,-2250</point>
|
||||
<point>71,-1900</point>
|
||||
<point>86,-1530</point>
|
||||
<point>100,-1100</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_SYSTEM" deviceCategory="DEVICE_CATEGORY_EARPIECE"
|
||||
ref="DEFAULT_SYSTEM_VOLUME_CURVE"/>
|
||||
|
@ -69,10 +68,12 @@ volume index from 0 to 100.
|
|||
<volume stream="AUDIO_STREAM_RING" deviceCategory="DEVICE_CATEGORY_HEADSET"
|
||||
ref="DEFAULT_DEVICE_CATEGORY_HEADSET_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_RING" deviceCategory="DEVICE_CATEGORY_SPEAKER">
|
||||
<point>1,-4935</point>
|
||||
<point>14,-3320</point>
|
||||
<point>28,-2960</point>
|
||||
<point>1,-4000</point>
|
||||
<point>29,-2950</point>
|
||||
<point>43,-2350</point>
|
||||
<point>57,-1850</point>
|
||||
<point>71,-1400</point>
|
||||
<point>86,-700</point>
|
||||
<point>100,0</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_RING" deviceCategory="DEVICE_CATEGORY_EARPIECE"
|
||||
|
@ -84,31 +85,31 @@ volume index from 0 to 100.
|
|||
<volume stream="AUDIO_STREAM_MUSIC" deviceCategory="DEVICE_CATEGORY_HEADSET"
|
||||
ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_MUSIC" deviceCategory="DEVICE_CATEGORY_SPEAKER">
|
||||
<point>1,-6920</point>
|
||||
<point>4,-6920</point>
|
||||
<point>8,-6664</point>
|
||||
<point>12,-6374</point>
|
||||
<point>16,-6082</point>
|
||||
<point>20,-5759</point>
|
||||
<point>24,-5410</point>
|
||||
<point>28,-5038</point>
|
||||
<point>32,-4807</point>
|
||||
<point>36,-4577</point>
|
||||
<point>40,-4339</point>
|
||||
<point>44,-4132</point>
|
||||
<point>48,-3860</point>
|
||||
<point>52,-3569</point>
|
||||
<point>56,-3223</point>
|
||||
<point>60,-2823</point>
|
||||
<point>64,-2452</point>
|
||||
<point>68,-2078</point>
|
||||
<point>72,-1795</point>
|
||||
<point>76,-1561</point>
|
||||
<point>80,-1226</point>
|
||||
<point>84,-956</point>
|
||||
<point>88,-789</point>
|
||||
<point>92,-635</point>
|
||||
<point>96,-505</point>
|
||||
<point>1,-9000</point>
|
||||
<point>4,-6370</point>
|
||||
<point>8,-6105</point>
|
||||
<point>12,-5810</point>
|
||||
<point>16,-5520</point>
|
||||
<point>20,-5220</point>
|
||||
<point>24,-4870</point>
|
||||
<point>28,-4490</point>
|
||||
<point>32,-4278</point>
|
||||
<point>36,-4027</point>
|
||||
<point>40,-3770</point>
|
||||
<point>44,-3560</point>
|
||||
<point>48,-3300</point>
|
||||
<point>52,-3080</point>
|
||||
<point>56,-2800</point>
|
||||
<point>60,-2620</point>
|
||||
<point>64,-2350</point>
|
||||
<point>68,-2200</point>
|
||||
<point>72,-2100</point>
|
||||
<point>76,-1930</point>
|
||||
<point>80,-1700</point>
|
||||
<point>84,-1460</point>
|
||||
<point>88,-1190</point>
|
||||
<point>92,-850</point>
|
||||
<point>96,-510</point>
|
||||
<point>100,0</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_MUSIC" deviceCategory="DEVICE_CATEGORY_EARPIECE"
|
||||
|
@ -121,10 +122,11 @@ volume index from 0 to 100.
|
|||
ref="DEFAULT_NON_MUTABLE_HEADSET_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_ALARM" deviceCategory="DEVICE_CATEGORY_SPEAKER">
|
||||
<point>0,-5600</point>
|
||||
<point>14,-4670</point>
|
||||
<point>28,-3060</point>
|
||||
<point>71,-1050</point>
|
||||
<point>100,-100</point>
|
||||
<point>29,-3520</point>
|
||||
<point>57,-1500</point>
|
||||
<point>71,-1150</point>
|
||||
<point>86,-500</point>
|
||||
<point>100,0</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_ALARM" deviceCategory="DEVICE_CATEGORY_EARPIECE"
|
||||
ref="DEFAULT_NON_MUTABLE_EARPIECE_VOLUME_CURVE"/>
|
||||
|
@ -135,12 +137,11 @@ volume index from 0 to 100.
|
|||
<volume stream="AUDIO_STREAM_NOTIFICATION" deviceCategory="DEVICE_CATEGORY_HEADSET"
|
||||
ref="DEFAULT_DEVICE_CATEGORY_HEADSET_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_NOTIFICATION" deviceCategory="DEVICE_CATEGORY_SPEAKER">
|
||||
<point>1,-6350</point>
|
||||
<point>14,-4300</point>
|
||||
<point>28,-3710</point>
|
||||
<point>66,-2100</point>
|
||||
<point>85,-1550</point>
|
||||
<point>100,-780</point>
|
||||
<point>1,-4500</point>
|
||||
<point>29,-3800</point>
|
||||
<point>71,-1850</point>
|
||||
<point>86,-1000</point>
|
||||
<point>100,-500</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_NOTIFICATION" deviceCategory="DEVICE_CATEGORY_EARPIECE"
|
||||
ref="DEFAULT_DEVICE_CATEGORY_EARPIECE_VOLUME_CURVE"/>
|
||||
|
@ -177,13 +178,12 @@ volume index from 0 to 100.
|
|||
<point>100,-1800</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_ENFORCED_AUDIBLE" deviceCategory="DEVICE_CATEGORY_SPEAKER">
|
||||
<point>1,-5200</point>
|
||||
<point>13,-5000</point>
|
||||
<point>28,-4400</point>
|
||||
<point>56,-3380</point>
|
||||
<point>71,-3120</point>
|
||||
<point>85,-2750</point>
|
||||
<point>100,-2150</point>
|
||||
<point>1,-4500</point>
|
||||
<point>29,-3400</point>
|
||||
<point>57,-2250</point>
|
||||
<point>71,-1900</point>
|
||||
<point>86,-1530</point>
|
||||
<point>100,-1100</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_ENFORCED_AUDIBLE" deviceCategory="DEVICE_CATEGORY_EARPIECE"
|
||||
ref="DEFAULT_SYSTEM_VOLUME_CURVE"/>
|
||||
|
@ -198,12 +198,12 @@ volume index from 0 to 100.
|
|||
<point>100,-1800</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_DTMF" deviceCategory="DEVICE_CATEGORY_SPEAKER">
|
||||
<point>1,-6600</point>
|
||||
<point>13,-6220</point>
|
||||
<point>28,-5500</point>
|
||||
<point>42,-4600</point>
|
||||
<point>57,-4250</point>
|
||||
<point>100,-2780</point>
|
||||
<point>1,-5700</point>
|
||||
<point>29,-4230</point>
|
||||
<point>43,-3300</point>
|
||||
<point>57,-3100</point>
|
||||
<point>71,-2500</point>
|
||||
<point>100,-1400</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_DTMF" deviceCategory="DEVICE_CATEGORY_EARPIECE"
|
||||
ref="DEFAULT_SYSTEM_VOLUME_CURVE"/>
|
||||
|
|
|
@ -116,6 +116,9 @@
|
|||
<ctl name="R Fast Use Case Switch Enable" value="0" />
|
||||
<ctl name="R Fast Use Case Delta File" value="fast_switch5.txt" />
|
||||
|
||||
<!-- HAC Max Amp switch init -->
|
||||
<ctl name="HAC AMP EN" value="0" />
|
||||
|
||||
<!-- default EP volume -->
|
||||
<ctl name="PCM Playback Switch" value="1" />
|
||||
<ctl name="PCM Playback Volume" value="10" />
|
||||
|
@ -233,6 +236,7 @@
|
|||
<ctl name="EP6 TX Mixer INCALL_TX" value="0" />
|
||||
<ctl name="NoHost1 TX Mixer INCALL_TX" value="0" />
|
||||
|
||||
<ctl name="EP5 TX Mixer INTERNAL_MIC_US_TX" value="0" />
|
||||
<ctl name="EP4 TX Mixer I2S_2_TX" value="0" />
|
||||
|
||||
<!-- AoC Mic setting -->
|
||||
|
@ -241,7 +245,7 @@
|
|||
<ctl name="MIC Record Soft Gain (dB)" value="-40" />
|
||||
|
||||
<!-- USB setting v2 -->
|
||||
<ctl name="USB Bus ID v2" value="2" />
|
||||
<ctl name="USB Bus ID v2" value="1" />
|
||||
<ctl name="USB Dev ID v2" value="2" />
|
||||
<ctl name="USB Playback EP ID v2" value="1" />
|
||||
<ctl name="USB Playback FORMAT v2" value="0" />
|
||||
|
@ -256,10 +260,14 @@
|
|||
|
||||
<ctl name="AoC Modem Downlink ASRC Mode" value="ASP_ON" />
|
||||
<ctl name="Voice Call Mic Source" value="Builtin_MIC" />
|
||||
<ctl name="Mic Spatial Module Enable" value="0" />
|
||||
<ctl name="Audio Capture Eraser Enable" value="0" />
|
||||
<ctl name="Hotword Tap Enable" value="0" />
|
||||
|
||||
<!-- In AIDL Hal, this controlled by audio hal directly to avoid aoc" -->
|
||||
<!-- crashing since speicifc order is needed between dsp mode and" -->
|
||||
<!-- spatial module." -->
|
||||
<ctl name="Mic Spatial Module Enable" value="0" />
|
||||
|
||||
<!-- audio PDM mic default state -->
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="-1" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="-1" />
|
||||
|
@ -267,6 +275,12 @@
|
|||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
|
||||
<ctl name="Audio Capture Mic Source" value="Builtin_MIC" />
|
||||
|
||||
<!-- audio Ultrasound mic default state -->
|
||||
<ctl name="BUILDIN US MIC ID CAPTURE LIST" id="0" value="-1" />
|
||||
<ctl name="BUILDIN US MIC ID CAPTURE LIST" id="1" value="-1" />
|
||||
<ctl name="BUILDIN US MIC ID CAPTURE LIST" id="2" value="-1" />
|
||||
<ctl name="BUILDIN US MIC ID CAPTURE LIST" id="3" value="-1" />
|
||||
|
||||
<!-- sidetone controls -->
|
||||
<ctl name="Sidetone Enable" value="0" />
|
||||
<ctl name="Sidetone Volume" value="-96" />
|
||||
|
@ -317,7 +331,6 @@
|
|||
<ctl name="Decoder Reference Enable" value="0" />
|
||||
<ctl name="LVM Enable" value="0" />
|
||||
|
||||
<ctl name="AoC Chirp Enable" value="0" />
|
||||
<!-- sidetone dynamic control -->
|
||||
<path name="sidetone-for handset">
|
||||
<!-- 1065353216 = 0x3f800000 = 1.0 -->
|
||||
|
@ -425,6 +438,10 @@
|
|||
<path name="primary-playback-0 -> usb" />
|
||||
</path>
|
||||
|
||||
<path name="primary-playback-0 -> hdmi-device">
|
||||
<path name="primary-playback-0 -> usb" />
|
||||
</path>
|
||||
|
||||
<path name="raw-playback -> speaker">
|
||||
<ctl name="TDM_0_RX Mixer RAW" value="1" />
|
||||
</path>
|
||||
|
@ -493,6 +510,10 @@
|
|||
<path name="raw-playback-0 -> usb" />
|
||||
</path>
|
||||
|
||||
<path name="raw-playback-0 -> hdmi-device">
|
||||
<path name="raw-playback-0 -> usb" />
|
||||
</path>
|
||||
|
||||
<path name="deep-buffer-playback -> speaker">
|
||||
<ctl name="TDM_0_RX Mixer EP6" value="1" />
|
||||
</path>
|
||||
|
@ -561,6 +582,10 @@
|
|||
<path name="deep-buffer-playback-0 -> usb" />
|
||||
</path>
|
||||
|
||||
<path name="deep-buffer-playback-0 -> hdmi-device">
|
||||
<path name="deep-buffer-playback-0 -> usb" />
|
||||
</path>
|
||||
|
||||
<path name="compress-offload-playback">
|
||||
<ctl name="LVM Enable" value="1" />
|
||||
</path>
|
||||
|
@ -634,6 +659,10 @@
|
|||
<path name="compress-offload-playback-0 -> usb" />
|
||||
</path>
|
||||
|
||||
<path name="compress-offload-playback-0 -> hdmi-device">
|
||||
<path name="compress-offload-playback-0 -> usb" />
|
||||
</path>
|
||||
|
||||
<path name="mmap-playback -> speaker">
|
||||
<ctl name="TDM_0_RX Mixer EP1" value="1" />
|
||||
</path>
|
||||
|
@ -702,6 +731,10 @@
|
|||
<path name="mmap-playback-0 -> usb" />
|
||||
</path>
|
||||
|
||||
<path name="mmap-playback-0 -> hdmi-device">
|
||||
<path name="mmap-playback-0 -> usb" />
|
||||
</path>
|
||||
|
||||
<path name="hifi-playback-0 -> usb">
|
||||
<ctl name="USB_RX Mixer HIFI" value="1" />
|
||||
</path>
|
||||
|
@ -782,6 +815,10 @@
|
|||
<path name="voip-playback-0 -> usb" />
|
||||
</path>
|
||||
|
||||
<path name="voip-playback-0 -> hdmi-device">
|
||||
<path name="voip-playback-0 -> usb" />
|
||||
</path>
|
||||
|
||||
<path name="immersive-playback -> speaker">
|
||||
<ctl name="TDM_0_RX Mixer IMSV" value="1" />
|
||||
</path>
|
||||
|
@ -818,6 +855,14 @@
|
|||
<path name="immersive-playback -> bt" />
|
||||
</path>
|
||||
|
||||
<path name="immersive-playback-0 -> bluetooth-low-energy-headset">
|
||||
<path name="immersive-playback -> bt" />
|
||||
</path>
|
||||
|
||||
<path name="immersive-playback-0 -> bluetooth-low-energy-speaker">
|
||||
<path name="immersive-playback -> bt" />
|
||||
</path>
|
||||
|
||||
<path name="immersive-playback-0 -> usb">
|
||||
<ctl name="USB_RX Mixer IMSV" value="1" />
|
||||
</path>
|
||||
|
@ -830,6 +875,58 @@
|
|||
<path name="immersive-playback-0 -> usb" />
|
||||
</path>
|
||||
|
||||
<path name="spatializer-offload-playback -> speaker">
|
||||
<ctl name="TDM_0_RX Mixer EP4" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="spatializer-offload-playback-0 -> speaker">
|
||||
<path name="spatializer-offload-playback -> speaker" />
|
||||
</path>
|
||||
|
||||
<path name="spatializer-offload-playback-0 -> speaker-earpiece">
|
||||
<path name="spatializer-offload-playback -> speaker" />
|
||||
</path>
|
||||
|
||||
<path name="spatializer-offload-playback-0 -> speaker-safe">
|
||||
<path name="spatializer-offload-playback -> speaker" />
|
||||
</path>
|
||||
|
||||
<path name="spatializer-offload-playback -> bt">
|
||||
<ctl name="BT_RX Mixer EP4" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="spatializer-offload-playback-0 -> bluetooth-a2dp-device">
|
||||
<path name="spatializer-offload-playback -> bt" />
|
||||
</path>
|
||||
|
||||
<path name="spatializer-offload-playback-0 -> bluetooth-a2dp-headphone">
|
||||
<path name="spatializer-offload-playback -> bt" />
|
||||
</path>
|
||||
|
||||
<path name="spatializer-offload-playback-0 -> bluetooth-a2dp-speaker">
|
||||
<path name="spatializer-offload-playback -> bt" />
|
||||
</path>
|
||||
|
||||
<path name="spatializer-offload-playback-0 -> bluetooth-low-energy-headset">
|
||||
<path name="spatializer-offload-playback -> bt" />
|
||||
</path>
|
||||
|
||||
<path name="spatializer-offload-playback-0 -> bluetooth-low-energy-speaker">
|
||||
<path name="spatializer-offload-playback -> bt" />
|
||||
</path>
|
||||
|
||||
<path name="spatializer-offload-playback-0 -> usb">
|
||||
<ctl name="USB_RX Mixer EP4" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="spatializer-offload-playback-0 -> usb-headset">
|
||||
<path name="spatializer-offload-playback-0 -> usb" />
|
||||
</path>
|
||||
|
||||
<path name="spatializer-offload-playback-0 -> usb-device">
|
||||
<path name="spatializer-offload-playback-0 -> usb" />
|
||||
</path>
|
||||
|
||||
<path name="haptic-playback -> speaker">
|
||||
<ctl name="TDM_0_RX Mixer EP3" value="1" />
|
||||
<ctl name="TDM_0_RX Mixer EP8" value="1" />
|
||||
|
@ -901,6 +998,10 @@
|
|||
<path name="haptic-playback-0 -> usb" />
|
||||
</path>
|
||||
|
||||
<path name="haptic-playback-0 -> hdmi-device">
|
||||
<path name="haptic-playback-0 -> usb" />
|
||||
</path>
|
||||
|
||||
<!-- audio capture dynamic route -->
|
||||
<path name="microphones -> primary-capture-0">
|
||||
<ctl name="EP1 TX Mixer INTERNAL_MIC_TX" value="1" />
|
||||
|
@ -986,13 +1087,42 @@
|
|||
<ctl name="EP3 TX Mixer BT_TX" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="microphones -> sound-trigger-capture-0">
|
||||
<path name="microphones -> sound-trigger-capture-0" />
|
||||
|
||||
<path name="microphones -> sound-trigger-tap-capture-0" />
|
||||
|
||||
<path name="microphones -> hotword-lookback-capture-0" />
|
||||
|
||||
<path name="ultrasound-microphones -> ultrasound-capture-0">
|
||||
<ctl name="EP5 TX Mixer INTERNAL_MIC_US_TX" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="microphones -> sound-trigger-tap-capture-0">
|
||||
<path name="microphones -> mmap-capture-0">
|
||||
<ctl name="EP2 TX Mixer INTERNAL_MIC_TX" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="microphones -> hotword-lookback-capture-0">
|
||||
<path name="back-microphones -> mmap-capture-0">
|
||||
<path name="microphones -> mmap-capture-0" />
|
||||
</path>
|
||||
|
||||
<path name="usb-microphones -> mmap-capture-0">
|
||||
<ctl name="EP2 TX Mixer USB_TX" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="usb-headset-microphones -> mmap-capture-0">
|
||||
<path name="usb-microphones -> mmap-capture-0" />
|
||||
</path>
|
||||
|
||||
<path name="usb-device-microphones -> mmap-capture-0">
|
||||
<path name="usb-microphones -> mmap-capture-0" />
|
||||
</path>
|
||||
|
||||
<path name="bluetooth-sco-headset-microphones -> mmap-capture-0">
|
||||
<ctl name="EP2 TX Mixer BT_TX" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="bluetooth-low-energy-headset-microphones -> mmap-capture-0">
|
||||
<ctl name="EP2 TX Mixer BT_TX" value="1" />
|
||||
</path>
|
||||
|
||||
<!-- voice-call dynamic route -->
|
||||
|
@ -1092,6 +1222,10 @@
|
|||
<ctl name="Incall Capture Stream0" value="UL_DL" />
|
||||
</path>
|
||||
|
||||
<path name="telephony-rx -> in-call-capture-0">
|
||||
<ctl name="Incall Capture Stream0" value="DL" />
|
||||
</path>
|
||||
|
||||
<path name="telephony-rx (VOICE_DOWNLINK) -> in-call-capture-1">
|
||||
<ctl name="Incall Capture Stream1" value="DL" />
|
||||
</path>
|
||||
|
@ -1104,6 +1238,10 @@
|
|||
<ctl name="Incall Capture Stream1" value="UL_DL" />
|
||||
</path>
|
||||
|
||||
<path name="telephony-rx -> in-call-capture-1">
|
||||
<ctl name="Incall Capture Stream1" value="DL" />
|
||||
</path>
|
||||
|
||||
<path name="telephony-rx (VOICE_DOWNLINK) -> in-call-capture-2">
|
||||
<ctl name="Incall Capture Stream2" value="DL" />
|
||||
</path>
|
||||
|
@ -1116,28 +1254,8 @@
|
|||
<ctl name="Incall Capture Stream2" value="UL_DL" />
|
||||
</path>
|
||||
|
||||
<path name="microphones -> mmap-capture-0">
|
||||
<ctl name="EP2 TX Mixer INTERNAL_MIC_TX" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="usb-microphones -> mmap-capture-0">
|
||||
<ctl name="EP2 TX Mixer USB_TX" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="usb-headset-microphones -> mmap-capture-0">
|
||||
<path name="usb-microphones -> mmap-capture-0" />
|
||||
</path>
|
||||
|
||||
<path name="usb-device-microphones -> mmap-capture-0">
|
||||
<path name="usb-microphones -> mmap-capture-0" />
|
||||
</path>
|
||||
|
||||
<path name="bluetooth-sco-headset-microphones -> mmap-capture-0">
|
||||
<ctl name="EP2 TX Mixer BT_TX" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="bluetooth-low-energy-headset-microphones -> mmap-capture-0">
|
||||
<ctl name="EP2 TX Mixer BT_TX" value="1" />
|
||||
<path name="telephony-rx -> in-call-capture-2">
|
||||
<ctl name="Incall Capture Stream2" value="DL" />
|
||||
</path>
|
||||
|
||||
<!-- codec setting -->
|
||||
|
@ -1152,7 +1270,13 @@
|
|||
<ctl name="PCM Source" value="ASP" />
|
||||
<ctl name="AMP PCM Gain" value="7" />
|
||||
<ctl name="Main AMP Enable Switch" value="1" />
|
||||
<ctl name="AoC Chirp Enable" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="speaker-earpiece (VOICE,HAC)">
|
||||
<ctl name="PCM Source" value="ASP" />
|
||||
<ctl name="AMP PCM Gain" value="10" />
|
||||
<ctl name="Main AMP Enable Switch" value="1" />
|
||||
<ctl name="HAC AMP EN" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="speaker">
|
||||
|
@ -1167,7 +1291,6 @@
|
|||
<path name="speaker (VOICE)">
|
||||
<ctl name="ASPTX1 Slot Position" value="1" />
|
||||
<ctl name="R ASPTX1 Slot Position" value="0" />
|
||||
<!--<ctl name="R DSP RX2 Source" value="ASPRX2" />-->
|
||||
<ctl name="R Main AMP Enable Switch" value="1" />
|
||||
<ctl name="Main AMP Enable Switch" value="1" />
|
||||
<!-- load Enable FIR -->
|
||||
|
@ -1185,30 +1308,28 @@
|
|||
</path>
|
||||
|
||||
<!-- Tx device -->
|
||||
<path name="microphones">
|
||||
<path name="builtin-mic-id-capture-list">
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="3" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="1" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
|
||||
</path>
|
||||
|
||||
<path name="microphones">
|
||||
<path name="builtin-mic-id-capture-list" />
|
||||
<ctl name="MIC DC Blocker" value="1" />
|
||||
<ctl name="MIC Record Soft Gain (dB)" value="22" />
|
||||
</path>
|
||||
|
||||
<path name="microphones (VOICE)">
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="3" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
|
||||
<path name="builtin-mic-id-capture-list" />
|
||||
<ctl name="MIC DC Blocker" value="1" />
|
||||
<ctl name="MIC HW Gain At High Power Mode (cB)" value="130" />
|
||||
<ctl name="MIC Record Soft Gain (dB)" value="0" />
|
||||
</path>
|
||||
|
||||
<path name="microphones (VOICE_RECOGNITION)">
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="3" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
|
||||
<path name="builtin-mic-id-capture-list" />
|
||||
<ctl name="MIC DC Blocker" value="1" />
|
||||
<ctl name="MIC Record Soft Gain (dB)" value="22" />
|
||||
</path>
|
||||
|
@ -1220,91 +1341,50 @@
|
|||
</path>
|
||||
|
||||
<path name="microphones (SOUND_TRIGGER_AEC)">
|
||||
<ctl name="Audio Capture Eraser Enable" value="1" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="3" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
|
||||
<path name="builtin-mic-id-capture-list" />
|
||||
<ctl name="MIC DC Blocker" value="1" />
|
||||
<ctl name="Audio Capture Eraser Enable" value="1" />
|
||||
<ctl name="Audio Capture Mic Source" value="ERASER" />
|
||||
<ctl name="MIC Record Soft Gain (dB)" value="0" />
|
||||
</path>
|
||||
|
||||
<path name="back-microphones">
|
||||
<ctl name="Mic Spatial Module Enable" value="1" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="3" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
|
||||
<path name="microphones (CAMCORDER)">
|
||||
<path name="builtin-mic-id-capture-list" />
|
||||
<ctl name="MIC DC Blocker" value="1" />
|
||||
<ctl name="MIC Record Soft Gain (dB)" value="22" />
|
||||
<ctl name="MIC Record Soft Gain (dB)" value="0" />
|
||||
</path>
|
||||
|
||||
<path name="microphones (UNPROCESSED)">
|
||||
<path name="builtin-mic-id-capture-list" />
|
||||
<ctl name="MIC DC Blocker" value="1" />
|
||||
<ctl name="MIC Record Soft Gain (dB)" value="5" />
|
||||
</path>
|
||||
|
||||
<path name="back-microphones">
|
||||
<path name="microphones" />
|
||||
</path>
|
||||
|
||||
<path name="back-microphones (VOICE)">
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="3" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
|
||||
<ctl name="MIC DC Blocker" value="1" />
|
||||
<ctl name="MIC HW Gain At High Power Mode (cB)" value="130" />
|
||||
<ctl name="MIC Record Soft Gain (dB)" value="0" />
|
||||
</path>
|
||||
|
||||
<path name="microphones (CAMCORDER)">
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="3" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
|
||||
<ctl name="MIC DC Blocker" value="1" />
|
||||
<ctl name="MIC Record Soft Gain (dB)" value="0" />
|
||||
<path name="microphones (VOICE)" />
|
||||
</path>
|
||||
|
||||
<path name="back-microphones (CAMCORDER)">
|
||||
<path name="microphones (CAMCORDER)" />
|
||||
</path>
|
||||
|
||||
<path name="camcorder-mic">
|
||||
<ctl name="Mic Spatial Module Enable" value="1" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="3" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
|
||||
<ctl name="MIC DC Blocker" value="1" />
|
||||
<ctl name="MIC Record Soft Gain (dB)" value="0" />
|
||||
<path name="back-microphones (UNPROCESSED)">
|
||||
<path name="microphones (UNPROCESSED)" />
|
||||
</path>
|
||||
|
||||
<path name="unprocessed-mic">
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="3" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
|
||||
<ctl name="MIC DC Blocker" value="1" />
|
||||
<ctl name="MIC Record Soft Gain (dB)" value="5" />
|
||||
</path>
|
||||
|
||||
<path name="unprocessed-dual-mic">
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="3" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
|
||||
<ctl name="MIC DC Blocker" value="1" />
|
||||
<ctl name="MIC Record Soft Gain (dB)" value="5" />
|
||||
</path>
|
||||
|
||||
<path name="unprocessed-triple-mic">
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="3" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
|
||||
<ctl name="MIC DC Blocker" value="1" />
|
||||
<ctl name="MIC Record Soft Gain (dB)" value="5" />
|
||||
<path name="ultrasound-microphones">
|
||||
<ctl name="BUILDIN US MIC ID CAPTURE LIST" id="0" value="0" />
|
||||
<ctl name="BUILDIN US MIC ID CAPTURE LIST" id="1" value="1" />
|
||||
<ctl name="BUILDIN US MIC ID CAPTURE LIST" id="2" value="-1" />
|
||||
<ctl name="BUILDIN US MIC ID CAPTURE LIST" id="3" value="-1" />
|
||||
</path>
|
||||
|
||||
<path name="bluetooth-sco-headset-microphones">
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="3" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
|
||||
<path name="builtin-mic-id-capture-list" />
|
||||
<ctl name="Audio Capture Mic Source" value="BT_MIC" />
|
||||
<ctl name="Voice Call Mic Source" value="BT_MIC" />
|
||||
<ctl name="MIC Record Soft Gain (dB)" value="0" />
|
||||
|
@ -1315,10 +1395,7 @@
|
|||
</path>
|
||||
|
||||
<path name="usb-headset-microphones">
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="3" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
|
||||
<path name="builtin-mic-id-capture-list" />
|
||||
<ctl name="Audio Capture Mic Source" value="USB_MIC" />
|
||||
<ctl name="Voice Call Mic Source" value="USB_MIC" />
|
||||
<ctl name="MIC Record Soft Gain (dB)" value="0" />
|
||||
|
@ -1396,8 +1473,8 @@
|
|||
</path>
|
||||
|
||||
<path name="adapted-voice-earpiece">
|
||||
<ctl name="Boost Peak Current Limit" value="3.50A" />
|
||||
<ctl name="Digital PCM Volume" value="817" />
|
||||
<ctl name="Boost Peak Current Limit" value="3.50A" />
|
||||
<ctl name="Digital PCM Volume" value="817" />
|
||||
</path>
|
||||
<path name="adapted-voice-earpiece-battery-throttled">
|
||||
<path name="adapted-voice-earpiece" />
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
AUDIO_TABLE_FOLDER := tokay
|
||||
|
||||
# Choose AIDL config by build flag.
|
||||
ifeq ($(RELEASE_PIXEL_AIDL_AUDIO_HAL),true)
|
||||
ifeq ($(USE_AUDIO_HAL_AIDL),true)
|
||||
PRODUCT_SOONG_NAMESPACES += device/google/caimito/audio/$(AUDIO_TABLE_FOLDER)/aidl_config
|
||||
PRODUCT_PACKAGES += audio_aidl_configs
|
||||
|
||||
|
@ -28,6 +28,7 @@ PRODUCT_COPY_FILES += \
|
|||
device/google/caimito/audio/$(AUDIO_TABLE_FOLDER)/config/audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration.xml \
|
||||
device/google/caimito/audio/$(AUDIO_TABLE_FOLDER)/config/audio_policy_configuration_le_offload_disabled.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration_le_offload_disabled.xml \
|
||||
device/google/caimito/audio/$(AUDIO_TABLE_FOLDER)/config/audio_policy_configuration_a2dp_offload_disabled.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration_a2dp_offload_disabled.xml \
|
||||
device/google/caimito/audio/$(AUDIO_TABLE_FOLDER)/config/audio_policy_volumes.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_volumes.xml \
|
||||
device/google/caimito/audio/$(AUDIO_TABLE_FOLDER)/config/audio_platform_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_platform_configuration.xml \
|
||||
device/google/caimito/audio/$(AUDIO_TABLE_FOLDER)/config/sound_trigger_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sound_trigger_configuration.xml \
|
||||
device/google/caimito/audio/$(AUDIO_TABLE_FOLDER)/config/bluetooth_with_le_audio_policy_configuration_7_0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_audio_policy_configuration_7_0.xml
|
||||
|
@ -51,6 +52,7 @@ PRODUCT_COPY_FILES += $(call copy-files,$(wildcard $(SPK_FIRMWARE_FULL_PATH)/*)
|
|||
PRODUCT_SOONG_NAMESPACES += device/google/caimito/audio/$(AUDIO_TABLE_FOLDER)/tuning
|
||||
PRODUCT_PACKAGES += \
|
||||
recording.gatf \
|
||||
smartfeature.gstf \
|
||||
BLUETOOTH.dat \
|
||||
HANDSFREE.dat \
|
||||
HANDSET.dat \
|
||||
|
|
|
@ -249,7 +249,7 @@
|
|||
|
||||
<features>
|
||||
<feature name="BatteryThrottle=Type:BCL_VOLTAGE,Name:BCL_AUDIO_BAACL,Strategy:MediaSpeakerAndScreenOn"/>
|
||||
<feature name="PlaybackThermalThrottle=PollWaitMs:20000,ThermistorName:VIRTUAL-SKIN-SPEAKER,ThermistorType:UNKNOWN,ThrottlingSeverity:LIGHT"/>
|
||||
<feature name="PlaybackThermalThrottle=PollWaitMs:20000,ThermistorName:VIRTUAL-SKIN-SPEAKER,ThermistorType:UNKNOWN,ThrottlingSeverity:LIGHT,SpeakerPowerPollWaitMs:5000"/>
|
||||
</features>
|
||||
|
||||
<cfg_attr>
|
||||
|
@ -300,13 +300,14 @@
|
|||
<device_handle>
|
||||
<handler libname="audio_bt_aoc.so"/>
|
||||
<handler libname="audio_usb_aoc.so" argu="MaxSamplingRate=96000,UnsupportedFormat=S24_LE"/>
|
||||
<handler libname="audio_hdmi_aoc.so"/>
|
||||
</device_handle>
|
||||
|
||||
<external_module>
|
||||
<module libname="audio_spk_35l41.so" argu="AcousticShockProtection"/>
|
||||
<module libname="audio_waves_aoc.so" argu="Sink=SPK:1 ThermistorsName=VIRTUAL-SKIN-SPEAKER Extensions=StereoSpatializerIndicator"/>
|
||||
<module libname="audio_cca_aoc.so" argu="UnsupportBands=48000 ExSharedBands=48000 VoIPMode=Dl"/>
|
||||
<module libname="audio_fortemedia_aoc.so" argu="MCPS_TABLE=y DL_CH=y VoIP_DLCHs=SPK:2,USB:2 VoIP_Rate=32000 SHARED_MODULE=1130578253"/>
|
||||
<module libname="audio_cca_aoc.so" argu="UnsupportBands=48000 ExSharedBands=48000 VoIPMode=Dl SupportBWE=y"/>
|
||||
<module libname="audio_fortemedia_aoc.so" argu="APPLY_WB_TUNING_FOR_NB_VOICE=y MCPS_TABLE=y DL_CH=y VoIP_DLCHs=SPK:2,USB:2,BT:2 VoIP_Rate=32000 SHARED_MODULE=1130578253"/>
|
||||
<module libname="audio_sounddose_aoc.so"/>
|
||||
<module libname="liboffloadeffect.so"/>
|
||||
<module libname="audio_amcs_ext.so"/>
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</mixPort>
|
||||
<mixPort name="compressed_offload" role="source"
|
||||
flags="AUDIO_OUTPUT_FLAG_DIRECT AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD AUDIO_OUTPUT_FLAG_NON_BLOCKING">
|
||||
flags="AUDIO_OUTPUT_FLAG_DIRECT AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD AUDIO_OUTPUT_FLAG_NON_BLOCKING AUDIO_OUTPUT_FLAG_GAPLESS_OFFLOAD">
|
||||
<profile name="" format="AUDIO_FORMAT_MP3"
|
||||
samplingRates="8000 16000 24000 32000 44100 48000"
|
||||
channelMasks="AUDIO_CHANNEL_OUT_STEREO AUDIO_CHANNEL_OUT_MONO"/>
|
||||
|
@ -93,7 +93,7 @@
|
|||
samplingRates="8000 11025 12000 16000 22050 24000 32000 44100 48000"
|
||||
channelMasks="AUDIO_CHANNEL_IN_MONO AUDIO_CHANNEL_IN_STEREO"/>
|
||||
</mixPort>
|
||||
<mixPort name="incall capture" role="sink">
|
||||
<mixPort name="incall capture" role="sink" maxActiveCount="2" maxOpenCount="2">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="48000"
|
||||
channelMasks="AUDIO_CHANNEL_IN_MONO"/>
|
||||
|
@ -148,7 +148,7 @@
|
|||
</devicePort>
|
||||
<devicePort tagName="USB Headset Out" type="AUDIO_DEVICE_OUT_USB_HEADSET" role="sink">
|
||||
</devicePort>
|
||||
<devicePort tagName="Aux Digital" type="AUDIO_DEVICE_OUT_AUX_DIGITAL" role="sink">
|
||||
<devicePort tagName="HDMI Out" type="AUDIO_DEVICE_OUT_HDMI" role="sink">
|
||||
</devicePort>
|
||||
<devicePort tagName="Telephony Tx" type="AUDIO_DEVICE_OUT_TELEPHONY_TX" role="sink">
|
||||
</devicePort>
|
||||
|
@ -227,6 +227,8 @@
|
|||
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,hifi_playback,compressed_offload,immersive_out"/>
|
||||
<route type="mix" sink="USB Headset Out"
|
||||
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,hifi_playback,compressed_offload,immersive_out"/>
|
||||
<route type="mix" sink="HDMI Out"
|
||||
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,compressed_offload"/>
|
||||
<route type="mix" sink="BT SCO"
|
||||
sources="primary output,deep buffer,haptic,voip_rx,compressed_offload,raw,mmap_no_irq_out"/>
|
||||
<route type="mix" sink="BT SCO Headset"
|
||||
|
|
|
@ -93,7 +93,7 @@
|
|||
samplingRates="8000 11025 12000 16000 22050 24000 32000 44100 48000"
|
||||
channelMasks="AUDIO_CHANNEL_IN_MONO AUDIO_CHANNEL_IN_STEREO"/>
|
||||
</mixPort>
|
||||
<mixPort name="incall capture" role="sink">
|
||||
<mixPort name="incall capture" role="sink" maxActiveCount="2" maxOpenCount="2">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="48000"
|
||||
channelMasks="AUDIO_CHANNEL_IN_MONO"/>
|
||||
|
@ -148,7 +148,7 @@
|
|||
</devicePort>
|
||||
<devicePort tagName="USB Headset Out" type="AUDIO_DEVICE_OUT_USB_HEADSET" role="sink">
|
||||
</devicePort>
|
||||
<devicePort tagName="Aux Digital" type="AUDIO_DEVICE_OUT_AUX_DIGITAL" role="sink">
|
||||
<devicePort tagName="HDMI Out" type="AUDIO_DEVICE_OUT_HDMI" role="sink">
|
||||
</devicePort>
|
||||
<devicePort tagName="Telephony Tx" type="AUDIO_DEVICE_OUT_TELEPHONY_TX" role="sink">
|
||||
</devicePort>
|
||||
|
@ -183,6 +183,8 @@
|
|||
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,hifi_playback,compressed_offload,immersive_out"/>
|
||||
<route type="mix" sink="USB Headset Out"
|
||||
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,hifi_playback,compressed_offload,immersive_out"/>
|
||||
<route type="mix" sink="HDMI Out"
|
||||
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,compressed_offload"/>
|
||||
<route type="mix" sink="BT SCO"
|
||||
sources="primary output,deep buffer,haptic,voip_rx,compressed_offload,raw,mmap_no_irq_out"/>
|
||||
<route type="mix" sink="BT SCO Headset"
|
||||
|
|
|
@ -89,7 +89,7 @@
|
|||
samplingRates="8000 11025 12000 16000 22050 24000 32000 44100 48000"
|
||||
channelMasks="AUDIO_CHANNEL_IN_MONO AUDIO_CHANNEL_IN_STEREO"/>
|
||||
</mixPort>
|
||||
<mixPort name="incall capture" role="sink">
|
||||
<mixPort name="incall capture" role="sink" maxActiveCount="2" maxOpenCount="2">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="48000"
|
||||
channelMasks="AUDIO_CHANNEL_IN_MONO"/>
|
||||
|
@ -144,7 +144,7 @@
|
|||
</devicePort>
|
||||
<devicePort tagName="USB Headset Out" type="AUDIO_DEVICE_OUT_USB_HEADSET" role="sink">
|
||||
</devicePort>
|
||||
<devicePort tagName="Aux Digital" type="AUDIO_DEVICE_OUT_AUX_DIGITAL" role="sink">
|
||||
<devicePort tagName="HDMI Out" type="AUDIO_DEVICE_OUT_HDMI" role="sink">
|
||||
</devicePort>
|
||||
<devicePort tagName="Telephony Tx" type="AUDIO_DEVICE_OUT_TELEPHONY_TX" role="sink">
|
||||
</devicePort>
|
||||
|
@ -179,6 +179,8 @@
|
|||
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,hifi_playback"/>
|
||||
<route type="mix" sink="USB Headset Out"
|
||||
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,hifi_playback"/>
|
||||
<route type="mix" sink="HDMI Out"
|
||||
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx"/>
|
||||
<route type="mix" sink="BT SCO"
|
||||
sources="primary output,deep buffer,haptic,voip_rx,raw,mmap_no_irq_out"/>
|
||||
<route type="mix" sink="BT SCO Headset"
|
||||
|
|
|
@ -93,7 +93,7 @@
|
|||
samplingRates="8000 11025 12000 16000 22050 24000 32000 44100 48000"
|
||||
channelMasks="AUDIO_CHANNEL_IN_MONO AUDIO_CHANNEL_IN_STEREO"/>
|
||||
</mixPort>
|
||||
<mixPort name="incall capture" role="sink">
|
||||
<mixPort name="incall capture" role="sink" maxActiveCount="2" maxOpenCount="2">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="48000"
|
||||
channelMasks="AUDIO_CHANNEL_IN_MONO"/>
|
||||
|
@ -148,7 +148,7 @@
|
|||
</devicePort>
|
||||
<devicePort tagName="USB Headset Out" type="AUDIO_DEVICE_OUT_USB_HEADSET" role="sink">
|
||||
</devicePort>
|
||||
<devicePort tagName="Aux Digital" type="AUDIO_DEVICE_OUT_AUX_DIGITAL" role="sink">
|
||||
<devicePort tagName="HDMI Out" type="AUDIO_DEVICE_OUT_HDMI" role="sink">
|
||||
</devicePort>
|
||||
<devicePort tagName="Telephony Tx" type="AUDIO_DEVICE_OUT_TELEPHONY_TX" role="sink">
|
||||
</devicePort>
|
||||
|
@ -204,6 +204,8 @@
|
|||
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,hifi_playback,compressed_offload,immersive_out"/>
|
||||
<route type="mix" sink="USB Headset Out"
|
||||
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,hifi_playback,compressed_offload,immersive_out"/>
|
||||
<route type="mix" sink="HDMI Out"
|
||||
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,compressed_offload"/>
|
||||
<route type="mix" sink="BT SCO"
|
||||
sources="primary output,deep buffer,haptic,voip_rx,compressed_offload,raw,mmap_no_irq_out"/>
|
||||
<route type="mix" sink="BT SCO Headset"
|
||||
|
|
265
audio/tokay/config/audio_policy_volumes.xml
Normal file
265
audio/tokay/config/audio_policy_volumes.xml
Normal file
|
@ -0,0 +1,265 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Copyright (C) 2015 The Android Open Source Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
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.
|
||||
-->
|
||||
<!-- Volume section defines a volume curve for a given use case and device category.
|
||||
It contains a list of points of this curve expressing the attenuation in Millibels for a given
|
||||
volume index from 0 to 100.
|
||||
<volume stream=”AUDIO_STREAM_MUSIC” deviceCategory=””>
|
||||
<point>0,-9600</point>
|
||||
<point>100,0</point>
|
||||
</volume>
|
||||
-->
|
||||
|
||||
<volumes>
|
||||
<volume stream="AUDIO_STREAM_VOICE_CALL" deviceCategory="DEVICE_CATEGORY_HEADSET">
|
||||
<point>0,-4200</point>
|
||||
<point>33,-2800</point>
|
||||
<point>66,-1400</point>
|
||||
<point>100,0</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_VOICE_CALL" deviceCategory="DEVICE_CATEGORY_SPEAKER">
|
||||
<point>0,-2400</point>
|
||||
<point>33,-1600</point>
|
||||
<point>66,-800</point>
|
||||
<point>100,0</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_VOICE_CALL" deviceCategory="DEVICE_CATEGORY_EARPIECE">
|
||||
<point>0,-2400</point>
|
||||
<point>33,-1600</point>
|
||||
<point>66,-800</point>
|
||||
<point>100,0</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_VOICE_CALL" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
|
||||
ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_VOICE_CALL" deviceCategory="DEVICE_CATEGORY_HEARING_AID"
|
||||
ref="DEFAULT_NON_MUTABLE_HEARING_AID_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_SYSTEM" deviceCategory="DEVICE_CATEGORY_HEADSET">
|
||||
<point>1,-3000</point>
|
||||
<point>33,-2600</point>
|
||||
<point>66,-2200</point>
|
||||
<point>100,-1800</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_SYSTEM" deviceCategory="DEVICE_CATEGORY_SPEAKER">
|
||||
<point>1,-4500</point>
|
||||
<point>29,-3400</point>
|
||||
<point>57,-2250</point>
|
||||
<point>71,-1900</point>
|
||||
<point>86,-1530</point>
|
||||
<point>100,-1100</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_SYSTEM" deviceCategory="DEVICE_CATEGORY_EARPIECE"
|
||||
ref="DEFAULT_SYSTEM_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_SYSTEM" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
|
||||
ref="DEFAULT_DEVICE_CATEGORY_EXT_MEDIA_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_SYSTEM" deviceCategory="DEVICE_CATEGORY_HEARING_AID"
|
||||
ref="DEFAULT_HEARING_AID_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_RING" deviceCategory="DEVICE_CATEGORY_HEADSET"
|
||||
ref="DEFAULT_DEVICE_CATEGORY_HEADSET_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_RING" deviceCategory="DEVICE_CATEGORY_SPEAKER">
|
||||
<point>1,-4000</point>
|
||||
<point>29,-2950</point>
|
||||
<point>43,-2350</point>
|
||||
<point>57,-1850</point>
|
||||
<point>71,-1400</point>
|
||||
<point>86,-700</point>
|
||||
<point>100,0</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_RING" deviceCategory="DEVICE_CATEGORY_EARPIECE"
|
||||
ref="DEFAULT_DEVICE_CATEGORY_EARPIECE_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_RING" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
|
||||
ref="DEFAULT_DEVICE_CATEGORY_EXT_MEDIA_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_RING" deviceCategory="DEVICE_CATEGORY_HEARING_AID"
|
||||
ref="DEFAULT_HEARING_AID_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_MUSIC" deviceCategory="DEVICE_CATEGORY_HEADSET"
|
||||
ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_MUSIC" deviceCategory="DEVICE_CATEGORY_SPEAKER">
|
||||
<point>1,-9000</point>
|
||||
<point>4,-6370</point>
|
||||
<point>8,-6105</point>
|
||||
<point>12,-5810</point>
|
||||
<point>16,-5520</point>
|
||||
<point>20,-5220</point>
|
||||
<point>24,-4870</point>
|
||||
<point>28,-4490</point>
|
||||
<point>32,-4278</point>
|
||||
<point>36,-4027</point>
|
||||
<point>40,-3770</point>
|
||||
<point>44,-3560</point>
|
||||
<point>48,-3300</point>
|
||||
<point>52,-3080</point>
|
||||
<point>56,-2800</point>
|
||||
<point>60,-2620</point>
|
||||
<point>64,-2350</point>
|
||||
<point>68,-2200</point>
|
||||
<point>72,-2100</point>
|
||||
<point>76,-1930</point>
|
||||
<point>80,-1700</point>
|
||||
<point>84,-1460</point>
|
||||
<point>88,-1190</point>
|
||||
<point>92,-850</point>
|
||||
<point>96,-510</point>
|
||||
<point>100,0</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_MUSIC" deviceCategory="DEVICE_CATEGORY_EARPIECE"
|
||||
ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_MUSIC" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
|
||||
ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_MUSIC" deviceCategory="DEVICE_CATEGORY_HEARING_AID"
|
||||
ref="DEFAULT_HEARING_AID_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_ALARM" deviceCategory="DEVICE_CATEGORY_HEADSET"
|
||||
ref="DEFAULT_NON_MUTABLE_HEADSET_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_ALARM" deviceCategory="DEVICE_CATEGORY_SPEAKER">
|
||||
<point>0,-5600</point>
|
||||
<point>29,-3520</point>
|
||||
<point>57,-1500</point>
|
||||
<point>71,-1150</point>
|
||||
<point>86,-500</point>
|
||||
<point>100,0</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_ALARM" deviceCategory="DEVICE_CATEGORY_EARPIECE"
|
||||
ref="DEFAULT_NON_MUTABLE_EARPIECE_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_ALARM" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
|
||||
ref="DEFAULT_NON_MUTABLE_EXT_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_ALARM" deviceCategory="DEVICE_CATEGORY_HEARING_AID"
|
||||
ref="DEFAULT_NON_MUTABLE_HEARING_AID_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_NOTIFICATION" deviceCategory="DEVICE_CATEGORY_HEADSET"
|
||||
ref="DEFAULT_DEVICE_CATEGORY_HEADSET_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_NOTIFICATION" deviceCategory="DEVICE_CATEGORY_SPEAKER">
|
||||
<point>1,-4500</point>
|
||||
<point>29,-3800</point>
|
||||
<point>71,-1850</point>
|
||||
<point>86,-1000</point>
|
||||
<point>100,-500</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_NOTIFICATION" deviceCategory="DEVICE_CATEGORY_EARPIECE"
|
||||
ref="DEFAULT_DEVICE_CATEGORY_EARPIECE_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_NOTIFICATION" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
|
||||
ref="DEFAULT_DEVICE_CATEGORY_EXT_MEDIA_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_NOTIFICATION" deviceCategory="DEVICE_CATEGORY_HEARING_AID"
|
||||
ref="DEFAULT_DEVICE_CATEGORY_HEADSET_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_BLUETOOTH_SCO" deviceCategory="DEVICE_CATEGORY_HEADSET">
|
||||
<point>0,-4200</point>
|
||||
<point>33,-2800</point>
|
||||
<point>66,-1400</point>
|
||||
<point>100,0</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_BLUETOOTH_SCO" deviceCategory="DEVICE_CATEGORY_SPEAKER">
|
||||
<point>0,-2400</point>
|
||||
<point>33,-1600</point>
|
||||
<point>66,-800</point>
|
||||
<point>100,0</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_BLUETOOTH_SCO" deviceCategory="DEVICE_CATEGORY_EARPIECE">
|
||||
<point>0,-4200</point>
|
||||
<point>33,-2800</point>
|
||||
<point>66,-1400</point>
|
||||
<point>100,0</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_BLUETOOTH_SCO" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
|
||||
ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_BLUETOOTH_SCO" deviceCategory="DEVICE_CATEGORY_HEARING_AID"
|
||||
ref="DEFAULT_HEARING_AID_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_ENFORCED_AUDIBLE" deviceCategory="DEVICE_CATEGORY_HEADSET">
|
||||
<point>1,-3000</point>
|
||||
<point>33,-2600</point>
|
||||
<point>66,-2200</point>
|
||||
<point>100,-1800</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_ENFORCED_AUDIBLE" deviceCategory="DEVICE_CATEGORY_SPEAKER">
|
||||
<point>1,-4500</point>
|
||||
<point>29,-3400</point>
|
||||
<point>57,-2250</point>
|
||||
<point>71,-1900</point>
|
||||
<point>86,-1530</point>
|
||||
<point>100,-1100</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_ENFORCED_AUDIBLE" deviceCategory="DEVICE_CATEGORY_EARPIECE"
|
||||
ref="DEFAULT_SYSTEM_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_ENFORCED_AUDIBLE" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
|
||||
ref="DEFAULT_DEVICE_CATEGORY_EXT_MEDIA_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_ENFORCED_AUDIBLE" deviceCategory="DEVICE_CATEGORY_HEARING_AID"
|
||||
ref="DEFAULT_HEARING_AID_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_DTMF" deviceCategory="DEVICE_CATEGORY_HEADSET">
|
||||
<point>1,-3000</point>
|
||||
<point>33,-2600</point>
|
||||
<point>66,-2200</point>
|
||||
<point>100,-1800</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_DTMF" deviceCategory="DEVICE_CATEGORY_SPEAKER">
|
||||
<point>1,-5700</point>
|
||||
<point>29,-4230</point>
|
||||
<point>43,-3300</point>
|
||||
<point>57,-3100</point>
|
||||
<point>71,-2500</point>
|
||||
<point>100,-1400</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_DTMF" deviceCategory="DEVICE_CATEGORY_EARPIECE"
|
||||
ref="DEFAULT_SYSTEM_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_DTMF" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
|
||||
ref="DEFAULT_DEVICE_CATEGORY_EXT_MEDIA_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_DTMF" deviceCategory="DEVICE_CATEGORY_HEARING_AID"
|
||||
ref="DEFAULT_HEARING_AID_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_TTS" deviceCategory="DEVICE_CATEGORY_HEADSET"
|
||||
ref="SILENT_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_TTS" deviceCategory="DEVICE_CATEGORY_SPEAKER"
|
||||
ref="FULL_SCALE_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_TTS" deviceCategory="DEVICE_CATEGORY_EARPIECE"
|
||||
ref="SILENT_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_TTS" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
|
||||
ref="SILENT_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_TTS" deviceCategory="DEVICE_CATEGORY_HEARING_AID"
|
||||
ref="SILENT_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_ACCESSIBILITY" deviceCategory="DEVICE_CATEGORY_HEADSET"
|
||||
ref="DEFAULT_NON_MUTABLE_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_ACCESSIBILITY" deviceCategory="DEVICE_CATEGORY_SPEAKER"
|
||||
ref="DEFAULT_NON_MUTABLE_SPEAKER_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_ACCESSIBILITY" deviceCategory="DEVICE_CATEGORY_EARPIECE"
|
||||
ref="DEFAULT_NON_MUTABLE_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_ACCESSIBILITY" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
|
||||
ref="DEFAULT_NON_MUTABLE_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_ACCESSIBILITY" deviceCategory="DEVICE_CATEGORY_HEARING_AID"
|
||||
ref="DEFAULT_NON_MUTABLE_HEARING_AID_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_ASSISTANT" deviceCategory="DEVICE_CATEGORY_HEADSET"
|
||||
ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_ASSISTANT" deviceCategory="DEVICE_CATEGORY_SPEAKER"
|
||||
ref="DEFAULT_DEVICE_CATEGORY_SPEAKER_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_ASSISTANT" deviceCategory="DEVICE_CATEGORY_EARPIECE"
|
||||
ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_ASSISTANT" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
|
||||
ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_ASSISTANT" deviceCategory="DEVICE_CATEGORY_HEARING_AID"
|
||||
ref="DEFAULT_HEARING_AID_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_REROUTING" deviceCategory="DEVICE_CATEGORY_HEADSET"
|
||||
ref="FULL_SCALE_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_REROUTING" deviceCategory="DEVICE_CATEGORY_SPEAKER"
|
||||
ref="FULL_SCALE_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_REROUTING" deviceCategory="DEVICE_CATEGORY_EARPIECE"
|
||||
ref="FULL_SCALE_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_REROUTING" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
|
||||
ref="FULL_SCALE_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_REROUTING" deviceCategory="DEVICE_CATEGORY_HEARING_AID"
|
||||
ref="FULL_SCALE_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_PATCH" deviceCategory="DEVICE_CATEGORY_HEADSET"
|
||||
ref="FULL_SCALE_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_PATCH" deviceCategory="DEVICE_CATEGORY_SPEAKER"
|
||||
ref="FULL_SCALE_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_PATCH" deviceCategory="DEVICE_CATEGORY_EARPIECE"
|
||||
ref="FULL_SCALE_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_PATCH" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
|
||||
ref="FULL_SCALE_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_PATCH" deviceCategory="DEVICE_CATEGORY_HEARING_AID"
|
||||
ref="FULL_SCALE_VOLUME_CURVE"/>
|
||||
</volumes>
|
||||
|
|
@ -114,6 +114,9 @@
|
|||
<ctl name="R Fast Use Case Switch Enable" value="0" />
|
||||
<ctl name="R Fast Use Case Delta File" value="fast_switch5.txt" />
|
||||
|
||||
<!-- HAC Max Amp switch init -->
|
||||
<ctl name="HAC AMP EN" value="0"/>
|
||||
|
||||
<!-- default EP volume -->
|
||||
<ctl name="PCM Playback Switch" value="1"/>
|
||||
<ctl name="PCM Playback Volume" value="10"/>
|
||||
|
@ -686,6 +689,12 @@
|
|||
<ctl name="R Fast Use Case Switch Enable" value="1" /-->
|
||||
</path>
|
||||
|
||||
<path name="hdmi">
|
||||
</path>
|
||||
|
||||
<path name="hdmi-post">
|
||||
</path>
|
||||
|
||||
<path name="voice-speaker">
|
||||
<ctl name="R Boost Peak Current Limit" value="3.50A"/>
|
||||
<ctl name="Boost Peak Current Limit" value="3.50A"/>
|
||||
|
|
|
@ -35,6 +35,11 @@ prebuilt_etc {
|
|||
src: "bluenote/recording.gatf",
|
||||
defaults: ["aoc_defaults"],
|
||||
}
|
||||
prebuilt_etc {
|
||||
name: "smartfeature.gstf",
|
||||
src: "bluenote/smartfeature.gstf",
|
||||
defaults: ["aoc_defaults"],
|
||||
}
|
||||
prebuilt_etc {
|
||||
name: "template.xml",
|
||||
src: "bluenote/template.xml",
|
||||
|
|
Binary file not shown.
BIN
audio/tokay/tuning/bluenote/smartfeature.gstf
Normal file
BIN
audio/tokay/tuning/bluenote/smartfeature.gstf
Normal file
Binary file not shown.
|
@ -26,7 +26,6 @@
|
|||
<param default="48000" id="1" name="fs_" type="uint32"/>
|
||||
<param default="3" id="2" name="numCh_" type="uint32"/>
|
||||
<param default="7" id="3" name="chMask_" type="uint32"/>
|
||||
<param id="16" max="1" min="0" name="alpha" type="float"/>
|
||||
<param complex="true" id="17" name="ch0_profileL" size="1024" type="float"/>
|
||||
<param complex="true" id="18" name="ch1_profileL" size="1024" type="float"/>
|
||||
<param complex="true" id="19" name="ch2_profileL" size="1024" type="float"/>
|
||||
|
@ -43,7 +42,24 @@
|
|||
<param default="0" id="27" name="ch0_assignFrom" type="int32"/>
|
||||
<param default="1" id="28" name="ch1_assignFrom" type="int32"/>
|
||||
<param default="2" id="29" name="ch2_assignFrom" type="int32"/>
|
||||
<param default="0.333" id="30" max="1" min="0.01" name="alphaEnhancedRate" type="float"/>
|
||||
<param default="0.33" id="30" name="alpha_enhancedRate" type="float"/>
|
||||
<param default="0" id="31" name="swapOutputLR" type="int32"/>
|
||||
<struct id="32">
|
||||
<param default="0.0" name="CB_alpha_lowband" type="float"/>
|
||||
<param default="0.0" name="CB_alpha_midband" type="float"/>
|
||||
<param default="0.0" name="CB_alpha_highband" type="float"/>
|
||||
</struct>
|
||||
<struct id="33">
|
||||
<param default="0.0" name="CB_epsilon_lowband" type="float"/>
|
||||
<param default="0.0" name="CB_epsilon_midband" type="float"/>
|
||||
<param default="0.0" name="CB_epsilon_highband" type="float"/>
|
||||
</struct>
|
||||
<struct id="34">
|
||||
<param default="13" name="CB_fc_low_mid" type="int32"/>
|
||||
<param default="22" name="CB_fc_mid_high" type="int32"/>
|
||||
<param default="5" name="CB_smooth_span" type="int32"/>
|
||||
<param default="1.0" name="CB_forget_factor" type="float"/>
|
||||
</struct>
|
||||
</module>
|
||||
<module id="7" name="Multi Channel IIR 2">
|
||||
<param default="0" id="0" max="3" name="opMode_" type="uint32"/>
|
||||
|
@ -253,6 +269,171 @@
|
|||
<param max="100" min="0" name="limiter_releaseTime_ms" type="uint32"/>
|
||||
</struct>
|
||||
</module>
|
||||
<module id="40" name="Pixel Gain Controller">
|
||||
<param default="0" id="0" max="3" name="opMode_" type="uint32"/>
|
||||
<param default="48000" id="1" name="fs_" type="uint32"/>
|
||||
<param default="2" id="2" name="numCh_" type="uint32"/>
|
||||
<param default="3" id="3" name="chMask_" type="uint32"/>
|
||||
<struct id="16">
|
||||
<param name="crossover_iir_lp1" size="5" type="float"/>
|
||||
<param name="crossover_iir_hp1" size="5" type="float"/>
|
||||
<param name="crossover_iir_lp2" size="5" type="float"/>
|
||||
<param name="crossover_iir_hp2" size="5" type="float"/>
|
||||
<param default="250" max="1000" min="5" name="environment_rms_window_ms" type="int32"/>
|
||||
<param default="-40" max="0" name="environment_rms_threshold_db" type="float"/>
|
||||
<param default="10000" min="0" name="environment_rms_attack_release_ms" type="int32"/>
|
||||
<param default="1" min="0" name="environment_loudness_ratio_band0" type="float"/>
|
||||
<param default="1" min="0" name="environment_loudness_ratio_band1" type="float"/>
|
||||
<param default="1" min="0" name="environment_loudness_ratio_band2" type="float"/>
|
||||
<param default="100" max="1000" min="5" name="drc_window_ms_lowaop_band0" type="int32"/>
|
||||
<param default="28" name="drc_gain_db_lowaop_band0" type="float"/>
|
||||
<param default="-20" name="drc_min_gain_db_lowaop_band0" type="float"/>
|
||||
<param default="-70" name="drc_thres_db_expander_lowaop_band0" type="float"/>
|
||||
<param default="-40" name="drc_thres_db_upward_compressor_lowaop_band0" type="float"/>
|
||||
<param default="-36" name="drc_thres_db_downward_compressor_lowaop_band0" type="float"/>
|
||||
<param default="4.0" min="0" name="drc_knee_width_db_expander_lowaop_band0" type="float"/>
|
||||
<param default="4.0" min="0" name="drc_knee_width_db_upward_compressor_lowaop_band0" type="float"/>
|
||||
<param default="4.0" min="0" name="drc_knee_width_db_downward_compressor_lowaop_band0" type="float"/>
|
||||
<param default="2.0" min="0" name="drc_ratio_expander_lowaop_band0" type="float"/>
|
||||
<param default="1.5" min="0" name="drc_ratio_upward_compressor_lowaop_band0" type="float"/>
|
||||
<param default="1.0" min="0" name="drc_ratio_linear_lowaop_band0" type="float"/>
|
||||
<param default="9.0" min="0" name="drc_ratio_downward_compressor_lowaop_band0" type="float"/>
|
||||
<param default="350" min="0" name="drc_attack_ms_expander_lowaop_band0" type="float"/>
|
||||
<param default="500" min="0" name="drc_attack_ms_upward_compressor_lowaop_band0" type="float"/>
|
||||
<param default="500" min="0" name="drc_attack_ms_linear_lowaop_band0" type="float"/>
|
||||
<param default="350" min="0" name="drc_attack_ms_downward_compressor_lowaop_band0" type="float"/>
|
||||
<param default="5000" min="0" name="drc_release_ms_expander_lowaop_band0" type="float"/>
|
||||
<param default="12000" min="0" name="drc_release_ms_upward_compressor_lowaop_band0" type="float"/>
|
||||
<param default="12000" min="0" name="drc_release_ms_linear_lowaop_band0" type="float"/>
|
||||
<param default="5000" min="0" name="drc_release_ms_downward_compressor_lowaop_band0" type="float"/>
|
||||
<param default="100" max="1000" min="5" name="drc_window_ms_lowaop_band1" type="int32"/>
|
||||
<param default="28" name="drc_gain_db_lowaop_band1" type="float"/>
|
||||
<param default="-20" name="drc_min_gain_db_lowaop_band1" type="float"/>
|
||||
<param default="-70" name="drc_thres_db_expander_lowaop_band1" type="float"/>
|
||||
<param default="-40" name="drc_thres_db_upward_compressor_lowaop_band1" type="float"/>
|
||||
<param default="-36" name="drc_thres_db_downward_compressor_lowaop_band1" type="float"/>
|
||||
<param default="4.0" min="0" name="drc_knee_width_db_expander_lowaop_band1" type="float"/>
|
||||
<param default="4.0" min="0" name="drc_knee_width_db_upward_compressor_lowaop_band1" type="float"/>
|
||||
<param default="4.0" min="0" name="drc_knee_width_db_downward_compressor_lowaop_band1" type="float"/>
|
||||
<param default="2.0" min="0" name="drc_ratio_expander_lowaop_band1" type="float"/>
|
||||
<param default="1.5" min="0" name="drc_ratio_upward_compressor_lowaop_band1" type="float"/>
|
||||
<param default="1.0" min="0" name="drc_ratio_linear_lowaop_band1" type="float"/>
|
||||
<param default="9.0" min="0" name="drc_ratio_downward_compressor_lowaop_band1" type="float"/>
|
||||
<param default="350" min="0" name="drc_attack_ms_expander_lowaop_band1" type="float"/>
|
||||
<param default="500" min="0" name="drc_attack_ms_upward_compressor_lowaop_band1" type="float"/>
|
||||
<param default="500" min="0" name="drc_attack_ms_linear_lowaop_band1" type="float"/>
|
||||
<param default="350" min="0" name="drc_attack_ms_downward_compressor_lowaop_band1" type="float"/>
|
||||
<param default="5000" min="0" name="drc_release_ms_expander_lowaop_band1" type="float"/>
|
||||
<param default="12000" min="0" name="drc_release_ms_upward_compressor_lowaop_band1" type="float"/>
|
||||
<param default="12000" min="0" name="drc_release_ms_linear_lowaop_band1" type="float"/>
|
||||
<param default="5000" min="0" name="drc_release_ms_downward_compressor_lowaop_band1" type="float"/>
|
||||
<param default="100" max="1000" min="5" name="drc_window_ms_lowaop_band2" type="int32"/>
|
||||
<param default="28" name="drc_gain_db_lowaop_band2" type="float"/>
|
||||
<param default="-20" name="drc_min_gain_db_lowaop_band2" type="float"/>
|
||||
<param default="-70" name="drc_thres_db_expander_lowaop_band2" type="float"/>
|
||||
<param default="-40" name="drc_thres_db_upward_compressor_lowaop_band2" type="float"/>
|
||||
<param default="-36" name="drc_thres_db_downward_compressor_lowaop_band2" type="float"/>
|
||||
<param default="4.0" min="0" name="drc_knee_width_db_expander_lowaop_band2" type="float"/>
|
||||
<param default="4.0" min="0" name="drc_knee_width_db_upward_compressor_lowaop_band2" type="float"/>
|
||||
<param default="4.0" min="0" name="drc_knee_width_db_downward_compressor_lowaop_band2" type="float"/>
|
||||
<param default="2.0" min="0" name="drc_ratio_expander_lowaop_band2" type="float"/>
|
||||
<param default="1.5" min="0" name="drc_ratio_upward_compressor_lowaop_band2" type="float"/>
|
||||
<param default="1.0" min="0" name="drc_ratio_linear_lowaop_band2" type="float"/>
|
||||
<param default="9.0" min="0" name="drc_ratio_downward_compressor_lowaop_band2" type="float"/>
|
||||
<param default="350" min="0" name="drc_attack_ms_expander_lowaop_band2" type="float"/>
|
||||
<param default="500" min="0" name="drc_attack_ms_upward_compressor_lowaop_band2" type="float"/>
|
||||
<param default="500" min="0" name="drc_attack_ms_linear_lowaop_band2" type="float"/>
|
||||
<param default="350" min="0" name="drc_attack_ms_downward_compressor_lowaop_band2" type="float"/>
|
||||
<param default="5000" min="0" name="drc_release_ms_expander_lowaop_band2" type="float"/>
|
||||
<param default="12000" min="0" name="drc_release_ms_upward_compressor_lowaop_band2" type="float"/>
|
||||
<param default="12000" min="0" name="drc_release_ms_linear_lowaop_band2" type="float"/>
|
||||
<param default="5000" min="0" name="drc_release_ms_downward_compressor_lowaop_band2" type="float"/>
|
||||
<param default="100" max="1000" min="5" name="drc_window_ms_highaop_band0" type="int32"/>
|
||||
<param default="28" name="drc_gain_db_highaop_band0" type="float"/>
|
||||
<param default="-20" name="drc_min_gain_db_highaop_band0" type="float"/>
|
||||
<param default="-70" name="drc_thres_db_expander_highaop_band0" type="float"/>
|
||||
<param default="-40" name="drc_thres_db_upward_compressor_highaop_band0" type="float"/>
|
||||
<param default="-36" name="drc_thres_db_downward_compressor_highaop_band0" type="float"/>
|
||||
<param default="4.0" min="0" name="drc_knee_width_db_expander_highaop_band0" type="float"/>
|
||||
<param default="4.0" min="0" name="drc_knee_width_db_upward_compressor_highaop_band0" type="float"/>
|
||||
<param default="4.0" min="0" name="drc_knee_width_db_downward_compressor_highaop_band0" type="float"/>
|
||||
<param default="2.5" min="0" name="drc_ratio_expander_highaop_band0" type="float"/>
|
||||
<param default="1.5" min="0" name="drc_ratio_upward_compressor_highaop_band0" type="float"/>
|
||||
<param default="1.0" min="0" name="drc_ratio_linear_highaop_band0" type="float"/>
|
||||
<param default="9.0" min="0" name="drc_ratio_downward_compressor_highaop_band0" type="float"/>
|
||||
<param default="80" min="0" name="drc_attack_ms_expander_highaop_band0" type="float"/>
|
||||
<param default="500" min="0" name="drc_attack_ms_upward_compressor_highaop_band0" type="float"/>
|
||||
<param default="500" min="0" name="drc_attack_ms_linear_highaop_band0" type="float"/>
|
||||
<param default="80" min="0" name="drc_attack_ms_downward_compressor_highaop_band0" type="float"/>
|
||||
<param default="8000" min="0" name="drc_release_ms_expander_highaop_band0" type="float"/>
|
||||
<param default="5000" min="0" name="drc_release_ms_upward_compressor_highaop_band0" type="float"/>
|
||||
<param default="5000" min="0" name="drc_release_ms_linear_highaop_band0" type="float"/>
|
||||
<param default="8000" min="0" name="drc_release_ms_downward_compressor_highaop_band0" type="float"/>
|
||||
<param default="100" max="1000" min="5" name="drc_window_ms_highaop_band1" type="int32"/>
|
||||
<param default="28" name="drc_gain_db_highaop_band1" type="float"/>
|
||||
<param default="-20" name="drc_min_gain_db_highaop_band1" type="float"/>
|
||||
<param default="-70" name="drc_thres_db_expander_highaop_band1" type="float"/>
|
||||
<param default="-40" name="drc_thres_db_upward_compressor_highaop_band1" type="float"/>
|
||||
<param default="-36" name="drc_thres_db_downward_compressor_highaop_band1" type="float"/>
|
||||
<param default="4.0" min="0" name="drc_knee_width_db_expander_highaop_band1" type="float"/>
|
||||
<param default="4.0" min="0" name="drc_knee_width_db_upward_compressor_highaop_band1" type="float"/>
|
||||
<param default="4.0" min="0" name="drc_knee_width_db_downward_compressor_highaop_band1" type="float"/>
|
||||
<param default="2.5" min="0" name="drc_ratio_expander_highaop_band1" type="float"/>
|
||||
<param default="1.5" min="0" name="drc_ratio_upward_compressor_highaop_band1" type="float"/>
|
||||
<param default="1.0" min="0" name="drc_ratio_linear_highaop_band1" type="float"/>
|
||||
<param default="6.0" min="0" name="drc_ratio_downward_compressor_highaop_band1" type="float"/>
|
||||
<param default="80" min="0" name="drc_attack_ms_expander_highaop_band1" type="float"/>
|
||||
<param default="500" min="0" name="drc_attack_ms_upward_compressor_highaop_band1" type="float"/>
|
||||
<param default="500" min="0" name="drc_attack_ms_linear_highaop_band1" type="float"/>
|
||||
<param default="80" min="0" name="drc_attack_ms_downward_compressor_highaop_band1" type="float"/>
|
||||
<param default="8000" min="0" name="drc_release_ms_expander_highaop_band1" type="float"/>
|
||||
<param default="5000" min="0" name="drc_release_ms_upward_compressor_highaop_band1" type="float"/>
|
||||
<param default="5000" min="0" name="drc_release_ms_linear_highaop_band1" type="float"/>
|
||||
<param default="8000" min="0" name="drc_release_ms_downward_compressor_highaop_band1" type="float"/>
|
||||
<param default="100" max="1000" min="5" name="drc_window_ms_highaop_band2" type="int32"/>
|
||||
<param default="28" name="drc_gain_db_highaop_band2" type="float"/>
|
||||
<param default="-20" name="drc_min_gain_db_highaop_band2" type="float"/>
|
||||
<param default="-70" name="drc_thres_db_expander_highaop_band2" type="float"/>
|
||||
<param default="-40" name="drc_thres_db_upward_compressor_highaop_band2" type="float"/>
|
||||
<param default="-36" name="drc_thres_db_downward_compressor_highaop_band2" type="float"/>
|
||||
<param default="4.0" min="0" name="drc_knee_width_db_expander_highaop_band2" type="float"/>
|
||||
<param default="4.0" min="0" name="drc_knee_width_db_upward_compressor_highaop_band2" type="float"/>
|
||||
<param default="4.0" min="0" name="drc_knee_width_db_downward_compressor_highaop_band2" type="float"/>
|
||||
<param default="2.5" min="0" name="drc_ratio_expander_highaop_band2" type="float"/>
|
||||
<param default="1.5" min="0" name="drc_ratio_upward_compressor_highaop_band2" type="float"/>
|
||||
<param default="1.0" min="0" name="drc_ratio_linear_highaop_band2" type="float"/>
|
||||
<param default="9.0" min="0" name="drc_ratio_downward_compressor_highaop_band2" type="float"/>
|
||||
<param default="80" min="0" name="drc_attack_ms_expander_highaop_band2" type="float"/>
|
||||
<param default="500" min="0" name="drc_attack_ms_upward_compressor_highaop_band2" type="float"/>
|
||||
<param default="500" min="0" name="drc_attack_ms_linear_highaop_band2" type="float"/>
|
||||
<param default="80" min="0" name="drc_attack_ms_downward_compressor_highaop_band2" type="float"/>
|
||||
<param default="8000" min="0" name="drc_release_ms_expander_highaop_band2" type="float"/>
|
||||
<param default="5000" min="0" name="drc_release_ms_upward_compressor_highaop_band2" type="float"/>
|
||||
<param default="5000" min="0" name="drc_release_ms_linear_highaop_band2" type="float"/>
|
||||
<param default="8000" min="0" name="drc_release_ms_downward_compressor_highaop_band2" type="float"/>
|
||||
<param default="100" max="100" min="0" name="drc_delay_ms" type="int32"/>
|
||||
<param default="1" max="1" min="0" name="drc_use_peak_amplitude" type="int32"/>
|
||||
<param default="0" max="100" min="-100" name="drc_band1_minus_band2_max_gain_db" type="float"/>
|
||||
<param default="0" max="100" min="-100" name="drc_band3_minus_band2_max_gain_db" type="float"/>
|
||||
<param default="20" max="20" min="0" name="limiter_delay_ms" type="int32"/>
|
||||
<param default="-0.5" max="0" name="limiter_thres_db" type="float"/>
|
||||
<param default="0" name="limiter_gain_db" type="float"/>
|
||||
<param default="10" min="0" name="limiter_attack_time_ms" type="int32"/>
|
||||
<param default="50" min="0" name="limiter_release_time_ms" type="int32"/>
|
||||
<param default="1000" max="10000" min="100" name="drc_long_term_window_lower_ms_band0" type="int32"/>
|
||||
<param default="1000" max="10000" min="100" name="drc_long_term_window_lower_ms_band1" type="int32"/>
|
||||
<param default="1000" max="10000" min="100" name="drc_long_term_window_lower_ms_band2" type="int32"/>
|
||||
<param default="5000" max="10000" min="100" name="drc_long_term_window_upper_ms_band0" type="int32"/>
|
||||
<param default="5000" max="10000" min="100" name="drc_long_term_window_upper_ms_band1" type="int32"/>
|
||||
<param default="5000" max="10000" min="100" name="drc_long_term_window_upper_ms_band2" type="int32"/>
|
||||
<param default="-50" name="drc_long_term_window_lower_db_band0" type="float"/>
|
||||
<param default="-50" name="drc_long_term_window_lower_db_band1" type="float"/>
|
||||
<param default="-50" name="drc_long_term_window_lower_db_band2" type="float"/>
|
||||
<param default="-30" name="drc_long_term_window_upper_db_band0" type="float"/>
|
||||
<param default="-30" name="drc_long_term_window_upper_db_band1" type="float"/>
|
||||
<param default="-30" name="drc_long_term_window_upper_db_band2" type="float"/>
|
||||
</struct>
|
||||
</module>
|
||||
<module id="10000" name="Eraser">
|
||||
<param id="275" name="eraser_pre_gain" type="uint32"/>
|
||||
<param id="277" name="eraser_post_gain" type="uint32"/>
|
||||
|
@ -262,7 +443,6 @@
|
|||
<param id="299" name="cleaner_post_gain" type="uint32"/>
|
||||
</module>
|
||||
<module id="10002" name="CHRE">
|
||||
<param id="297" name="chre_gain" type="uint32"/>
|
||||
<param id="345" name="chre_aec_timeout" type="uint32"/>
|
||||
<param id="346" name="chre_pdm_gain" type="int32"/>
|
||||
<param id="347" name="chre_aec_gain" type="int32"/>
|
||||
|
@ -280,15 +460,16 @@
|
|||
<moduleRef id="6"/>
|
||||
<moduleRef id="7"/>
|
||||
<moduleRef id="5"/>
|
||||
<moduleRef id="8"/>
|
||||
<moduleRef id="40"/>
|
||||
</block>
|
||||
</signalflow>
|
||||
<signalflow id="2" name="General Mic Recording">
|
||||
<block id="137">
|
||||
<moduleRef id="14"/>
|
||||
<moduleRef id="11"/>
|
||||
<moduleRef id="7"/>
|
||||
<moduleRef id="5"/>
|
||||
<moduleRef id="8"/>
|
||||
<moduleRef id="40"/>
|
||||
</block>
|
||||
</signalflow>
|
||||
<signalflow id="1000" name="Smart Feature">
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load diff
Binary file not shown.
File diff suppressed because it is too large
Load diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
36
bluetooth/bluetooth_power_limits.csv
Normal file
36
bluetooth/bluetooth_power_limits.csv
Normal file
|
@ -0,0 +1,36 @@
|
|||
Head,BTHotspot,WIFI5Ghz,HotspotVoice,Cell,IMU,BDR_Single_Chain_0,EDR_Single_Chain_0,BLE_Single_Chain_0,HR_Single_Chain_0,BDR_Single_Chain_1,EDR_Single_Chain_1,BLE_Single_Chain_1,HR_Single_Chain_1,BDR_Dual_Chain_0,EDR_Dual_Chain_0,BLE_Dual_Chain_0,HR_Dual_Chain_0,BDR_Dual_Chain_1,EDR_Dual_Chain_1,BLE_Dual_Chain_1,HR_Dual_Chain_1
|
||||
off,off,off,off,off,on,74,72,74,70,74,72,74,70,70,56,70,56,70,56,70,56
|
||||
off,off,off,off,on,on,74,72,74,70,74,72,74,70,70,56,70,56,70,56,70,56
|
||||
off,off,off,on,off,on,74,72,74,70,74,72,74,70,70,56,70,56,70,56,70,56
|
||||
off,off,off,on,on,on,74,72,74,70,74,72,74,70,70,56,70,56,70,56,70,56
|
||||
off,off,on,off,off,on,74,72,74,70,74,72,74,70,70,56,70,56,70,56,70,56
|
||||
off,off,on,off,on,on,74,72,74,70,74,72,74,70,70,56,70,56,70,56,70,56
|
||||
off,off,on,on,off,on,58,58,58,58,58,58,58,58,58,56,58,56,58,56,58,56
|
||||
off,off,on,on,on,on,58,58,58,58,58,58,58,58,58,56,58,56,58,56,58,56
|
||||
off,on,off,off,off,on,58,58,58,58,58,58,58,58,58,56,58,56,58,56,58,56
|
||||
off,on,off,off,on,on,58,58,58,58,58,58,58,58,58,56,58,56,58,56,58,56
|
||||
off,on,off,on,off,on,58,58,58,58,58,58,58,58,58,56,58,56,58,56,58,56
|
||||
off,on,off,on,on,on,58,58,58,58,58,58,58,58,58,56,58,56,58,56,58,56
|
||||
off,on,on,off,off,on,58,58,58,58,58,58,58,58,58,56,58,56,58,56,58,56
|
||||
off,on,on,off,on,on,58,58,58,58,58,58,58,58,58,56,58,56,58,56,58,56
|
||||
off,on,on,on,off,on,58,58,58,58,58,58,58,58,58,56,58,56,58,56,58,56
|
||||
off,on,on,on,on,on,58,58,58,58,58,58,58,58,58,56,58,56,58,56,58,56
|
||||
on,off,off,off,off,any,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34
|
||||
on,off,off,off,on,any,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34
|
||||
on,off,off,on,off,any,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34
|
||||
on,off,off,on,on,any,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34
|
||||
on,off,on,off,off,any,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34
|
||||
on,off,on,off,on,any,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34
|
||||
on,off,on,on,off,any,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34
|
||||
on,off,on,on,on,any,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34
|
||||
on,on,off,off,off,any,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34
|
||||
on,on,off,off,on,any,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34
|
||||
on,on,off,on,off,any,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34
|
||||
on,on,off,on,on,any,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34
|
||||
on,on,on,off,off,any,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34
|
||||
on,on,on,off,on,any,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34
|
||||
on,on,on,on,off,any,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34
|
||||
on,on,on,on,on,any,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34
|
||||
off,off,any,off,any,off,74,72,74,70,74,72,74,70,70,56,74,56,70,56,74,56
|
||||
off,on,any,any,any,off,58,58,58,58,58,58,58,58,58,56,58,56,58,56,58,56
|
||||
off,any,any,on,any,off,58,58,58,58,58,58,58,58,58,56,58,56,58,56,58,56
|
|
36
bluetooth/bluetooth_power_limits_JP.csv
Normal file
36
bluetooth/bluetooth_power_limits_JP.csv
Normal file
|
@ -0,0 +1,36 @@
|
|||
Head,BTHotspot,WIFI5Ghz,HotspotVoice,Cell,IMU,BDR_Single_Chain_0,EDR_Single_Chain_0,BLE_Single_Chain_0,HR_Single_Chain_0,BDR_Single_Chain_1,EDR_Single_Chain_1,BLE_Single_Chain_1,HR_Single_Chain_1,BDR_Dual_Chain_0,EDR_Dual_Chain_0,BLE_Dual_Chain_0,HR_Dual_Chain_0,BDR_Dual_Chain_1,EDR_Dual_Chain_1,BLE_Dual_Chain_1,HR_Dual_Chain_1
|
||||
off,off,off,off,off,on,50,46,28,46,50,46,28,46,38,34,16,34,38,34,16,34
|
||||
off,off,off,off,on,on,50,46,28,46,50,46,28,46,38,34,16,34,38,34,16,34
|
||||
off,off,off,on,off,on,50,46,28,46,50,46,28,46,38,34,16,34,38,34,16,34
|
||||
off,off,off,on,on,on,50,46,28,46,50,46,28,46,38,34,16,34,38,34,16,34
|
||||
off,off,on,off,off,on,50,46,28,46,50,46,28,46,38,34,16,34,38,34,16,34
|
||||
off,off,on,off,on,on,50,46,28,46,50,46,28,46,38,34,16,34,38,34,16,34
|
||||
off,off,on,on,off,on,50,46,28,46,50,46,28,46,38,34,16,34,38,34,16,34
|
||||
off,off,on,on,on,on,50,46,28,46,50,46,28,46,38,34,16,34,38,34,16,34
|
||||
off,on,off,off,off,on,50,46,28,46,50,46,28,46,38,34,16,34,38,34,16,34
|
||||
off,on,off,off,on,on,50,46,28,46,50,46,28,46,38,34,16,34,38,34,16,34
|
||||
off,on,off,on,off,on,50,46,28,46,50,46,28,46,38,34,16,34,38,34,16,34
|
||||
off,on,off,on,on,on,50,46,28,46,50,46,28,46,38,34,16,34,38,34,16,34
|
||||
off,on,on,off,off,on,50,46,28,46,50,46,28,46,38,34,16,34,38,34,16,34
|
||||
off,on,on,off,on,on,50,46,28,46,50,46,28,46,38,34,16,34,38,34,16,34
|
||||
off,on,on,on,off,on,50,46,28,46,50,46,28,46,38,34,16,34,38,34,16,34
|
||||
off,on,on,on,on,on,50,46,28,46,50,46,28,46,38,34,16,34,38,34,16,34
|
||||
on,off,off,off,off,any,50,46,28,46,50,46,28,46,38,34,16,34,38,34,16,34
|
||||
on,off,off,off,on,any,50,46,28,46,50,46,28,46,38,34,16,34,38,34,16,34
|
||||
on,off,off,on,off,any,50,46,28,46,50,46,28,46,38,34,16,34,38,34,16,34
|
||||
on,off,off,on,on,any,50,46,28,46,50,46,28,46,38,34,16,34,38,34,16,34
|
||||
on,off,on,off,off,any,50,46,28,46,50,46,28,46,38,34,16,34,38,34,16,34
|
||||
on,off,on,off,on,any,50,46,28,46,50,46,28,46,38,34,16,34,38,34,16,34
|
||||
on,off,on,on,off,any,50,46,28,46,50,46,28,46,38,34,16,34,38,34,16,34
|
||||
on,off,on,on,on,any,50,46,28,46,50,46,28,46,38,34,16,34,38,34,16,34
|
||||
on,on,off,off,off,any,50,46,28,46,50,46,28,46,38,34,16,34,38,34,16,34
|
||||
on,on,off,off,on,any,50,46,28,46,50,46,28,46,38,34,16,34,38,34,16,34
|
||||
on,on,off,on,off,any,50,46,28,46,50,46,28,46,38,34,16,34,38,34,16,34
|
||||
on,on,off,on,on,any,50,46,28,46,50,46,28,46,38,34,16,34,38,34,16,34
|
||||
on,on,on,off,off,any,50,46,28,46,50,46,28,46,38,34,16,34,38,34,16,34
|
||||
on,on,on,off,on,any,50,46,28,46,50,46,28,46,38,34,16,34,38,34,16,34
|
||||
on,on,on,on,off,any,50,46,28,46,50,46,28,46,38,34,16,34,38,34,16,34
|
||||
on,on,on,on,on,any,50,46,28,46,50,46,28,46,38,34,16,34,38,34,16,34
|
||||
off,off,any,off,any,off,50,46,28,46,50,46,28,46,38,34,16,34,38,34,16,34
|
||||
off,on,any,any,any,off,50,46,28,46,50,46,28,46,38,34,16,34,38,34,16,34
|
||||
off,any,any,on,any,off,50,46,28,46,50,46,28,46,38,34,16,34,38,34,16,34
|
|
|
@ -32,9 +32,9 @@
|
|||
<scenario encode="OneChanMono_24_2" decode="invalid"/>
|
||||
<scenario encode="TwoChanStereo_24_2" decode="invalid"/>
|
||||
<scenario encode="OneChanStereo_24_2" decode="invalid"/>
|
||||
<scenario encode="OneChanMono_32_2" decode="invalid"/>
|
||||
<scenario encode="TwoChanStereo_32_2" decode="invalid"/>
|
||||
<scenario encode="OneChanStereo_32_2" decode="invalid"/>
|
||||
<scenario encode="OneChanMono_48_2" decode="invalid"/>
|
||||
<scenario encode="TwoChanStereo_48_2" decode="invalid"/>
|
||||
<scenario encode="OneChanStereo_48_2" decode="invalid"/>
|
||||
<scenario encode="OneChanMono_48_4" decode="invalid"/>
|
||||
<scenario encode="TwoChanStereo_48_4" decode="invalid"/>
|
||||
<scenario encode="OneChanStereo_48_4" decode="invalid"/>
|
||||
|
@ -67,10 +67,11 @@
|
|||
<configuration name="OneChanMono_24_2" codecConfiguration="LC3_24k_2" strategyConfiguration="MONO_ONE_CIS_PER_DEVICE"/>
|
||||
<configuration name="TwoChanStereo_24_2" codecConfiguration="LC3_24k_2" strategyConfiguration="STEREO_TWO_CISES_PER_DEVICE"/>
|
||||
<configuration name="OneChanStereo_24_2" codecConfiguration="LC3_24k_2" strategyConfiguration="STEREO_ONE_CIS_PER_DEVICE"/>
|
||||
<configuration name="OneChanStereo_32_2" codecConfiguration="LC3_32k_2" strategyConfiguration="STEREO_ONE_CIS_PER_DEVICE"/>
|
||||
<configuration name="OneChanMono_32_2" codecConfiguration="LC3_32k_2" strategyConfiguration="MONO_ONE_CIS_PER_DEVICE"/>
|
||||
<configuration name="TwoChanStereo_32_2" codecConfiguration="LC3_32k_2" strategyConfiguration="STEREO_TWO_CISES_PER_DEVICE"/>
|
||||
<configuration name="OneChanStereo_32_2" codecConfiguration="LC3_32k_2" strategyConfiguration="STEREO_ONE_CIS_PER_DEVICE"/>
|
||||
<configuration name="TwoChanStereo_48_2" codecConfiguration="LC3_32k_2" strategyConfiguration="STEREO_TWO_CISES_PER_DEVICE"/>
|
||||
<configuration name="OneChanMono_48_2" codecConfiguration="LC3_48k_2" strategyConfiguration="MONO_ONE_CIS_PER_DEVICE"/>
|
||||
<configuration name="TwoChanStereo_48_2" codecConfiguration="LC3_48k_2" strategyConfiguration="STEREO_TWO_CISES_PER_DEVICE"/>
|
||||
<configuration name="OneChanStereo_48_2" codecConfiguration="LC3_48k_2" strategyConfiguration="STEREO_ONE_CIS_PER_DEVICE"/>
|
||||
<configuration name="OneChanMono_48_4" codecConfiguration="LC3_48k_4" strategyConfiguration="MONO_ONE_CIS_PER_DEVICE"/>
|
||||
<configuration name="TwoChanStereo_48_4" codecConfiguration="LC3_48k_4" strategyConfiguration="STEREO_TWO_CISES_PER_DEVICE"/>
|
||||
|
@ -94,4 +95,4 @@
|
|||
<strategyConfiguration name="MONO_ONE_CIS_PER_DEVICE" audioLocation="MONO" connectedDevice="1" channelCount="1"/>
|
||||
<strategyConfiguration name="BROADCAST_STEREO" audioLocation="STEREO" connectedDevice="0" channelCount="2"/>
|
||||
</strategyConfigurationList>
|
||||
</leAudioOffloadSetting>
|
||||
</leAudioOffloadSetting>
|
||||
|
|
|
@ -24,5 +24,10 @@ include device/google/caimito/device-caimito-common.mk
|
|||
|
||||
include device/google/zumapro/BoardConfig-common.mk
|
||||
-include vendor/google_devices/zumapro/prebuilts/BoardConfigVendor.mk
|
||||
-include vendor/google_devices/caiman/proprietary/BoardConfigVendor.mk
|
||||
include device/google/caimito-sepolicy/caiman-sepolicy.mk
|
||||
include device/google/caimito/wifi/BoardConfig-wifi.mk
|
||||
|
||||
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
|
||||
-include device/google/common/etm/6_1/BoardUserdebugModules.mk
|
||||
endif
|
||||
|
|
|
@ -67,98 +67,6 @@
|
|||
<!-- Default refresh rate while the device has high brightness mode enabled for HDR. -->
|
||||
<integer name="config_defaultRefreshRateInHbmHdr">60</integer>
|
||||
|
||||
<!-- Array of light sensor LUX values to define our levels for auto backlight brightness support.
|
||||
The N entries of this array define N 1 zones as follows:
|
||||
Zone 0: 0 <= LUX < array[0]
|
||||
Zone 1: array[0] <= LUX < array[1]
|
||||
...
|
||||
Zone N: array[N - 1] <= LUX < array[N]
|
||||
Zone N + 1 array[N] <= LUX < infinity
|
||||
Must be overridden in platform specific overlays -->
|
||||
<integer-array name="config_autoBrightnessLevels">
|
||||
<item>1</item>
|
||||
<item>2</item>
|
||||
<item>3</item>
|
||||
<item>4</item>
|
||||
<item>8</item>
|
||||
<item>12</item>
|
||||
<item>15</item>
|
||||
<item>20</item>
|
||||
<item>33</item>
|
||||
<item>55</item>
|
||||
<item>90</item>
|
||||
<item>148</item>
|
||||
<item>245</item>
|
||||
<item>403</item>
|
||||
<item>665</item>
|
||||
<item>1097</item>
|
||||
<item>1808</item>
|
||||
<item>3000</item>
|
||||
<item>6000</item>
|
||||
<item>9000</item>
|
||||
<item>10000</item>
|
||||
<item>14000</item>
|
||||
<item>20000</item>
|
||||
<item>25000</item>
|
||||
<item>31000</item>
|
||||
<item>41000</item>
|
||||
<item>51000</item>
|
||||
<item>61000</item>
|
||||
<item>71000</item>
|
||||
<item>81000</item>
|
||||
<item>91000</item>
|
||||
<item>100000</item>
|
||||
</integer-array>
|
||||
|
||||
<!-- Array of desired screen brightness in nits corresponding to the lux values
|
||||
in the config_autoBrightnessLevels array. As with config_screenBrightnessMinimumNits and
|
||||
config_screenBrightnessMaximumNits, the display brightness is defined as the measured
|
||||
brightness of an all-white image.
|
||||
|
||||
If this is defined then:
|
||||
- config_autoBrightnessLcdBacklightValues should not be defined
|
||||
- config_screenBrightnessNits must be defined
|
||||
- config_screenBrightnessBacklight must be defined
|
||||
|
||||
This array should have size one greater than the size of the config_autoBrightnessLevels
|
||||
array. The brightness values must be non-negative and non-decreasing. This must be
|
||||
overridden in platform specific overlays -->
|
||||
<array name="config_autoBrightnessDisplayValuesNits">
|
||||
<item>5.139055</item> <!-- 0 - 1 -->
|
||||
<item>9.962018965</item> <!-- 1 - 2 -->
|
||||
<item>18.34822964</item> <!-- 2 - 3 -->
|
||||
<item>21.55068128</item> <!-- 3 - 4 -->
|
||||
<item>24.0167788</item> <!-- 4 - 8 -->
|
||||
<item>32.5</item> <!-- 8 - 12 -->
|
||||
<item>46</item> <!-- 12 - 15 -->
|
||||
<item>53.26923077</item> <!-- 15 - 20 -->
|
||||
<item>54.61538462</item> <!-- 20 - 33 -->
|
||||
<item>58.11538462</item> <!-- 33 - 55 -->
|
||||
<item>62.1394</item> <!-- 55 - 90 -->
|
||||
<item>67.13133333</item> <!-- 90 - 148 -->
|
||||
<item>79.67614115</item> <!-- 148 - 245 -->
|
||||
<item>98.04727274</item> <!-- 245 - 403 -->
|
||||
<item>125.1221991</item> <!-- 403 - 665 -->
|
||||
<item>161.6875093</item> <!-- 665 - 1097 -->
|
||||
<item>208.4885553</item> <!-- 1097 - 1808 -->
|
||||
<item>264.8221315</item> <!-- 1808 - 3000 -->
|
||||
<item>328.5869521</item> <!-- 3000 - 6000 -->
|
||||
<item>627.4315413</item> <!-- 6000 - 9000 -->
|
||||
<item>826.8584866</item> <!-- 9000 - 10000 -->
|
||||
<item>867.85582302</item> <!-- 10000 - 14000 -->
|
||||
<item>1041.39662279</item> <!-- 14000 - 20000 -->
|
||||
<item>1227.52633489</item> <!-- 20000 - 25000 -->
|
||||
<item>1331.28933608</item> <!-- 25000 - 31000 -->
|
||||
<item>1428.421149</item> <!-- 31000 - 41000 -->
|
||||
<item>1575.787970</item> <!-- 41000 - 51000 -->
|
||||
<item>1703.973078</item> <!-- 51000 - 61000 -->
|
||||
<item>1811.651453</item> <!-- 61000 - 71000 -->
|
||||
<item>1897.082235</item> <!-- 71000 - 81000 -->
|
||||
<item>1958.157391</item> <!-- 81000 - 91000 -->
|
||||
<item>1992.433376</item> <!-- 91000 - 100000 -->
|
||||
<item>2000</item> <!-- 100000+ -->
|
||||
</array>
|
||||
|
||||
<!-- Stability requirements in milliseconds for accepting a new brightness level. This is used
|
||||
for debouncing the light sensor. Different constants are used to debounce the light sensor
|
||||
when adapting to brighter or darker environments. This parameter controls how quickly
|
||||
|
@ -305,4 +213,15 @@
|
|||
<!-- Boolean indicating whether allow sending null to modem to clear the previous initial attach
|
||||
data profile -->
|
||||
<bool name="allow_clear_initial_attach_data_profile">true</bool>
|
||||
|
||||
<!-- MMS user agent string -->
|
||||
<string name="config_mms_user_agent" translatable="false">gr83y</string>
|
||||
<!-- MMS user agent profile url -->
|
||||
<string name="config_mms_user_agent_profile_url" translatable="false">http://www.gstatic.com/android/sms/GR83Y.xml</string>
|
||||
|
||||
<!-- Allow the GPS_PROVIDER to be replaced by the location provider app at run-time. -->
|
||||
<bool name="config_useGnssHardwareProvider" translatable="false">false</bool>
|
||||
<!-- Package name providing GNSS location support. Used only when
|
||||
config_useGnssHardwareProvider is false. -->
|
||||
<string name="config_gnssLocationProviderPackageName" translatable="false">com.google.android.gms</string>
|
||||
</resources>
|
||||
|
|
|
@ -0,0 +1,35 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
**
|
||||
** Copyright 2024, The Android Open Source Project
|
||||
**
|
||||
** Licensed under the Apache License, Version 2.0 (the "License")
|
||||
** you may not use this file except in compliance with the License.
|
||||
** 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.
|
||||
*/
|
||||
-->
|
||||
<irq-device-map>
|
||||
<device name="rtc-alarm0">
|
||||
<subsystem>Alarm</subsystem>
|
||||
</device>
|
||||
<device name="dhdpcie_host_wake">
|
||||
<subsystem>Wifi</subsystem>
|
||||
</device>
|
||||
<device name="cp2ap_wakeup">
|
||||
<subsystem>Cellular_data</subsystem>
|
||||
</device>
|
||||
<device name="MAILBOX_AOCF12APx1300">
|
||||
<subsystem>Sound_trigger</subsystem>
|
||||
</device>
|
||||
<device name="MAILBOX_AOCA322APx100">
|
||||
<subsystem>Sensor</subsystem>
|
||||
</device>
|
||||
</irq-device-map>
|
|
@ -0,0 +1,22 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
/*
|
||||
* Copyright 2024, The Android Open Source Project
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* 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.
|
||||
*/
|
||||
-->
|
||||
<resources>
|
||||
<!-- The dark background color behind the shade. -->
|
||||
<color name="shade_scrim_background_dark">#FF010101</color>
|
||||
</resources>
|
|
@ -43,7 +43,7 @@
|
|||
to brightness values; -1 means keeping the current brightness. -->
|
||||
<integer-array name="config_doze_brightness_sensor_to_brightness">
|
||||
<item>-1</item> <!-- 0: OFF -->
|
||||
<item>2</item> <!-- 1: NIGHT -->
|
||||
<item>1</item> <!-- 1: NIGHT (1-1)/(255-1)*(1850-2)+2 = 2 nits -->
|
||||
<item>2</item> <!-- 2: LOW (2-1)/(255-1)*(1850-2)+2 = 9.2 nits -->
|
||||
<item>8</item> <!-- 3: HIGH (8-1)/(255-1)*(1850-2)+2 = 52.9 nits -->
|
||||
<item>8</item> <!-- 4: SUN -->
|
||||
|
@ -55,7 +55,7 @@
|
|||
-1 means keeping the current opacity. -->
|
||||
<integer-array name="config_doze_brightness_sensor_to_scrim_opacity">
|
||||
<item>-1</item> <!-- 0: OFF -->
|
||||
<item>133</item> <!-- 1: NIGHT -->
|
||||
<item>0</item> <!-- 1: NIGHT -->
|
||||
<item>0</item> <!-- 2: LOW -->
|
||||
<item>0</item> <!-- 3: HIGH -->
|
||||
<item>0</item> <!-- 4: SUN -->
|
||||
|
@ -63,4 +63,11 @@
|
|||
|
||||
<!-- The time (in ms) needed to trigger the lock icon view's long-press affordance -->
|
||||
<integer name="config_lockIconLongPress" translatable="false">100</integer>
|
||||
|
||||
<!-- The properties of the face auth camera in pixels -->
|
||||
<integer-array name="config_face_auth_props">
|
||||
<item>640</item> <!-- sensorLocationX -->
|
||||
<item>101</item> <!-- sensorLocationY -->
|
||||
<item>48</item> <!--sensorRadius -->
|
||||
</integer-array>
|
||||
</resources>
|
||||
|
|
|
@ -18,5 +18,8 @@
|
|||
<resources>
|
||||
<!-- Padding for the lock icon on the keyguard. In pixels - should not scale with display size. -->
|
||||
<dimen name="lock_icon_padding">57px</dimen>
|
||||
|
||||
<!-- Pixel pitch of the device. um/px -->
|
||||
<item name="pixel_pitch" format="float" type="dimen">51.3</item>
|
||||
</resources>
|
||||
|
||||
|
|
|
@ -0,0 +1,24 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2024 The Android Open Source Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
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.
|
||||
-->
|
||||
|
||||
<!-- Phone app resources that may need to be customized
|
||||
for different hardware or product builds. -->
|
||||
<resources>
|
||||
<!-- The component name(a flattened ComponentName string) for the telephony domain selection
|
||||
service. The device should fallback to the modem based domain selection architecture
|
||||
if this is not configured. -->
|
||||
<string name="config_domain_selection_service_component_name" translatable="false">com.android.phone/com.android.services.telephony.domainselection.TelephonyDomainSelectionService</string>
|
||||
</resources>
|
24
caiman/overlay_packages/SettingsCaimanOverlay/Android.bp
Normal file
24
caiman/overlay_packages/SettingsCaimanOverlay/Android.bp
Normal file
|
@ -0,0 +1,24 @@
|
|||
//
|
||||
// Copyright (C) 2024 The Android Open Source Project
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// 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.
|
||||
//
|
||||
|
||||
package {
|
||||
default_applicable_licenses: ["Android-Apache-2.0"],
|
||||
}
|
||||
|
||||
runtime_resource_overlay {
|
||||
name: "SettingsCaimanOverlay",
|
||||
product_specific: true,
|
||||
}
|
|
@ -0,0 +1,23 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
~ Copyright (C) 2024 The Android Open Source Project
|
||||
~
|
||||
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||
~ you may not use this file except in compliance with the License.
|
||||
~ 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.
|
||||
-->
|
||||
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.android.settings.caiman">
|
||||
<application android:hasCode="false" />
|
||||
<overlay android:targetPackage="com.android.settings"
|
||||
android:isStatic="true" />
|
||||
</manifest>
|
Binary file not shown.
After Width: | Height: | Size: 174 KiB |
|
@ -0,0 +1,20 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
~ Copyright (C) 2024 The Android Open Source Project
|
||||
~
|
||||
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||
~ you may not use this file except in compliance with the License.
|
||||
~ 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.
|
||||
-->
|
||||
|
||||
<resources>
|
||||
<string name="config_regulatory_info_overlay_package_name" translatable="false">com.android.settings.caiman</string>
|
||||
</resources>
|
|
@ -22,4 +22,5 @@
|
|||
<item>GWVK6</item>
|
||||
</string-array>
|
||||
<bool name="tag_intent_app_pref_supported">true</bool>
|
||||
<bool name="nfc_observe_mode_supported">true</bool>
|
||||
</resources>
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue