dre: Update audio configuration from DE2117_11.C.15
Change-Id: I4b05937d5e853e836b2735838b7f7e86ff4761f4
This commit is contained in:
parent
03b3625313
commit
7ac8b2e584
6 changed files with 1143 additions and 1157 deletions
|
|
@ -11,26 +11,21 @@
|
|||
# the flags and formats should match the ones in "audio_policy.conf"
|
||||
|
||||
outputs {
|
||||
#ifdef VENDOR_EDIT
|
||||
#if OP_FEATURE_MM_24BIT == 1
|
||||
#zhangyu@MM.Audio, 2021/01/28, Use 24bit to playback
|
||||
default {
|
||||
flags AUDIO_OUTPUT_FLAG_PRIMARY
|
||||
formats AUDIO_FORMAT_PCM_16_BIT
|
||||
sampling_rates 48000
|
||||
bit_width 16
|
||||
app_type 69937
|
||||
}
|
||||
#Vincent.chen@MULTIMEDIA.AUDIODRIVER.HAL, 2022/03/09, Add for support 24bit playback
|
||||
default_24bit {
|
||||
flags AUDIO_OUTPUT_FLAG_PRIMARY
|
||||
formats AUDIO_FORMAT_PCM_24_BIT_PACKED
|
||||
sampling_rates 48000
|
||||
bit_width 24
|
||||
app_type 69937
|
||||
}
|
||||
#else
|
||||
# default {
|
||||
# flags AUDIO_OUTPUT_FLAG_PRIMARY
|
||||
# formats AUDIO_FORMAT_PCM_16_BIT
|
||||
# sampling_rates 48000
|
||||
# bit_width 16
|
||||
# app_type 69937
|
||||
# }
|
||||
#endif
|
||||
#endif
|
||||
proaudio {
|
||||
flags AUDIO_OUTPUT_FLAG_FAST|AUDIO_OUTPUT_FLAG_RAW
|
||||
formats AUDIO_FORMAT_PCM_16_BIT
|
||||
|
|
@ -45,26 +40,21 @@ outputs {
|
|||
bit_width 16
|
||||
app_type 69946
|
||||
}
|
||||
#ifdef VENDOR_EDIT
|
||||
#if OP_FEATURE_MM_24BIT == 1
|
||||
#zhangyu@MM.Audio, 2021/01/28, Use 24bit to playback
|
||||
deep_buffer {
|
||||
flags AUDIO_OUTPUT_FLAG_DEEP_BUFFER
|
||||
formats AUDIO_FORMAT_PCM_16_BIT
|
||||
sampling_rates 48000
|
||||
bit_width 16
|
||||
app_type 69936
|
||||
}
|
||||
#Vincent.chen@MULTIMEDIA.AUDIODRIVER.HAL, 2022/03/09, Add for support 24bit playback
|
||||
deep_buffer_24bit {
|
||||
flags AUDIO_OUTPUT_FLAG_DEEP_BUFFER
|
||||
formats AUDIO_FORMAT_PCM_24_BIT_PACKED
|
||||
sampling_rates 48000
|
||||
bit_width 24
|
||||
app_type 69936
|
||||
}
|
||||
#else
|
||||
# deep_buffer {
|
||||
# flags AUDIO_OUTPUT_FLAG_DEEP_BUFFER
|
||||
# formats AUDIO_FORMAT_PCM_16_BIT
|
||||
# sampling_rates 48000
|
||||
# bit_width 16
|
||||
# app_type 69936
|
||||
# }
|
||||
#endif
|
||||
#endif
|
||||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue