Home > OS >  Audio audio XML configuration files in the Android how to understand?
Audio audio XML configuration files in the Android how to understand?

Time:11-01

Such as this: frameworks/av/services/audiopolicy/config/audio_policy_configuration XML
 & lt; ? The XML version="1.0" encoding="utf-8" standalone="yes"?> 


Speaker
Earpiece
Built - In Mic

Speaker

SamplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/& gt;

SamplingRates="8000160, 00480, 00"
ChannelMasks="AUDIO_CHANNEL_IN_MONO"/& gt;



SamplingRates="48000" channelMasks="AUDIO_CHANNEL_IN_MONO"/& gt;

SamplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/& gt;

SamplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/& gt;

SamplingRates="8000160, 00480, 00"
ChannelMasks="AUDIO_CHANNEL_IN_MONO"/& gt;

SamplingRates="8000160, 00480, 00"
ChannelMasks="AUDIO_CHANNEL_IN_MONO"/& gt;










What do you think this? There is a special format? Or different vendors have different writing?

For example we want to set the audio configuration in Linux, you can use tinymix set different attribute's value, that here is how to the XML file?

There is a problem, I see the XML files have a lot of ah, in addition to the audio_policy_configuration. The XML file, there are other XML files at work?
  • Related