Merge "configs: add audio input/output policy config"
This commit is contained in:
commit
b562e9b38b
|
@ -12,11 +12,11 @@
|
||||||
|
|
||||||
outputs {
|
outputs {
|
||||||
default {
|
default {
|
||||||
flags AUDIO_OUTPUT_FLAG_PRIMARY
|
flags AUDIO_OUTPUT_FLAG_PRIMARY|AUDIO_OUTPUT_FLAG_MEDIA
|
||||||
formats AUDIO_FORMAT_PCM_16_BIT
|
formats AUDIO_FORMAT_PCM_16_BIT
|
||||||
sampling_rates 48000
|
sampling_rates 48000
|
||||||
bit_width 16
|
bit_width 16
|
||||||
app_type 69937
|
app_type 69936
|
||||||
}
|
}
|
||||||
proaudio {
|
proaudio {
|
||||||
flags AUDIO_OUTPUT_FLAG_FAST|AUDIO_OUTPUT_FLAG_RAW
|
flags AUDIO_OUTPUT_FLAG_FAST|AUDIO_OUTPUT_FLAG_RAW
|
||||||
|
@ -81,4 +81,53 @@ outputs {
|
||||||
bit_width 24
|
bit_width 24
|
||||||
app_type 69940
|
app_type 69940
|
||||||
}
|
}
|
||||||
|
sys_notification {
|
||||||
|
flags AUDIO_OUTPUT_FLAG_SYS_NOTIFICATION
|
||||||
|
formats AUDIO_FORMAT_PCM_16_BIT
|
||||||
|
sampling_rates 48000
|
||||||
|
bit_width 16
|
||||||
|
app_type 69937
|
||||||
|
}
|
||||||
|
nav_guidance {
|
||||||
|
flags AUDIO_OUTPUT_FLAG_NAV_GUIDANCE
|
||||||
|
formats AUDIO_FORMAT_PCM_16_BIT
|
||||||
|
sampling_rates 48000
|
||||||
|
bit_width 16
|
||||||
|
app_type 69937
|
||||||
|
}
|
||||||
|
phone {
|
||||||
|
flags AUDIO_OUTPUT_FLAG_PHONE
|
||||||
|
formats AUDIO_FORMAT_PCM_16_BIT
|
||||||
|
sampling_rates 48000
|
||||||
|
bit_width 16
|
||||||
|
app_type 69936
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
inputs {
|
||||||
|
primary {
|
||||||
|
formats AUDIO_FORMAT_PCM_16_BIT
|
||||||
|
sampling_rates 8000|16000|32000|44100|48000|88200|96000|176400|192000
|
||||||
|
bit_width 16
|
||||||
|
app_type 69938
|
||||||
|
}
|
||||||
|
record_24bit {
|
||||||
|
formats AUDIO_FORMAT_PCM_24_BIT_PACKED|AUDIO_FORMAT_PCM_24_BIT
|
||||||
|
sampling_rates 44100|48000|88200|96000|176400|192000
|
||||||
|
bit_width 24
|
||||||
|
app_type 69948
|
||||||
|
}
|
||||||
|
record_32bit {
|
||||||
|
formats AUDIO_FORMAT_PCM_32_BIT|AUDIO_FORMAT_PCM_FLOAT
|
||||||
|
sampling_rates 44100|48000|88200|96000|176400|192000
|
||||||
|
bit_width 32
|
||||||
|
app_type 69949
|
||||||
|
}
|
||||||
|
record_unprocessed {
|
||||||
|
profile record_unprocessed
|
||||||
|
formats AUDIO_FORMAT_PCM_24_BIT_PACKED
|
||||||
|
sampling_rates 16000|48000
|
||||||
|
bit_width 24
|
||||||
|
app_type 69942
|
||||||
|
}
|
||||||
}
|
}
|
|
@ -88,7 +88,7 @@ DEVICE_PACKAGE_OVERLAYS += hardware/qcom/audio/configs/msmnile_au/overlay
|
||||||
endif
|
endif
|
||||||
|
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
vendor/qcom/opensource/audio-hal/primary-hal/configs/msmnile_au/audio_output_policy.conf:$(TARGET_COPY_OUT_VENDOR)/etc/audio_output_policy.conf \
|
vendor/qcom/opensource/audio-hal/primary-hal/configs/msmnile_au/audio_io_policy.conf:$(TARGET_COPY_OUT_VENDOR)/etc/audio_io_policy.conf \
|
||||||
vendor/qcom/opensource/audio-hal/primary-hal/configs/msmnile_au/audio_effects.conf:$(TARGET_COPY_OUT_VENDOR)/etc/audio_effects.conf \
|
vendor/qcom/opensource/audio-hal/primary-hal/configs/msmnile_au/audio_effects.conf:$(TARGET_COPY_OUT_VENDOR)/etc/audio_effects.conf \
|
||||||
vendor/qcom/opensource/audio-hal/primary-hal/configs/msmnile_au/audio_effects.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_effects.xml \
|
vendor/qcom/opensource/audio-hal/primary-hal/configs/msmnile_au/audio_effects.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_effects.xml \
|
||||||
vendor/qcom/opensource/audio-hal/primary-hal/configs/msmnile_au/mixer_paths_adp.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths_adp.xml \
|
vendor/qcom/opensource/audio-hal/primary-hal/configs/msmnile_au/mixer_paths_adp.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths_adp.xml \
|
||||||
|
|
|
@ -12,11 +12,11 @@
|
||||||
|
|
||||||
outputs {
|
outputs {
|
||||||
default {
|
default {
|
||||||
flags AUDIO_OUTPUT_FLAG_PRIMARY
|
flags AUDIO_OUTPUT_FLAG_PRIMARY|AUDIO_OUTPUT_FLAG_MEDIA
|
||||||
formats AUDIO_FORMAT_PCM_16_BIT
|
formats AUDIO_FORMAT_PCM_16_BIT
|
||||||
sampling_rates 48000
|
sampling_rates 48000
|
||||||
bit_width 16
|
bit_width 16
|
||||||
app_type 69937
|
app_type 69936
|
||||||
}
|
}
|
||||||
proaudio {
|
proaudio {
|
||||||
flags AUDIO_OUTPUT_FLAG_FAST|AUDIO_OUTPUT_FLAG_RAW
|
flags AUDIO_OUTPUT_FLAG_FAST|AUDIO_OUTPUT_FLAG_RAW
|
||||||
|
@ -81,4 +81,46 @@ outputs {
|
||||||
bit_width 24
|
bit_width 24
|
||||||
app_type 69940
|
app_type 69940
|
||||||
}
|
}
|
||||||
|
sys_notification {
|
||||||
|
flags AUDIO_OUTPUT_FLAG_SYS_NOTIFICATION
|
||||||
|
formats AUDIO_FORMAT_PCM_16_BIT
|
||||||
|
sampling_rates 48000
|
||||||
|
bit_width 16
|
||||||
|
app_type 69937
|
||||||
|
}
|
||||||
|
nav_guidance {
|
||||||
|
flags AUDIO_OUTPUT_FLAG_NAV_GUIDANCE
|
||||||
|
formats AUDIO_FORMAT_PCM_16_BIT
|
||||||
|
sampling_rates 48000
|
||||||
|
bit_width 16
|
||||||
|
app_type 69937
|
||||||
|
}
|
||||||
|
phone {
|
||||||
|
flags AUDIO_OUTPUT_FLAG_PHONE
|
||||||
|
formats AUDIO_FORMAT_PCM_16_BIT
|
||||||
|
sampling_rates 48000
|
||||||
|
bit_width 16
|
||||||
|
app_type 69936
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
inputs {
|
||||||
|
record_16bit {
|
||||||
|
formats AUDIO_FORMAT_PCM_16_BIT
|
||||||
|
sampling_rates 8000|16000|32000|44100|48000|88200|96000|176400|192000
|
||||||
|
bit_width 16
|
||||||
|
app_type 69938
|
||||||
|
}
|
||||||
|
record_24bit {
|
||||||
|
formats AUDIO_FORMAT_PCM_24_BIT_PACKED|AUDIO_FORMAT_PCM_24_BIT
|
||||||
|
sampling_rates 44100|48000|88200|96000|176400|192000
|
||||||
|
bit_width 24
|
||||||
|
app_type 69948
|
||||||
|
}
|
||||||
|
record_32bit {
|
||||||
|
formats AUDIO_FORMAT_PCM_32_BIT|AUDIO_FORMAT_PCM_FLOAT
|
||||||
|
sampling_rates 44100|48000|88200|96000|176400|192000
|
||||||
|
bit_width 32
|
||||||
|
app_type 69949
|
||||||
|
}
|
||||||
}
|
}
|
|
@ -88,7 +88,7 @@ DEVICE_PACKAGE_OVERLAYS += hardware/qcom/audio/configs/msmsteppe_au/overlay
|
||||||
endif
|
endif
|
||||||
|
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
vendor/qcom/opensource/audio-hal/primary-hal/configs/msmsteppe_au/audio_output_policy.conf:$(TARGET_COPY_OUT_VENDOR)/etc/audio_output_policy.conf \
|
vendor/qcom/opensource/audio-hal/primary-hal/configs/msmsteppe_au/audio_io_policy.conf:$(TARGET_COPY_OUT_VENDOR)/etc/audio_io_policy.conf \
|
||||||
vendor/qcom/opensource/audio-hal/primary-hal/configs/msmsteppe_au/audio_effects.conf:$(TARGET_COPY_OUT_VENDOR)/etc/audio_effects.conf \
|
vendor/qcom/opensource/audio-hal/primary-hal/configs/msmsteppe_au/audio_effects.conf:$(TARGET_COPY_OUT_VENDOR)/etc/audio_effects.conf \
|
||||||
vendor/qcom/opensource/audio-hal/primary-hal/configs/msmsteppe_au/audio_effects.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_effects.xml \
|
vendor/qcom/opensource/audio-hal/primary-hal/configs/msmsteppe_au/audio_effects.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_effects.xml \
|
||||||
vendor/qcom/opensource/audio-hal/primary-hal/configs/msmsteppe_au/mixer_paths_adp.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths_adp.xml \
|
vendor/qcom/opensource/audio-hal/primary-hal/configs/msmsteppe_au/mixer_paths_adp.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths_adp.xml \
|
||||||
|
|
Loading…
Reference in New Issue