summaryrefslogtreecommitdiff
path: root/device.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2015-01-12 14:56:42 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2015-01-12 14:56:42 +0100
commitf5bbf06b6067ff582bd7726b2f295292dea33f70 (patch)
treec0b6430382618c72f85ef9db7e061fbf7895843d /device.h
parent6b229d7d5f6377a930191d9ba469b7707b8eb8a5 (diff)
downloadvdr-f5bbf06b6067ff582bd7726b2f295292dea33f70.tar.gz
vdr-f5bbf06b6067ff582bd7726b2f295292dea33f70.tar.bz2
Added the new parameters "Setup/Miscellaneous/Volume steps" and ".../Volume linearize"
Diffstat (limited to 'device.h')
-rw-r--r--device.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/device.h b/device.h
index 549bbe04..b06d9770 100644
--- a/device.h
+++ b/device.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: device.h 3.9 2014/03/15 14:04:58 kls Exp $
+ * $Id: device.h 3.10 2015/01/12 14:39:09 kls Exp $
*/
#ifndef __DEVICE_H
@@ -30,7 +30,7 @@
#define MAXPIDHANDLES 64 // the maximum number of different PIDs per device
#define MAXRECEIVERS 16 // the maximum number of receivers per device
#define MAXVOLUME 255
-#define VOLUMEDELTA 5 // used to increase/decrease the volume
+#define VOLUMEDELTA (MAXVOLUME / Setup.VolumeSteps) // used to increase/decrease the volume
#define MAXOCCUPIEDTIMEOUT 99 // max. time (in seconds) a device may be occupied
enum eSetChannelResult { scrOk, scrNotAvailable, scrNoTransfer, scrFailed };