Merge "hal: fix 24bit compilation error with extended flag disabled"

This commit is contained in:
Linux Build Service Account 2014-10-07 04:40:50 -07:00 committed by Gerrit - the friendly Code Review server
commit f7e7f7c2c8
1 changed files with 1 additions and 1 deletions

View File

@ -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;