blob: e60c664d32752abc63997553bff2182619901d31 [file] [log] [blame]
Banajit Goswami8b11ffe2016-04-07 01:56:17 -07001# List of profiles for the output device session where stream is routed.
2# A stream opened with the inputs attributes which match the "flags" and
3# "formats" as specified in the profile is routed to a device at
4# sample rate specified under "sampling_rates" and bit width under
5# "bit_width" and the topology extracted from the acdb data against
6# the "app_type".
7#
8# the flags and formats are specified using the strings corresponding to
9# enums in audio.h and audio_policy.h. They are concatenated with "|"
10# without space or "\n".
11# the flags and formats should match the ones in "audio_policy.conf"
12
13outputs {
14 default {
15 flags AUDIO_OUTPUT_FLAG_PRIMARY
16 formats AUDIO_FORMAT_PCM_16_BIT
17 sampling_rates 48000
18 bit_width 16
19 app_type 69937
20 }
21 deep_buffer {
22 flags AUDIO_OUTPUT_FLAG_DEEP_BUFFER
23 formats AUDIO_FORMAT_PCM_16_BIT
24 sampling_rates 48000
25 bit_width 16
26 app_type 69936
27 }
28 direct {
29 flags AUDIO_OUTPUT_FLAG_DIRECT
30 formats AUDIO_FORMAT_PCM_16_BIT
31 sampling_rates 48000
32 bit_width 16
33 app_type 69936
34 }
Ashish Jain5f8ebf12016-05-11 19:14:59 +053035 direct_pcm_16 {
Banajit Goswami8b11ffe2016-04-07 01:56:17 -070036 flags AUDIO_OUTPUT_FLAG_DIRECT|AUDIO_OUTPUT_FLAG_DIRECT_PCM
Ashish Jain5f8ebf12016-05-11 19:14:59 +053037 formats AUDIO_FORMAT_PCM_16_BIT|AUDIO_FORMAT_PCM_24_BIT_PACKED|AUDIO_FORMAT_PCM_8_24_BIT
Banajit Goswami8b11ffe2016-04-07 01:56:17 -070038 sampling_rates 44100|48000|96000|192000
39 bit_width 16
40 app_type 69936
41 }
Ashish Jain5f8ebf12016-05-11 19:14:59 +053042 direct_pcm_24 {
43 flags AUDIO_OUTPUT_FLAG_DIRECT|AUDIO_OUTPUT_FLAG_DIRECT_PCM
44 formats AUDIO_FORMAT_PCM_24_BIT_PACKED|AUDIO_FORMAT_PCM_8_24_BIT
Preetam Singh Ranawat76bb38c2016-09-09 17:00:56 +053045 sampling_rates 44100|48000|96000|176400|192000|352800
Ashish Jain5f8ebf12016-05-11 19:14:59 +053046 bit_width 24
47 app_type 69940
48 }
Satish Babu Patakokila50949a62016-06-13 16:53:58 +053049 compress_passthrough_16 {
50 flags AUDIO_OUTPUT_FLAG_DIRECT|AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD|AUDIO_OUTPUT_FLAG_NON_BLOCKING|AUDIO_OUTPUT_FLAG_COMPRESS_PASSTHROUGH
Preetam Singh Ranawat6f97b002016-06-30 13:17:53 +053051 formats AUDIO_FORMAT_AC3|AUDIO_FORMAT_E_AC3|AUDIO_FORMAT_E_AC3_JOC|AUDIO_FORMAT_DTS|AUDIO_FORMAT_DTS_HD|AUDIO_FORMAT_DSD
52 sampling_rates 32000|44100|48000|88200|96000|176400|192000|352800
Satish Babu Patakokila50949a62016-06-13 16:53:58 +053053 bit_width 16
54 app_type 69941
55 }
56 compress_passthrough_24 {
57 flags AUDIO_OUTPUT_FLAG_DIRECT|AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD|AUDIO_OUTPUT_FLAG_NON_BLOCKING|AUDIO_OUTPUT_FLAG_COMPRESS_PASSTHROUGH
58 formats AUDIO_FORMAT_AC3|AUDIO_FORMAT_E_AC3|AUDIO_FORMAT_E_AC3_JOC|AUDIO_FORMAT_DTS|AUDIO_FORMAT_DTS_HD
59 sampling_rates 32000|44100|48000|88200|96000|176400|192000
60 bit_width 24
61 app_type 69941
62 }
Banajit Goswami8b11ffe2016-04-07 01:56:17 -070063 compress_offload_16 {
64 flags AUDIO_OUTPUT_FLAG_DIRECT|AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD|AUDIO_OUTPUT_FLAG_NON_BLOCKING
65 formats AUDIO_FORMAT_MP3|AUDIO_FORMAT_PCM_16_BIT_OFFLOAD|AUDIO_FORMAT_PCM_24_BIT_OFFLOAD|AUDIO_FORMAT_FLAC|AUDIO_FORMAT_ALAC|AUDIO_FORMAT_APE|AUDIO_FORMAT_AAC_LC|AUDIO_FORMAT_AAC_HE_V1|AUDIO_FORMAT_AAC_HE_V2|AUDIO_FORMAT_WMA|AUDIO_FORMAT_WMA_PRO|AUDIO_FORMAT_VORBIS|AUDIO_FORMAT_AAC_ADTS_LC|AUDIO_FORMAT_AAC_ADTS_HE_V1|AUDIO_FORMAT_AAC_ADTS_HE_V2
66 sampling_rates 44100|48000
67 bit_width 16
68 app_type 69936
69 }
70 compress_offload_24 {
71 flags AUDIO_OUTPUT_FLAG_DIRECT|AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD|AUDIO_OUTPUT_FLAG_NON_BLOCKING
72 formats AUDIO_FORMAT_PCM_24_BIT_OFFLOAD|AUDIO_FORMAT_FLAC|AUDIO_FORMAT_ALAC|AUDIO_FORMAT_APE|AUDIO_FORMAT_VORBIS|AUDIO_FORMAT_WMA|AUDIO_FORMAT_WMA_PRO
73 sampling_rates 44100|48000|96000|192000
74 bit_width 24
75 app_type 69940
76 }
77}