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 /device.c | |
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
Diffstat (limited to 'device.c')
-rw-r--r-- | device.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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; |