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

Commit 2e4e3e6f authored by Grzegorz Kołodziejczyk's avatar Grzegorz Kołodziejczyk Committed by Eric Laurent
Browse files

le_audio: Correct typo for BLE headset output communication device

Patch corrects typo for pairing output BLE headset device with input
device.

Tag: #feature
Test: Select BLE output headset as communication device
Sponsor: jpawlowski@
Bug: 150670922
Bug: 194470230
Change-Id: I7b0f41cb3f90096d9e19337ed1e3952a3dcdff3f
parent 74dcdac0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -508,7 +508,7 @@ sp<DeviceDescriptor> Engine::getDeviceForInputSource(audio_source_t inputSource)
        switch (commDeviceType) {
        case AUDIO_DEVICE_OUT_BLE_HEADSET:
            device = availableDevices.getDevice(
                    AUDIO_DEVICE_IN_BLUETOOTH_SCO_HEADSET, String8(""), AUDIO_FORMAT_DEFAULT);
                    AUDIO_DEVICE_IN_BLE_HEADSET, String8(""), AUDIO_FORMAT_DEFAULT);
            break;
        case AUDIO_DEVICE_OUT_SPEAKER:
            device = availableDevices.getFirstExistingDevice({