From: Lars Op den Kamp Date: Sun, 6 Nov 2011 03:20:25 +0000 (+0100) Subject: break break break X-Git-Tag: upstream/2.2.0~1^2~109 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=2e8207ce0d15b3c25d97eba8740f3ca80364d03c;p=deb_libcec.git break break break --- diff --git a/src/lib/devices/CECBusDevice.cpp b/src/lib/devices/CECBusDevice.cpp index f9f1a2a..4e15fb7 100644 --- a/src/lib/devices/CECBusDevice.cpp +++ b/src/lib/devices/CECBusDevice.cpp @@ -60,28 +60,34 @@ CCECBusDevice::CCECBusDevice(CCECProcessor *processor, cec_logical_address iLogi case CECDEVICE_AUDIOSYSTEM: m_type = CEC_DEVICE_TYPE_AUDIO_SYSTEM; m_strDeviceName = "Audio"; + break; case CECDEVICE_PLAYBACKDEVICE1: case CECDEVICE_PLAYBACKDEVICE2: case CECDEVICE_PLAYBACKDEVICE3: m_type = CEC_DEVICE_TYPE_PLAYBACK_DEVICE; m_strDeviceName = "Player"; + break; case CECDEVICE_RECORDINGDEVICE1: case CECDEVICE_RECORDINGDEVICE2: case CECDEVICE_RECORDINGDEVICE3: m_type = CEC_DEVICE_TYPE_RECORDING_DEVICE; m_strDeviceName = "Recorder"; + break; case CECDEVICE_TUNER1: case CECDEVICE_TUNER2: case CECDEVICE_TUNER3: case CECDEVICE_TUNER4: m_type = CEC_DEVICE_TYPE_TUNER; m_strDeviceName = "Tuner"; + break; case CECDEVICE_TV: m_type = CEC_DEVICE_TYPE_TV; m_strDeviceName = "TV"; + break; default: m_type = CEC_DEVICE_TYPE_RESERVED; m_strDeviceName = "Unknown"; + break; } }