From f5e4c0c5c151ce1a83f8e1b145856cfc99b8727d Mon Sep 17 00:00:00 2001 From: ivanmeler Date: Thu, 7 Oct 2021 10:44:25 +0000 Subject: [PATCH] audio: remove AUDIO_DEVICE_OUT_ALL_SCO from switch case Fixes this error hardware/samsung/audio/voice.c:346:14: error: case value not in enumerated type 'audio_devices_t' [-Werror,-Wswitch] case AUDIO_DEVICE_OUT_ALL_SCO: Signed-off-by: Francescodario Cuzzocrea Change-Id: I4902b463acf15994ccb9d5a0a4968ac81fc0905c --- audio/voice.c | 1 - 1 file changed, 1 deletion(-) diff --git a/audio/voice.c b/audio/voice.c index 6d5e6130..e239298e 100644 --- a/audio/voice.c +++ b/audio/voice.c @@ -343,7 +343,6 @@ void set_voice_session_volume(struct voice_session *session, float volume) case AUDIO_DEVICE_OUT_BLUETOOTH_SCO: case AUDIO_DEVICE_OUT_BLUETOOTH_SCO_HEADSET: case AUDIO_DEVICE_OUT_BLUETOOTH_SCO_CARKIT: - case AUDIO_DEVICE_OUT_ALL_SCO: sound_type = SOUND_TYPE_BTVOICE; break; default: