summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2006-09-03 11:49:32 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2006-09-03 11:49:32 +0200
commit5ff1d3571199dfa412e8e1cb7eb2a4f920fdbdd5 (patch)
tree35e88e25048e65cd03c2e23652d1ce837e35215f
parent2e97eed6ad98aee6a0058b18e46b9b3430454d86 (diff)
downloadvdr-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--CONTRIBUTORS2
-rw-r--r--HISTORY4
-rw-r--r--device.c3
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'
diff --git a/HISTORY b/HISTORY
index 337adaf5..9fcbe450 100644
--- a/HISTORY
+++ b/HISTORY
@@ -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).
diff --git a/device.c b/device.c
index c17cb0b5..0fb4fc75 100644
--- a/device.c
+++ b/device.c
@@ -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;