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

Commit a35c6a6a authored by android-build-team Robot's avatar android-build-team Robot
Browse files

Snap for 6821266 from cc876f63 to sc-d1-release

Change-Id: Ia3e467d670b3e00394fad60c2604167863e75134
parents 439cb8bd cc876f63
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -1216,6 +1216,12 @@ static void check_and_route_playback_usecases(struct audio_device *adev,
            usecase = node_to_item(node, struct audio_usecase, list);
            if (switch_device[usecase->id] ) {
                enable_audio_route(adev, usecase);
                if (usecase->stream.out && usecase->id == USECASE_AUDIO_PLAYBACK_VOIP) {
                    struct stream_out *out = usecase->stream.out;
                    audio_extn_utils_send_app_type_gain(out->dev,
                                                        out->app_type_cfg.app_type,
                                                        &out->app_type_cfg.gain[0]);
                }
            }
        }
    }