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

Commit 08365942 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "audio: fix the acdb id for FE app_type setting" into pi-dev

parents 52284624 e3e83efa
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -333,7 +333,8 @@ static int derive_acdb_dev_id(struct audio_device *adev __unused,
    struct stream_in *in;

    if (usecase->type == PCM_PLAYBACK) {
        return platform_get_snd_device_acdb_id(usecase->out_snd_device);
        return platform_get_snd_device_acdb_id(
                audio_extn_get_spkr_prot_snd_device(usecase->out_snd_device));
    } else if(usecase->type == PCM_CAPTURE) {
        return platform_get_snd_device_acdb_id(usecase->in_snd_device);
    }