diff options
author | Joachim Wilke <vdr@joachim-wilke.de> | 2008-03-08 00:00:00 +0100 |
---|---|---|
committer | Joachim Wilke <vdr@joachim-wilke.de> | 2008-03-08 00:00:00 +0100 |
commit | b2f99dd7bbb5cd76db0243b59e14852b37db8a38 (patch) | |
tree | e960e33be372f3adbf6e2f663093d122d6fd4361 /patches/lcdproc-0.0.10-fix_for_absolute_volume.diff | |
parent | 267f42f0507a5bbf915deab1bef69dc7e470e9da (diff) | |
download | vdr-plugin-lcdproc-b2f99dd7bbb5cd76db0243b59e14852b37db8a38.tar.gz vdr-plugin-lcdproc-b2f99dd7bbb5cd76db0243b59e14852b37db8a38.tar.bz2 |
Version 0.0.10-jw3v0.0.10-jw3release/v0.0.10-jw3
Diffstat (limited to 'patches/lcdproc-0.0.10-fix_for_absolute_volume.diff')
-rw-r--r-- | patches/lcdproc-0.0.10-fix_for_absolute_volume.diff | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/patches/lcdproc-0.0.10-fix_for_absolute_volume.diff b/patches/lcdproc-0.0.10-fix_for_absolute_volume.diff deleted file mode 100644 index 24ef596..0000000 --- a/patches/lcdproc-0.0.10-fix_for_absolute_volume.diff +++ /dev/null @@ -1,21 +0,0 @@ -diff -rup lcdproc-0.0.10.sav/lcd.c lcdproc-0.0.10/lcd.c ---- lcdproc-0.0.10.sav/lcd.c Wed Aug 30 21:11:17 2006 -+++ lcdproc-0.0.10/lcd.c Sun Sep 17 12:48:23 2006 -@@ -258,11 +258,14 @@ void cLcd::SetWarning( const char *strin - } - } - --void cLcd::ShowVolume(unsigned int vol, bool muted ) { -+void cLcd::ShowVolume(unsigned int vol, bool absolute ) { - if (!connected) return; - BeginMutualExclusion(); -- ThreadStateData.volume=vol; -- ThreadStateData.muted=muted; -+ if (absolute) -+ ThreadStateData.volume=vol; -+ else -+ ThreadStateData.volume+=vol; -+ ThreadStateData.muted=(ThreadStateData.volume==0); - ThreadStateData.showvolume=true; - EndMutualExclusion(); - if (ThreadStateData.muted) { |