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

Commit cd91032a authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "hal: apply bt-sco-wb samplerate mixer"

parents 2d74b27e 67c42711
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -1310,6 +1310,11 @@ int platform_set_parameters(void *platform, struct str_parms *parms)
    if (ret >= 0) {
        str_parms_del(parms, AUDIO_PARAMETER_KEY_BTSCO);
        my_data->btsco_sample_rate = val;
        if (val == SAMPLE_RATE_16KHZ) {
            audio_route_apply_path(my_data->adev->audio_route,
                                   "bt-sco-wb-samplerate");
            audio_route_update_mixer(my_data->adev->audio_route);
        }
    }

    ret = str_parms_get_int(parms, AUDIO_PARAMETER_KEY_SLOWTALK, &val);