summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2014-10-07 04:40:50 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2014-10-07 04:40:50 -0700
commitf7e7f7c2c8946d9aef9534aad81df7539e1f60c5 (patch)
tree34644e2c8d2cde5d341d46b50a4f4097ed6ba045
parent2914aeca9c9bfcdf35357794b7f2b9a73de25212 (diff)
parentc9efb4fc1147f4dfdafeab8af96d97d6ac91f40d (diff)
downloadandroid_hardware_qcom_audio-f7e7f7c2c8946d9aef9534aad81df7539e1f60c5.tar.gz
android_hardware_qcom_audio-f7e7f7c2c8946d9aef9534aad81df7539e1f60c5.tar.bz2
android_hardware_qcom_audio-f7e7f7c2c8946d9aef9534aad81df7539e1f60c5.zip
Merge "hal: fix 24bit compilation error with extended flag disabled"
-rw-r--r--hal/audio_hw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hal/audio_hw.c b/hal/audio_hw.c
index 02441ba6..627900bb 100644
--- a/hal/audio_hw.c
+++ b/hal/audio_hw.c
@@ -2583,7 +2583,7 @@ static int adev_open_output_stream(struct audio_hw_device *dev,
}
if (config->offload_info.format == AUDIO_FORMAT_FLAC)
- out->compr_config.codec->options.flac_dec.sample_size = config->offload_info.bit_width;
+ out->compr_config.codec->options.flac_dec.sample_size = PCM_OUTPUT_BIT_WIDTH;
if (flags & AUDIO_OUTPUT_FLAG_NON_BLOCKING)
out->non_blocking = 1;