aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components/AVSwitch.py
diff options
context:
space:
mode:
authorghost <andreas.monzner@multimedia-labs.de>2009-11-03 19:40:42 +0100
committerghost <andreas.monzner@multimedia-labs.de>2009-11-03 19:40:42 +0100
commitf488e1db5b364c4df7135008a3b073a1d0ba06ca (patch)
tree90b7675d265143361fad8f7f880d153797b0ff5c /lib/python/Components/AVSwitch.py
parentf3a30a79a5dda5f33a9241de575bbf9fa66b4170 (diff)
parent0fd217d2eef3ae87953e6622edb977aded899a52 (diff)
downloadenigma2-f488e1db5b364c4df7135008a3b073a1d0ba06ca.tar.gz
enigma2-f488e1db5b364c4df7135008a3b073a1d0ba06ca.zip
Merge branch '219_negative_ac3_pcm_delay' into experimental
Diffstat (limited to 'lib/python/Components/AVSwitch.py')
-rw-r--r--lib/python/Components/AVSwitch.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/python/Components/AVSwitch.py b/lib/python/Components/AVSwitch.py
index bc2a66a4..2658f9ba 100644
--- a/lib/python/Components/AVSwitch.py
+++ b/lib/python/Components/AVSwitch.py
@@ -1,5 +1,5 @@
from config import config, ConfigSlider, ConfigSelection, ConfigYesNo, \
- ConfigEnableDisable, ConfigSubsection, ConfigBoolean, ConfigNumber, ConfigNothing, NoSave
+ ConfigEnableDisable, ConfigSubsection, ConfigBoolean, ConfigSelectionNumber, ConfigNothing, NoSave
from enigma import eAVSwitch, getDesktop
from SystemInfo import SystemInfo
from os import path as os_path
@@ -112,8 +112,8 @@ def InitAVSwitch():
config.av.tvsystem = ConfigSelection(choices = {"pal": _("PAL"), "ntsc": _("NTSC"), "multinorm": _("multinorm")}, default="pal")
config.av.wss = ConfigEnableDisable(default = True)
config.av.defaultac3 = ConfigYesNo(default = False)
- config.av.generalAC3delay = ConfigNumber(default = 0)
- config.av.generalPCMdelay = ConfigNumber(default = 0)
+ config.av.generalAC3delay = ConfigSelectionNumber(-1000, 1000, 25, default = 0)
+ config.av.generalPCMdelay = ConfigSelectionNumber(-1000, 1000, 25, default = 0)
config.av.vcrswitch = ConfigEnableDisable(default = False)
iAVSwitch = AVSwitch()