blob: 95ac5840f877e4ae6ad316b26c95b29d897a4396 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
<!-- SPRD audio params configuration file,include cp,mocor,pcm config -->
<audio device="sc8830-audio">
<!-- the profile -->
<modem num="1">
<!-- <cp name="w" pipe="/dev/spipe_w6" vbchannel="1" /> -->
<cp name="csfb" pipe="/dev/spipe_lte6" vbchannel="0" cpu_index="0"/>
</modem>
<cp_nbio_dump spipe="dev/spipe_lte14"/>
<fm_type type="digital" />
<voip modem="csfb" pipe="/dev/spipe_lte4" vbchannel="0" enable="1" />
<!-- <voip modem="w" pipe="/dev/spipe_w4" vbchannel="0" enable="1" /> -->
<i2s_for_btcall cpu_num="4">
<btcal_I2S cpu_index="0" i2s_index="0" switch="1" dst="external" ctl_file0="/proc/pin_switch/iis0_sys_sel/cp0_iis0" value0="1"/>
<btcal_I2S cpu_index="1" i2s_index="0" switch="1" dst="external" ctl_file0="/proc/pin_switch/iis0_sys_sel/cp1_iis0" value0="1"/>
<btcal_I2S cpu_index="2" i2s_index="0" switch="1" dst="external" ctl_file0="/proc/pin_switch/iis0_sys_sel/cp2_iis0" value0="1"/>
<btcal_I2S cpu_index="3" i2s_index="0" switch="1" dst="external" ctl_file0="/proc/pin_switch/iis0_sys_sel/ap_iis0" value0="1"/>
</i2s_for_btcall>
<fm_i2s ctl_file="/proc/pin_switch/iis0_sys_sel/vbc_iis0"/>
<fm_btsco_i2s ctl_file="/proc/pin_switch/iis0_sys_sel/ap_iis0"/>
<i2s_for_extspeaker index="1" switch="0" dst="external" cp0_ctl_file="/d/pin_switch/iis-1" cp1_ctl_file="/d/pin_switch/iis-1" cp2_ctl_file="/d/pin_switch/iis-1" ap_ctl_file="/d/pin_switch/iis-1" />
<audiomode num="4">
<item name="Headset" index="0" />
<item name="Headfree" index="1" />
<item name="Handset" index="2" />
<item name="Handsfree" index="3" />
</audiomode>
<debug enable="1">
<debuginfo sleepdeltatimegate="2000" />
<debuginfo pcmwritetimegate="200000" />
<debuginfo lastthiswritetimegate="200000" />
</debug>
<dumpmusic num="16" dump_switch = "0x0" dump_path="/data/local/media/" total_switch="ON">
<dump_play index="0" item_name ="music.dump0" dump_file_name ="dump_music_before_express.pcm" switch="0" />
<dump_play index="1" item_name ="music.dump1" dump_file_name ="dump_music_before_vbc.pcm" switch="0" />
<dump_play index="2" item_name ="music.dump2" dump_file_name ="dump_mix_vaudio.pcm" switch="0" />
<dump_play index="3" item_name ="music.dump3" dump_file_name ="dump_voip_write.pcm" switch="0" />
<dump_play index="4" item_name ="music.dump4" dump_file_name ="dump_bt_sco_write.pcm" switch="0" />
<dump_record index="8" item_name ="record.dump0" dump_file_name ="dump_record_after_vbc.pcm" switch="0" />
<dump_record index="9" item_name ="record.dump1" dump_file_name ="dump_record_after_express" switch="0" />
</dumpmusic>
</audio>
|