Merge "ahal: Enable offload support for 16/24 bit pcm files"
This commit is contained in:
commit
bad2c32e3e
|
@ -168,6 +168,12 @@
|
|||
<profile name="" format="AUDIO_FORMAT_AAC_ADTS_HE_V2"
|
||||
samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000,64000,88200,96000"
|
||||
channelMasks="AUDIO_CHANNEL_OUT_STEREO,AUDIO_CHANNEL_OUT_MONO"/>
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000,64000,88200,96000,128000,176400,192000"
|
||||
channelMasks="AUDIO_CHANNEL_OUT_MONO,AUDIO_CHANNEL_OUT_STEREO,AUDIO_CHANNEL_OUT_2POINT1,AUDIO_CHANNEL_OUT_QUAD,AUDIO_CHANNEL_OUT_PENTA,AUDIO_CHANNEL_OUT_5POINT1,AUDIO_CHANNEL_OUT_6POINT1,AUDIO_CHANNEL_OUT_7POINT1"/>
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_24_BIT_PACKED"
|
||||
samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000,64000,88200,96000,128000,176400,192000"
|
||||
channelMasks="AUDIO_CHANNEL_OUT_MONO,AUDIO_CHANNEL_OUT_STEREO,AUDIO_CHANNEL_OUT_2POINT1,AUDIO_CHANNEL_OUT_QUAD,AUDIO_CHANNEL_OUT_PENTA,AUDIO_CHANNEL_OUT_5POINT1,AUDIO_CHANNEL_OUT_6POINT1,AUDIO_CHANNEL_OUT_7POINT1"/>
|
||||
</mixPort>
|
||||
<mixPort name="dsd_compress_passthrough" role="source"
|
||||
flags="AUDIO_OUTPUT_FLAG_DIRECT|AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD|AUDIO_OUTPUT_FLAG_NON_BLOCKING">
|
||||
|
|
|
@ -195,6 +195,14 @@ vendor.audio.safx.pbe.enabled=true
|
|||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
vendor.audio.parser.ip.buffer.size=262144
|
||||
|
||||
#Enable 16 bit PCM offload by default
|
||||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
audio.offload.pcm.16bit.enable=true
|
||||
|
||||
#Enable 24 bit PCM offload by default
|
||||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
audio.offload.pcm.24bit.enable=true
|
||||
|
||||
#flac sw decoder 24 bit decode capability
|
||||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
vendor.audio.flac.sw.decoder.24bit=true
|
||||
|
|
|
@ -145,6 +145,12 @@
|
|||
<profile name="" format="AUDIO_FORMAT_AAC_ADTS_HE_V2"
|
||||
samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000,64000,88200,96000"
|
||||
channelMasks="AUDIO_CHANNEL_OUT_STEREO,AUDIO_CHANNEL_OUT_MONO"/>
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000,64000,88200,96000,128000,176400,192000"
|
||||
channelMasks="AUDIO_CHANNEL_OUT_MONO,AUDIO_CHANNEL_OUT_STEREO,AUDIO_CHANNEL_OUT_2POINT1,AUDIO_CHANNEL_OUT_QUAD,AUDIO_CHANNEL_OUT_PENTA,AUDIO_CHANNEL_OUT_5POINT1,AUDIO_CHANNEL_OUT_6POINT1,AUDIO_CHANNEL_OUT_7POINT1"/>
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_24_BIT_PACKED"
|
||||
samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000,64000,88200,96000,128000,176400,192000"
|
||||
channelMasks="AUDIO_CHANNEL_OUT_MONO,AUDIO_CHANNEL_OUT_STEREO,AUDIO_CHANNEL_OUT_2POINT1,AUDIO_CHANNEL_OUT_QUAD,AUDIO_CHANNEL_OUT_PENTA,AUDIO_CHANNEL_OUT_5POINT1,AUDIO_CHANNEL_OUT_6POINT1,AUDIO_CHANNEL_OUT_7POINT1"/>
|
||||
</mixPort>
|
||||
<mixPort name="dsd_compress_passthrough" role="source"
|
||||
flags="AUDIO_OUTPUT_FLAG_DIRECT|AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD|AUDIO_OUTPUT_FLAG_NON_BLOCKING">
|
||||
|
|
|
@ -186,6 +186,14 @@ vendor.audio.safx.pbe.enabled=true
|
|||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
vendor.audio.parser.ip.buffer.size=262144
|
||||
|
||||
#Enable 16 bit PCM offload by default
|
||||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
audio.offload.pcm.16bit.enable=true
|
||||
|
||||
#Enable 24 bit PCM offload by default
|
||||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
audio.offload.pcm.24bit.enable=true
|
||||
|
||||
#flac sw decoder 24 bit decode capability
|
||||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
vendor.audio.flac.sw.decoder.24bit=true
|
||||
|
|
Loading…
Reference in New Issue