diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2015-01-12 14:56:42 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2015-01-12 14:56:42 +0100 |
commit | f5bbf06b6067ff582bd7726b2f295292dea33f70 (patch) | |
tree | c0b6430382618c72f85ef9db7e061fbf7895843d /device.h | |
parent | 6b229d7d5f6377a930191d9ba469b7707b8eb8a5 (diff) | |
download | vdr-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.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 }; |