Update of /cvsroot/freevo/freevo/src/plugins
In directory sc8-pr-cvs1:/tmp/cvs-serv11033

Modified Files:
        mixer.py 
Log Message:
better exception handling for ioctl

Index: mixer.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/plugins/mixer.py,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** mixer.py    20 Oct 2003 19:36:04 -0000      1.10
--- mixer.py    20 Oct 2003 19:37:39 -0000      1.11
***************
*** 10,13 ****
--- 10,16 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.11  2003/10/20 19:37:39  dischi
+ # better exception handling for ioctl
+ #
  # Revision 1.10  2003/10/20 19:36:04  dischi
  # ioctl may fail
***************
*** 101,105 ****
                  try:
                      fcntl.ioctl( self.mixfd.fileno(), self.SOUND_MIXER_WRITE_RECSRC, 
data )
!                 except:
                      pass
                  
--- 104,109 ----
                  try:
                      fcntl.ioctl( self.mixfd.fileno(), self.SOUND_MIXER_WRITE_RECSRC, 
data )
!                 except IOError:
!                     _debug_('IOError for ioctl')
                      pass
                  
***************
*** 166,170 ****
              try:
                  fcntl.ioctl(self.mixfd.fileno(), device, data)
!             except:
                  pass
              
--- 170,175 ----
              try:
                  fcntl.ioctl(self.mixfd.fileno(), device, data)
!             except IOError:
!                 _debug_('IOError for ioctl')
                  pass
              




-------------------------------------------------------
This SF.net email is sponsored by OSDN developer relations
Here's your chance to show off your extensive product knowledge
We want to know what you know. Tell us and you have a chance to win $100
http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to