Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 57779299 authored by Eric Laurent's avatar Eric Laurent
Browse files

resolve merge conflicts of e50bc7bc to master

Test: make
Change-Id: Iefdb803cbb451317a0a24fffd27d927702cc193c
parents fb5408b6 e50bc7bc
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -3616,7 +3616,8 @@ static int adev_open_output_stream(struct audio_hw_device *dev,
        out->config = is_hdmi ? pcm_config_hdmi_multi : pcm_config_hifi;
        out->config.rate = config->sample_rate;
        out->config.channels = audio_channel_count_from_out_mask(out->channel_mask);
        out->config.period_size = HDMI_MULTI_PERIOD_BYTES / (out->config.channels * 2);
        out->config.period_size = HDMI_MULTI_PERIOD_BYTES / (out->config.channels *
                                                         audio_bytes_per_sample(config->format));
        out->config.format = pcm_format_from_audio_format(out->format);
    } else if (out->flags & AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD) {
        pthread_mutex_lock(&adev->lock);