Author: jerome
Date: 2009-03-11 22:47:05 +0100 (Wed, 11 Mar 2009)
New Revision: 3969

Modified:
   
software_suite_v2/software/gadgets/tuxdroid-gadget-skype/trunk/tuxdroid-skype-gadget/executables/tuxdroid-gadget-skype.py
Log:
* Added automatic set of speakers and micro ( in/out => Tux ) for windblows.

Modified: 
software_suite_v2/software/gadgets/tuxdroid-gadget-skype/trunk/tuxdroid-skype-gadget/executables/tuxdroid-gadget-skype.py
===================================================================
--- 
software_suite_v2/software/gadgets/tuxdroid-gadget-skype/trunk/tuxdroid-skype-gadget/executables/tuxdroid-gadget-skype.py
   2009-03-11 20:41:56 UTC (rev 3968)
+++ 
software_suite_v2/software/gadgets/tuxdroid-gadget-skype/trunk/tuxdroid-skype-gadget/executables/tuxdroid-gadget-skype.py
   2009-03-11 21:47:05 UTC (rev 3969)
@@ -225,8 +225,9 @@
          '''
          #from SkypeConnection import Utils
          if self.isWindows():
-             #TODO
-             return
+            self.__sendCommand('SET AUDIO_IN TuxDroid-Micro (TuxDroid-Audio)')
+            self.__sendCommand('SET AUDIO_OUT Speakers (TuxDroid-Audio)')
+            self.__sendCommand('SET RINGER Speakers (TuxDroid-Audio)')
          else:
             self.__sendCommand('SET AUDIO_IN TuxDroid (plughw:TuxDroid,0)')
             self.__sendCommand('SET AUDIO_OUT TuxDroid (plughw:TuxDroid,0)')
@@ -244,7 +245,6 @@
 
                 self.__skype.SendCommand( cmd_obj )
                 result = str((cmd_obj.Reply).encode('utf-8'))
-
                 return True
             except:
                 return False


------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Tux-droid-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tux-droid-svn

Reply via email to