Update of /cvsroot/audacity/lib-src/portmixer/src
In directory 
sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv10805/lib-src/portmixer/src

Modified Files:
        px_mac_coreaudio.c 
Log Message:
It's valid to have no input sources...

Index: px_mac_coreaudio.c
===================================================================
RCS file: /cvsroot/audacity/lib-src/portmixer/src/px_mac_coreaudio.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- px_mac_coreaudio.c  24 Nov 2009 03:16:37 -0000      1.2
+++ px_mac_coreaudio.c  24 Nov 2009 06:27:24 -0000      1.3
@@ -94,7 +94,8 @@
                                     &outSize,
                                     NULL);
    if (err) {
-      return cleanup(Px);
+      /* No input sources available.  Input device may still be usable. */
+      return TRUE;
    }
 
    info->numsrcs  = outSize / sizeof(UInt32);


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Audacity-cvs mailing list
Audacity-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/audacity-cvs

Reply via email to