Author: duncan
Date: Sat Feb 17 10:11:57 2007
New Revision: 9221

Modified:
   branches/rel-1-6/freevo/src/plugins/ossmixer.py

Log:
The mixer was always opening the default mixer


Modified: branches/rel-1-6/freevo/src/plugins/ossmixer.py
==============================================================================
--- branches/rel-1-6/freevo/src/plugins/ossmixer.py     (original)
+++ branches/rel-1-6/freevo/src/plugins/ossmixer.py     Sat Feb 17 10:11:57 2007
@@ -21,20 +21,6 @@
 # Todo:        
 #
 # -----------------------------------------------------------------------
-# $Log$
-# Revision 1.8.2.2  2005/01/20 16:32:11  dischi
-# fix crash
-#
-# Revision 1.8.2.1  2004/10/21 12:31:52  dischi
-# fix variable type
-#
-# Revision 1.8  2004/07/10 12:33:40  dischi
-# header cleanup
-#
-# Revision 1.7  2004/01/02 14:03:32  dischi
-# use osd to display volume
-#
-# -----------------------------------------------------------------------
 # Freevo - A Home Theater PC framework
 # Copyright (C) 2002 Krister Lagerstrom, et al. 
 # Please see the file freevo/Docs/CREDITS for a complete list of authors.
@@ -53,7 +39,7 @@
 # with this program; if not, write to the Free Software Foundation, Inc.,
 # 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 #
-# ----------------------------------------------------------------------- */
+# -----------------------------------------------------------------------
 
 
 """For manipulating the mixer.
@@ -82,9 +68,9 @@
         # why are we trying to open it?
         if config.DEV_MIXER:    
             try:
-                self.mixfd = ossaudiodev.openmixer()
+                self.mixfd = ossaudiodev.openmixer(config.DEV_MIXER)
             except IOError:
-                print 'Couldn\'t open mixer %s' % config.DEV_MIXER
+                print 'Couldn\'t open mixer "%s"' % config.DEV_MIXER
                 return
 
         # init here

-------------------------------------------------------------------------
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