mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Completed storing the current audio volume in the setup.conf file
This commit is contained in:
parent
a7136cf518
commit
407c2fb77f
@ -150,3 +150,6 @@ Andreas Share <a.share@t-online.de>
|
|||||||
|
|
||||||
Simon Bauschulte <SemiSchwabe@Brutzel.de>
|
Simon Bauschulte <SemiSchwabe@Brutzel.de>
|
||||||
for his support in keeping the Premiere World channels up to date in 'channels.conf'
|
for his support in keeping the Premiere World channels up to date in 'channels.conf'
|
||||||
|
|
||||||
|
Andy Grobb <Charly98@01019freenet.de>
|
||||||
|
for completing storing the current audio volume in the setup.conf file
|
||||||
|
5
HISTORY
5
HISTORY
@ -830,3 +830,8 @@ Video Disk Recorder Revision History
|
|||||||
values.
|
values.
|
||||||
- Fixed handling trick modes near the beginning and end of a recording.
|
- Fixed handling trick modes near the beginning and end of a recording.
|
||||||
- Pressing the "Back" button while replaying a DVD now leads to the DVD menu.
|
- Pressing the "Back" button while replaying a DVD now leads to the DVD menu.
|
||||||
|
|
||||||
|
2001-10-27: Version 0.98
|
||||||
|
|
||||||
|
- Completed storing the current audio volume in the setup.conf file (thanks
|
||||||
|
to Andy Grobb).
|
||||||
|
4
config.h
4
config.h
@ -4,7 +4,7 @@
|
|||||||
* See the main source file 'vdr.c' for copyright information and
|
* See the main source file 'vdr.c' for copyright information and
|
||||||
* how to reach the author.
|
* how to reach the author.
|
||||||
*
|
*
|
||||||
* $Id: config.h 1.84 2001/10/07 15:13:23 kls Exp $
|
* $Id: config.h 1.85 2001/10/27 09:56:04 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __CONFIG_H
|
#ifndef __CONFIG_H
|
||||||
@ -18,7 +18,7 @@
|
|||||||
#include "eit.h"
|
#include "eit.h"
|
||||||
#include "tools.h"
|
#include "tools.h"
|
||||||
|
|
||||||
#define VDRVERSION "0.97"
|
#define VDRVERSION "0.98"
|
||||||
|
|
||||||
#define MAXPRIORITY 99
|
#define MAXPRIORITY 99
|
||||||
#define MAXLIFETIME 99
|
#define MAXLIFETIME 99
|
||||||
|
3
dvbapi.h
3
dvbapi.h
@ -4,7 +4,7 @@
|
|||||||
* See the main source file 'vdr.c' for copyright information and
|
* See the main source file 'vdr.c' for copyright information and
|
||||||
* how to reach the author.
|
* how to reach the author.
|
||||||
*
|
*
|
||||||
* $Id: dvbapi.h 1.53 2001/09/23 11:01:46 kls Exp $
|
* $Id: dvbapi.h 1.54 2001/10/27 09:50:03 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __DVBAPI_H
|
#ifndef __DVBAPI_H
|
||||||
@ -330,6 +330,7 @@ public:
|
|||||||
void SetVolume(int Volume, bool Absolute = false);
|
void SetVolume(int Volume, bool Absolute = false);
|
||||||
// Sets the volume to the given value, either absolutely or relative to
|
// Sets the volume to the given value, either absolutely or relative to
|
||||||
// the current volume.
|
// the current volume.
|
||||||
|
static int CurrentVolume(void) { return PrimaryDvbApi ? PrimaryDvbApi->volume : 0; }
|
||||||
};
|
};
|
||||||
|
|
||||||
class cEITScanner {
|
class cEITScanner {
|
||||||
|
3
vdr.c
3
vdr.c
@ -22,7 +22,7 @@
|
|||||||
*
|
*
|
||||||
* The project's page is at http://www.cadsoft.de/people/kls/vdr
|
* The project's page is at http://www.cadsoft.de/people/kls/vdr
|
||||||
*
|
*
|
||||||
* $Id: vdr.c 1.86 2001/10/20 11:18:38 kls Exp $
|
* $Id: vdr.c 1.87 2001/10/27 09:47:02 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <getopt.h>
|
#include <getopt.h>
|
||||||
@ -529,6 +529,7 @@ int main(int argc, char *argv[])
|
|||||||
if (Interrupted)
|
if (Interrupted)
|
||||||
isyslog(LOG_INFO, "caught signal %d", Interrupted);
|
isyslog(LOG_INFO, "caught signal %d", Interrupted);
|
||||||
Setup.CurrentChannel = cDvbApi::CurrentChannel();
|
Setup.CurrentChannel = cDvbApi::CurrentChannel();
|
||||||
|
Setup.CurrentVolume = cDvbApi::CurrentVolume();
|
||||||
Setup.Save();
|
Setup.Save();
|
||||||
cVideoCutter::Stop();
|
cVideoCutter::Stop();
|
||||||
delete Menu;
|
delete Menu;
|
||||||
|
Loading…
Reference in New Issue
Block a user