From: Lars Op den Kamp Date: Tue, 4 Dec 2012 02:24:42 +0000 (+0100) Subject: fix initial audiostatus value X-Git-Tag: upstream/2.2.0~1^2~9^2~1^2 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=298034ea68eded5a4045d563609d64746203c107;p=deb_libcec.git fix initial audiostatus value --- diff --git a/src/lib/devices/CECAudioSystem.cpp b/src/lib/devices/CECAudioSystem.cpp index 662054f..1dc2bdc 100644 --- a/src/lib/devices/CECAudioSystem.cpp +++ b/src/lib/devices/CECAudioSystem.cpp @@ -47,7 +47,7 @@ using namespace PLATFORM; CCECAudioSystem::CCECAudioSystem(CCECProcessor *processor, cec_logical_address address, uint16_t iPhysicalAddress /* = CEC_INVALID_PHYSICAL_ADDRESS */) : CCECBusDevice(processor, address, iPhysicalAddress), m_systemAudioStatus(CEC_SYSTEM_AUDIO_STATUS_ON), - m_audioStatus(CEC_AUDIO_MUTE_STATUS_MASK) + m_audioStatus(CEC_AUDIO_VOLUME_STATUS_UNKNOWN) { m_type = CEC_DEVICE_TYPE_AUDIO_SYSTEM; }