2017-08-08 14:57:18 +00:00
|
|
|
# List of profiles for the output device session where stream is routed.
|
|
|
|
# A stream opened with the inputs attributes which match the "flags" and
|
|
|
|
# "formats" as specified in the profile is routed to a device at
|
|
|
|
# sample rate specified under "sampling_rates" and bit width under
|
|
|
|
# "bit_width" and the topology extracted from the acdb data against
|
|
|
|
# the "app_type".
|
|
|
|
#
|
|
|
|
# the flags and formats are specified using the strings corresponding to
|
|
|
|
# enums in audio.h and audio_policy.h. They are concatenated with "|"
|
|
|
|
# without space or "\n".
|
|
|
|
# the flags and formats should match the ones in "audio_policy.conf"
|
|
|
|
|
|
|
|
outputs {
|
|
|
|
default {
|
|
|
|
flags AUDIO_OUTPUT_FLAG_PRIMARY
|
|
|
|
formats AUDIO_FORMAT_PCM_16_BIT
|
|
|
|
sampling_rates 48000
|
|
|
|
bit_width 16
|
|
|
|
app_type 69937
|
|
|
|
}
|
|
|
|
proaudio {
|
|
|
|
flags AUDIO_OUTPUT_FLAG_FAST|AUDIO_OUTPUT_FLAG_RAW
|
|
|
|
formats AUDIO_FORMAT_PCM_16_BIT
|
|
|
|
sampling_rates 48000
|
|
|
|
bit_width 16
|
|
|
|
app_type 69943
|
|
|
|
}
|
2017-10-20 10:12:40 +00:00
|
|
|
voip_rx {
|
|
|
|
flags AUDIO_OUTPUT_FLAG_VOIP_RX|AUDIO_OUTPUT_FLAG_DIRECT
|
|
|
|
formats AUDIO_FORMAT_PCM_16_BIT
|
|
|
|
sampling_rates 8000|16000|32000|48000
|
|
|
|
bit_width 16
|
|
|
|
app_type 69946
|
|
|
|
}
|
2017-08-08 14:57:18 +00:00
|
|
|
deep_buffer {
|
|
|
|
flags AUDIO_OUTPUT_FLAG_DEEP_BUFFER
|
|
|
|
formats AUDIO_FORMAT_PCM_16_BIT
|
|
|
|
sampling_rates 48000
|
|
|
|
bit_width 16
|
|
|
|
app_type 69936
|
|
|
|
}
|
|
|
|
direct_pcm_16 {
|
|
|
|
flags AUDIO_OUTPUT_FLAG_DIRECT
|
|
|
|
formats AUDIO_FORMAT_PCM_16_BIT|AUDIO_FORMAT_PCM_24_BIT_PACKED|AUDIO_FORMAT_PCM_8_24_BIT|AUDIO_FORMAT_PCM_32_BIT
|
|
|
|
sampling_rates 44100|48000|88200|96000|176400|192000
|
|
|
|
bit_width 16
|
|
|
|
app_type 69936
|
|
|
|
}
|
|
|
|
direct_pcm_24 {
|
|
|
|
flags AUDIO_OUTPUT_FLAG_DIRECT
|
|
|
|
formats AUDIO_FORMAT_PCM_24_BIT_PACKED|AUDIO_FORMAT_PCM_8_24_BIT|AUDIO_FORMAT_PCM_32_BIT
|
|
|
|
sampling_rates 44100|48000|88200|96000|176400|192000|352800|384000
|
|
|
|
bit_width 24
|
|
|
|
app_type 69940
|
|
|
|
}
|
|
|
|
direct_pcm_32 {
|
|
|
|
flags AUDIO_OUTPUT_FLAG_DIRECT
|
|
|
|
formats AUDIO_FORMAT_PCM_32_BIT
|
|
|
|
sampling_rates 44100|48000|88200|96000|176400|192000|352800|384000
|
|
|
|
bit_width 32
|
|
|
|
app_type 69942
|
|
|
|
}
|
|
|
|
compress_passthrough {
|
|
|
|
flags AUDIO_OUTPUT_FLAG_DIRECT|AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD|AUDIO_OUTPUT_FLAG_NON_BLOCKING|AUDIO_OUTPUT_FLAG_COMPRESS_PASSTHROUGH
|
2019-04-03 08:05:13 +00:00
|
|
|
formats AUDIO_FORMAT_DTS|AUDIO_FORMAT_DTS_HD|AUDIO_FORMAT_DSD
|
2017-08-08 14:57:18 +00:00
|
|
|
sampling_rates 32000|44100|48000|88200|96000|176400|192000|352800
|
|
|
|
bit_width 16
|
|
|
|
app_type 69941
|
|
|
|
}
|
|
|
|
compress_offload_16 {
|
|
|
|
flags AUDIO_OUTPUT_FLAG_DIRECT|AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD|AUDIO_OUTPUT_FLAG_NON_BLOCKING
|
|
|
|
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
|
|
|
|
sampling_rates 44100|48000|88200|96000|176400|192000
|
|
|
|
bit_width 16
|
|
|
|
app_type 69936
|
|
|
|
}
|
|
|
|
compress_offload_24 {
|
|
|
|
flags AUDIO_OUTPUT_FLAG_DIRECT|AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD|AUDIO_OUTPUT_FLAG_NON_BLOCKING
|
|
|
|
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
|
|
|
|
sampling_rates 44100|48000|88200|96000|176400|192000
|
|
|
|
bit_width 24
|
|
|
|
app_type 69940
|
|
|
|
}
|
|
|
|
}
|
2018-01-04 05:03:59 +00:00
|
|
|
|
|
|
|
inputs {
|
|
|
|
primary {
|
|
|
|
flags AUDIO_INPUT_FLAG_NONE
|
|
|
|
formats AUDIO_FORMAT_PCM_16_BIT
|
2018-06-27 06:11:47 +00:00
|
|
|
sampling_rates 8000|16000|32000|48000
|
2018-01-04 05:03:59 +00:00
|
|
|
bit_width 16
|
|
|
|
app_type 69938
|
|
|
|
}
|
|
|
|
record_24bit {
|
|
|
|
profile none
|
|
|
|
flags AUDIO_INPUT_FLAG_NONE
|
|
|
|
formats AUDIO_FORMAT_PCM_24_BIT_PACKED
|
|
|
|
sampling_rates 16000|48000
|
|
|
|
bit_width 24
|
|
|
|
app_type 69945
|
|
|
|
}
|
2018-05-21 12:15:44 +00:00
|
|
|
record_fluence {
|
2018-04-02 09:12:29 +00:00
|
|
|
flags AUDIO_INPUT_FLAG_NONE
|
|
|
|
profile record_fluence
|
|
|
|
formats AUDIO_FORMAT_PCM_16_BIT
|
|
|
|
sampling_rates 16000|48000
|
|
|
|
bit_width 16
|
|
|
|
app_type 69944
|
|
|
|
}
|
2018-05-21 12:15:44 +00:00
|
|
|
record_fluence_compress {
|
2018-01-04 05:03:59 +00:00
|
|
|
flags AUDIO_INPUT_FLAG_COMPRESS
|
|
|
|
profile record_fluence
|
|
|
|
formats AUDIO_FORMAT_PCM_16_BIT
|
2018-04-02 09:12:29 +00:00
|
|
|
sampling_rates 16000|48000
|
2018-01-04 05:03:59 +00:00
|
|
|
bit_width 16
|
|
|
|
app_type 69944
|
|
|
|
}
|
2018-05-21 12:15:44 +00:00
|
|
|
record_fluence_timestamp {
|
2018-01-04 05:03:59 +00:00
|
|
|
flags AUDIO_INPUT_FLAG_TIMESTAMP
|
|
|
|
profile record_fluence
|
|
|
|
formats AUDIO_FORMAT_PCM_16_BIT
|
2018-04-02 09:12:29 +00:00
|
|
|
sampling_rates 16000|48000
|
2018-01-04 05:03:59 +00:00
|
|
|
bit_width 16
|
|
|
|
app_type 69944
|
|
|
|
}
|
2018-05-21 12:15:44 +00:00
|
|
|
record_fluence_compress_timestamp {
|
|
|
|
flags AUDIO_INPUT_FLAG_COMPRESS|AUDIO_INPUT_FLAG_TIMESTAMP
|
|
|
|
profile record_fluence
|
|
|
|
formats AUDIO_FORMAT_PCM_16_BIT
|
|
|
|
sampling_rates 16000|48000
|
2018-01-04 05:03:59 +00:00
|
|
|
bit_width 16
|
|
|
|
app_type 69944
|
|
|
|
}
|
2018-01-29 10:35:05 +00:00
|
|
|
record_ambisonic_16 {
|
|
|
|
profile record_ambisonic
|
|
|
|
flags AUDIO_INPUT_FLAG_NONE
|
|
|
|
formats AUDIO_FORMAT_PCM_16_BIT
|
|
|
|
sampling_rates 48000
|
|
|
|
bit_width 16
|
|
|
|
app_type 69949
|
|
|
|
}
|
|
|
|
record_ambisonic_24 {
|
|
|
|
profile record_ambisonic
|
|
|
|
flags AUDIO_INPUT_FLAG_NONE
|
|
|
|
formats AUDIO_FORMAT_PCM_24_BIT_PACKED
|
|
|
|
sampling_rates 48000
|
|
|
|
bit_width 24
|
|
|
|
app_type 69950
|
|
|
|
}
|
2018-04-02 09:12:29 +00:00
|
|
|
record_ambisonic_compress_16 {
|
|
|
|
profile record_ambisonic
|
|
|
|
flags AUDIO_INPUT_FLAG_COMPRESS
|
|
|
|
formats AUDIO_FORMAT_PCM_16_BIT
|
|
|
|
sampling_rates 48000
|
|
|
|
bit_width 16
|
|
|
|
app_type 69949
|
|
|
|
}
|
|
|
|
record_ambisonic_compress_24 {
|
|
|
|
profile record_ambisonic
|
|
|
|
flags AUDIO_INPUT_FLAG_COMPRESS
|
|
|
|
formats AUDIO_FORMAT_PCM_24_BIT_PACKED
|
|
|
|
sampling_rates 48000
|
|
|
|
bit_width 24
|
|
|
|
app_type 69950
|
|
|
|
}
|
2018-05-21 12:15:44 +00:00
|
|
|
record_ambisonic_compress_timestamp_16 {
|
|
|
|
profile record_ambisonic
|
|
|
|
flags AUDIO_INPUT_FLAG_COMPRESS|AUDIO_INPUT_FLAG_TIMESTAMP
|
|
|
|
formats AUDIO_FORMAT_PCM_16_BIT
|
|
|
|
sampling_rates 48000
|
|
|
|
bit_width 16
|
|
|
|
app_type 69949
|
|
|
|
}
|
|
|
|
record_ambisonic_compress_timestamp_24 {
|
|
|
|
profile record_ambisonic
|
|
|
|
flags AUDIO_INPUT_FLAG_COMPRESS|AUDIO_INPUT_FLAG_TIMESTAMP
|
|
|
|
formats AUDIO_FORMAT_PCM_24_BIT_PACKED
|
|
|
|
sampling_rates 48000
|
|
|
|
bit_width 24
|
|
|
|
app_type 69950
|
|
|
|
}
|
2018-01-04 05:03:59 +00:00
|
|
|
}
|