Merge "hal: Correct the multi-channel output usecase selection"
This commit is contained in:
commit
15d574ec25
|
@ -1984,7 +1984,7 @@ static int adev_open_output_stream(struct audio_hw_device *dev,
|
|||
out->handle = handle;
|
||||
|
||||
/* Init use case and pcm_config */
|
||||
if (out->flags & AUDIO_OUTPUT_FLAG_DIRECT &&
|
||||
if (out->flags == AUDIO_OUTPUT_FLAG_DIRECT &&
|
||||
out->devices & AUDIO_DEVICE_OUT_AUX_DIGITAL) {
|
||||
pthread_mutex_lock(&adev->lock);
|
||||
ret = read_hdmi_channel_masks(out);
|
||||
|
|
Loading…
Reference in New Issue