Update of /cvsroot/audacity/audacity-src/src
In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv18307

Modified Files:
        AudioIO.cpp 
Log Message:
Allow volumes to be continuous.

Index: AudioIO.cpp
===================================================================
RCS file: /cvsroot/audacity/audacity-src/src/AudioIO.cpp,v
retrieving revision 1.147
retrieving revision 1.148
diff -u -d -r1.147 -r1.148
--- AudioIO.cpp 23 Oct 2006 10:32:40 -0000      1.147
+++ AudioIO.cpp 5 Nov 2006 08:08:46 -0000       1.148
@@ -260,7 +260,6 @@
    mMixerInputVol = recordVolume;
 
 #if defined(USE_PORTMIXER)
-
    PxMixer *mixer = mPortMixer;
 
    if( mixer )
@@ -271,9 +270,9 @@
 
       if( recordDevice != oldRecordDevice )
          Px_SetCurrentInputSource(mixer, recordDevice);
-      if( fabs(oldRecordVolume-recordVolume) > 0.05 )
+      if( oldRecordVolume != recordVolume )
          Px_SetInputVolume(mixer, recordVolume);
-      if( fabs(oldPlaybackVolume-playbackVolume) > 0.05 )
+      if( oldPlaybackVolume != playbackVolume )
          Px_SetPCMOutputVolume(mixer, playbackVolume);
 
       return;


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