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 <bosconovic@gmail.com>
Change-Id: I4902b463acf15994ccb9d5a0a4968ac81fc0905c
tirimbino
ivanmeler 3 years ago committed by jro1979oliver
parent 1a366adc07
commit f5e4c0c5c1
  1. 1
      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:

Loading…
Cancel
Save