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

Commit 8c64ec9c authored by Jasmine Cha's avatar Jasmine Cha Committed by Android (Google) Code Review
Browse files

Merge "audio: correct setting sequence"

parents 5b91ba1b fb2ea2c3
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -649,6 +649,7 @@ int enable_audio_route(struct audio_device *adev,
    else
        snd_device = usecase->out_snd_device;
    audio_extn_utils_send_app_type_cfg(adev, usecase);
    audio_extn_ma_set_device(usecase);
    audio_extn_utils_send_audio_calibration(adev, usecase);

    // we shouldn't truncate mixer_path
@@ -1714,8 +1715,6 @@ int select_devices(struct audio_device *adev,

    enable_audio_route(adev, usecase);

    audio_extn_ma_set_device(usecase);

    /* If input stream is already running the effect needs to be
       applied on the new input device that's being enabled here.  */
    if (in_snd_device != SND_DEVICE_NONE)