Author: duncan
Date: Fri Sep 29 15:30:25 2006
New Revision: 8272

Modified:
   branches/rel-1-5/freevo/src/tv/ivtv_xine_tv.py

Log:
Put back the changes to ivtv_xine_tv.py as these are valid changes

Modified: branches/rel-1-5/freevo/src/tv/ivtv_xine_tv.py
==============================================================================
--- branches/rel-1-5/freevo/src/tv/ivtv_xine_tv.py      (original)
+++ branches/rel-1-5/freevo/src/tv/ivtv_xine_tv.py      Fri Sep 29 15:30:25 2006
@@ -24,6 +24,11 @@
 TRUE = 1
 FALSE = 0
 
+if not config.XINE_TV_VO_DEV:
+       config.XINE_TV_VO_DEV = config.XINE_VO_DEV
+if not config.XINE_TV_AO_DEV:
+       config.XINE_TV_AO_DEV = config.XINE_AO_DEV
+
 class PluginInterface(plugin.Plugin):
     """
     Plugin to watch tv with xine.
@@ -64,7 +69,7 @@
 
         # Suppress annoying audio clicks
         time.sleep(0.4)
-        self.mixer.start()
+        self.mixer.start(mode)
 
         _debug_('%s: started %s app' % (time.time(), self.mode))
 
@@ -310,13 +315,13 @@
                 self.volume = self.mixer.getPcmVolume()
                 self.mixer.setPcmVolume(0)
 
-    def start(self):
+    def start(self, mode):
 
 
         if (self.mixer != None):
 
             # XXX Hm.. This is hardcoded and very unflexible.
-            if self.mode == 'vcr':
+            if mode == 'vcr':
                 self.mixer.setMicVolume(config.VCR_IN_VOLUME)
 
             else:

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to