简体   繁体   English

了解android中的mixer_paths.xml

[英]understanding mixer_paths.xml in android

I am currently learning the audio domain of android OS with qualcomm chipsets. 我目前正在使用高通芯片组学习android OS的音频域。 I have come across mixer_paths.xml file. 我遇到过mixer_paths.xml文件。 I have been trying to understand the convention of writing and modifying the files. 我一直在努力理解编写和修改文件的惯例。 But I am not able to find any proper documentation or guide explaining the convention followed. 但我无法找到任何适当的文件或指南来解释所遵循的惯例。 Can anyone let me know whether there is any such documentation available or else explain in brief the convention followed? 任何人都可以让我知道是否有任何此类文件可用或者简要解释遵循的惯例?

Not the best answer but I think it have something to do with TinyAlsa, the configuration file found in the site is very similar to mixer_paths.xml : 不是最好的答案,但我认为它与TinyAlsa有关,网站中的配置文件与mixer_paths.xml非常相似:

    <!-- TinyHAL configuration file for Nexus S -->
<tinyhal>

 <!-- We are able to have most of our routing static so do that -->
 <path>
   <!-- AIF1->DAC1 -->
   <ctl name="DAC1 Switch" val="1" />
   <ctl name="DAC1L Mixer AIF1.1 Switch" val="1" />
   <ctl name="DAC1R Mixer AIF1.1 Switch" val="1" />

   <!-- DAC1->Headphone -->
   <ctl name="Left Headphone Mux" val="DAC" />
   <ctl name="Right Headphone Mux" val="DAC" />

   <!-- DAC1->Speaker -->
   <ctl name="SPKL DAC1 Switch" val="1" />
   <ctl name="SPKR DAC1 Switch" val="1" />
   <ctl name="SPKL Boost SPKL Switch" val="1" />
   <ctl name="SPKL Boost SPKR Switch" val="1" />
   <ctl name="Speaker Mixer Volume" val="1" />

   ...

</path>
</tinyhal>

http://opensource.wolfsonmicro.com/content/tinyhal http://opensource.wolfsonmicro.com/content/tinyhal

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM