diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2006-09-03 11:49:32 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2006-09-03 11:49:32 +0200 |
commit | 5ff1d3571199dfa412e8e1cb7eb2a4f920fdbdd5 (patch) | |
tree | 35e88e25048e65cd03c2e23652d1ce837e35215f | |
parent | 2e97eed6ad98aee6a0058b18e46b9b3430454d86 (diff) | |
download | vdr-5ff1d3571199dfa412e8e1cb7eb2a4f920fdbdd5.tar.gz vdr-5ff1d3571199dfa412e8e1cb7eb2a4f920fdbdd5.tar.bz2 |
Fixed handling relative volume settings that unmute the audio in the call to cStatus::MsgSetVolume()1.4.2-1
-rw-r--r-- | CONTRIBUTORS | 2 | ||||
-rw-r--r-- | HISTORY | 4 | ||||
-rw-r--r-- | device.c | 3 |
3 files changed, 7 insertions, 2 deletions
diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 86ab7dd7..2315e54d 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -640,6 +640,8 @@ Oliver Endriss <o.endriss@gmx.de> for reporting a problem in extracting APIVERSION with older versions of 'sed' for fixing broken APIVERSION extraction line in 'newplugin' for making VDR no longer stop removing empty directories if an error occurs + for reporting a bug in handling relative volume settings that unmute the audio in + the call to cStatus::MsgSetVolume() Reinhard Walter Buchner <rw.buchner@freenet.de> for adding some satellites to 'sources.conf' @@ -4896,7 +4896,7 @@ Video Disk Recorder Revision History detatching receivers. This change has caused some unwanted behavior, so further testing is necessary. -2006-09-02: Version 1.4.2-1 +2006-09-03: Version 1.4.2-1 - Added LC_ALL to the checks for UTF-8 at startup (suggested by Matthias Schwarzott). - Fixed the cTimer::operator=() so that it won't mess up the cListObject's pointers @@ -4905,3 +4905,5 @@ Video Disk Recorder Revision History (reported by Alexander Rieger). - Fixed processing the PDCDescriptor in 'libsi' on big endian systems (thanks to Martin Ostermann). +- Fixed handling relative volume settings that unmute the audio in the call to + cStatus::MsgSetVolume() (reported by Oliver Endriss). @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: device.c 1.136 2006/08/26 14:11:03 kls Exp $ + * $Id: device.c 1.137 2006/09/03 10:13:25 kls Exp $ */ #include "device.h" @@ -779,6 +779,7 @@ void cDevice::SetVolume(int Volume, bool Absolute) int OldVolume = volume; volume = min(max(Absolute ? Volume : volume + Volume, 0), MAXVOLUME); SetVolumeDevice(volume); + Absolute |= mute; cStatus::MsgSetVolume(Absolute ? volume : volume - OldVolume, Absolute); if (volume > 0) { mute = false; |