diff options
author | Angela Stegmaier | 2013-10-21 14:14:33 -0500 |
---|---|---|
committer | Misael Lopez Cruz | 2013-11-01 01:47:04 -0500 |
commit | acd259ce699578c3d2f6fc075fbaa3d5a5cbba5f (patch) | |
tree | 408372ae244888df49b1fd16bd8f3991e1eb1fd6 /audio/legacy/audio_policy.conf | |
parent | c795bdfa151f6643f968b5f23408032ae79be22a (diff) | |
download | device-ti-jacinto6evm-acd259ce699578c3d2f6fc075fbaa3d5a5cbba5f.tar.gz device-ti-jacinto6evm-acd259ce699578c3d2f6fc075fbaa3d5a5cbba5f.tar.xz device-ti-jacinto6evm-acd259ce699578c3d2f6fc075fbaa3d5a5cbba5f.zip |
audio: Move jacinto6evm Audio HAL to new folder
The existing Audio HAL is moved to a new folder named
"legacy". This change is done in preparation for adding
the multizone support to the same audio folder.
Change-Id: Id8c7417a1b5f4fba59ab021bc136e7f451aac551
Signed-off-by: Angela Stegmaier <a0866189@ti.com>
Diffstat (limited to 'audio/legacy/audio_policy.conf')
-rw-r--r-- | audio/legacy/audio_policy.conf | 94 |
1 files changed, 94 insertions, 0 deletions
diff --git a/audio/legacy/audio_policy.conf b/audio/legacy/audio_policy.conf new file mode 100644 index 0000000..a806163 --- /dev/null +++ b/audio/legacy/audio_policy.conf | |||
@@ -0,0 +1,94 @@ | |||
1 | # Global configuration section: lists input and output devices always present on the device | ||
2 | # as well as the output device selected by default. | ||
3 | # Devices are designated by a string that corresponds to the enum in audio.h | ||
4 | |||
5 | global_configuration { | ||
6 | attached_output_devices AUDIO_DEVICE_OUT_SPEAKER | ||
7 | default_output_device AUDIO_DEVICE_OUT_SPEAKER | ||
8 | attached_input_devices AUDIO_DEVICE_IN_BUILTIN_MIC | ||
9 | } | ||
10 | |||
11 | # audio hardware module section: contains descriptors for all audio hw modules present on the | ||
12 | # device. Each hw module node is named after the corresponding hw module library base name. | ||
13 | # For instance, "primary" corresponds to audio.primary.<device>.so. | ||
14 | # The "primary" module is mandatory and must include at least one output with | ||
15 | # AUDIO_OUTPUT_FLAG_PRIMARY flag. | ||
16 | # Each module descriptor contains one or more output profile descriptors and zero or more | ||
17 | # input profile descriptors. Each profile lists all the parameters supported by a given output | ||
18 | # or input stream category. | ||
19 | # The "channel_masks", "formats", "devices" and "flags" are specified using strings corresponding | ||
20 | # to enums in audio.h and audio_policy.h. They are concatenated by use of "|" without space or "\n". | ||
21 | |||
22 | audio_hw_modules { | ||
23 | primary { | ||
24 | outputs { | ||
25 | primary { | ||
26 | sampling_rates 44100 | ||
27 | channel_masks AUDIO_CHANNEL_OUT_STEREO | ||
28 | formats AUDIO_FORMAT_PCM_16_BIT | ||
29 | devices AUDIO_DEVICE_OUT_SPEAKER|AUDIO_DEVICE_OUT_WIRED_HEADSET|AUDIO_DEVICE_OUT_WIRED_HEADPHONE | ||
30 | flags AUDIO_OUTPUT_FLAG_PRIMARY | ||
31 | } | ||
32 | } | ||
33 | inputs { | ||
34 | primary { | ||
35 | sampling_rates 8000|11025|16000|22050|32000|44100|48000 | ||
36 | channel_masks AUDIO_CHANNEL_IN_MONO|AUDIO_CHANNEL_IN_STEREO | ||
37 | formats AUDIO_FORMAT_PCM_16_BIT | ||
38 | devices AUDIO_DEVICE_IN_BUILTIN_MIC | ||
39 | } | ||
40 | } | ||
41 | } | ||
42 | hdmi { | ||
43 | outputs { | ||
44 | stereo { | ||
45 | sampling_rates 44100|48000 | ||
46 | channel_masks AUDIO_CHANNEL_OUT_STEREO | ||
47 | formats AUDIO_FORMAT_PCM_16_BIT | ||
48 | devices AUDIO_DEVICE_OUT_AUX_DIGITAL | ||
49 | } | ||
50 | multichannel { | ||
51 | sampling_rates 44100|48000 | ||
52 | channel_masks dynamic | ||
53 | formats AUDIO_FORMAT_PCM_16_BIT | ||
54 | devices AUDIO_DEVICE_OUT_AUX_DIGITAL | ||
55 | flags AUDIO_OUTPUT_FLAG_DIRECT | ||
56 | } | ||
57 | } | ||
58 | } | ||
59 | a2dp { | ||
60 | outputs { | ||
61 | a2dp { | ||
62 | sampling_rates 44100 | ||
63 | channel_masks AUDIO_CHANNEL_OUT_STEREO | ||
64 | formats AUDIO_FORMAT_PCM_16_BIT | ||
65 | devices AUDIO_DEVICE_OUT_ALL_A2DP | ||
66 | } | ||
67 | } | ||
68 | } | ||
69 | r_submix { | ||
70 | outputs { | ||
71 | r_submix { | ||
72 | sampling_rates 44100|48000 | ||
73 | channel_masks AUDIO_CHANNEL_OUT_STEREO | ||
74 | formats AUDIO_FORMAT_PCM_16_BIT | ||
75 | devices AUDIO_DEVICE_OUT_REMOTE_SUBMIX | ||
76 | } | ||
77 | multichannel { | ||
78 | sampling_rates 44100|48000 | ||
79 | channel_masks AUDIO_CHANNEL_OUT_5POINT1 | ||
80 | formats AUDIO_FORMAT_PCM_16_BIT | ||
81 | devices AUDIO_DEVICE_OUT_REMOTE_SUBMIX | ||
82 | flags AUDIO_OUTPUT_FLAG_DIRECT | ||
83 | } | ||
84 | } | ||
85 | inputs { | ||
86 | r_submix { | ||
87 | sampling_rates 44100|48000 | ||
88 | channel_masks AUDIO_CHANNEL_IN_MONO|AUDIO_CHANNEL_IN_STEREO|AUDIO_CHANNEL_IN_5POINT1EMUL | ||
89 | formats AUDIO_FORMAT_PCM_16_BIT | ||
90 | devices AUDIO_DEVICE_IN_REMOTE_SUBMIX | ||
91 | } | ||
92 | } | ||
93 | } | ||
94 | } | ||