Update of /cvsroot/audacity/lib-src/portmixer/px_mac_core
In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv20072/px_mac_core

Modified Files:
        px_mac_core.c 
Log Message:
Fixes non-working output mixer control during playback.


Index: px_mac_core.c
===================================================================
RCS file: /cvsroot/audacity/lib-src/portmixer/px_mac_core/px_mac_core.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- px_mac_core.c       3 Aug 2006 13:18:48 -0000       1.7
+++ px_mac_core.c       26 Aug 2006 06:45:54 -0000      1.8
@@ -161,6 +161,16 @@
    info->output = pamcs->outputDevice;
 #endif 
 
+   if (info->input == kAudioDeviceUnknown) {
+      outSize = sizeof(AudioDeviceID);
+      err = AudioHardwareGetProperty(kAudioHardwarePropertyDefaultInputDevice,
+                                     &outSize,
+                                     &info->input);
+      if (err) {
+         return Px_FreeInfo(info);
+      }
+   }
+
    outSize = sizeof(UInt32);
    err = AudioDeviceGetPropertyInfo(info->input,
                                     0,


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Audacity-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/audacity-cvs

Reply via email to