1# 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 69936
20  }
21  fast {
22    flags AUDIO_OUTPUT_FLAG_FAST
23    formats AUDIO_FORMAT_PCM_16_BIT
24    sampling_rates 48000
25    bit_width 16
26    app_type 69937
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  }
35  compress_offload_16 {
36    flags AUDIO_OUTPUT_FLAG_DIRECT|AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD|AUDIO_OUTPUT_FLAG_NON_BLOCKING
37    formats AUDIO_FORMAT_MP3|AUDIO_FORMAT_AAC|AUDIO_FORMAT_AC3|AUDIO_FORMAT_EAC3|AUDIO_FORMAT_PCM_16_BIT_OFFLOAD|AUDIO_FORMAT_PCM_24_BIT_OFFLOAD|AUDIO_FORMAT_FLAC
38    sampling_rates 48000
39    bit_width 16
40    app_type 69936
41  }
42  compress_offload_24 {
43    flags AUDIO_OUTPUT_FLAG_DIRECT|AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD|AUDIO_OUTPUT_FLAG_NON_BLOCKING
44    formats AUDIO_FORMAT_PCM_24_BIT_OFFLOAD|AUDIO_FORMAT_FLAC
45    sampling_rates 48000|96000|192000
46    bit_width 24
47    app_type 69940
48  }
49}
50