summaryrefslogtreecommitdiff
path: root/status.c
blob: 2464a4976b6e9abb23c727ec8835953d962c3b1d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/*
 * status.c: Keeping track of several VDR status settings
 */

#include "status.h"

cNopacityStatusMonitor *statusMonitor;

void cNopacityStatusMonitor::SetVolume(int volume, bool absolute)
{  // The volume has been set to the given value, either
   // absolutely or relative to the current volume.

   Volume = absolute ? volume : Volume + volume;
}