audio: Introduce app_type section in audio_platform_info

add & populate new section to define audio app_types

Test: phone call, playback, capture with and without USB headset

Bug: 37304195
Change-Id: I7708758eb3f80e225e9645e3d58c0dc4749e4b8b
Signed-off-by: David Lin <dtwlin@google.com>
This commit is contained in:
David Lin
2017-05-11 14:37:16 -07:00
parent 0eeab75901
commit 08d6978893

View File

@@ -101,5 +101,10 @@
<gain_level_map db="-2.5" level="1"/>
<gain_level_map db="0" level="0"/>
</gain_db_to_level_mapping>
<app_types>
<app uc_type="PCM_PLAYBACK" bit_width="16" id="69936" max_rate="96000" />
<app uc_type="PCM_PLAYBACK" bit_width="24" id="69940" max_rate="192000" />
<app uc_type="PCM_PLAYBACK" bit_width="32" id="69942" max_rate="192000" />
</app_types>
</audio_platform_info>