Update of /cvsroot/audacity/audacity-src/src
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv14233/src

Modified Files:
        AudioIO.cpp 
Log Message:
First try at getting volume mixers to work "properly" on Vista and 7.


Index: AudioIO.cpp
===================================================================
RCS file: /cvsroot/audacity/audacity-src/src/AudioIO.cpp,v
retrieving revision 1.235
retrieving revision 1.236
diff -u -d -r1.235 -r1.236
--- AudioIO.cpp 21 Nov 2009 22:16:36 -0000      1.235
+++ AudioIO.cpp 22 Nov 2009 12:46:11 -0000      1.236
@@ -521,7 +521,7 @@
    playbackParameters.device = playDeviceNum;
    playbackParameters.sampleFormat = paFloat32;
    playbackParameters.hostApiSpecificStreamInfo = NULL;
-   playbackParameters.channelCount = 2;
+   playbackParameters.channelCount = 1;
    if (Pa_GetDeviceInfo(playDeviceNum))
       playbackParameters.suggestedLatency =
          Pa_GetDeviceInfo(playDeviceNum)->defaultLowOutputLatency;
@@ -533,7 +533,7 @@
    captureParameters.device = recDeviceNum;
    captureParameters.sampleFormat = paFloat32;;
    captureParameters.hostApiSpecificStreamInfo = NULL;
-   captureParameters.channelCount = 2;
+   captureParameters.channelCount = 1;
    if (Pa_GetDeviceInfo(recDeviceNum))
       captureParameters.suggestedLatency =
          Pa_GetDeviceInfo(recDeviceNum)->defaultLowInputLatency;
@@ -1486,7 +1486,7 @@
    PaStreamParameters pars;
 
    pars.device = devIndex;
-   pars.channelCount = 2;
+   pars.channelCount = 1;
    pars.sampleFormat = paFloat32;
    pars.suggestedLatency = devInfo->defaultHighOutputLatency;
    pars.hostApiSpecificStreamInfo = NULL;
@@ -1965,7 +1965,7 @@
       playbackParameters.device = playDeviceNum;
       playbackParameters.sampleFormat = paFloat32;
       playbackParameters.hostApiSpecificStreamInfo = NULL;
-      playbackParameters.channelCount = 2;
+      playbackParameters.channelCount = 1;
       if (Pa_GetDeviceInfo(playDeviceNum)){
          playbackParameters.suggestedLatency =
             Pa_GetDeviceInfo(playDeviceNum)->defaultLowOutputLatency;
@@ -1979,7 +1979,7 @@
       captureParameters.device = recDeviceNum;
       captureParameters.sampleFormat = paFloat32;;
       captureParameters.hostApiSpecificStreamInfo = NULL;
-      captureParameters.channelCount = 2;
+      captureParameters.channelCount = 1;
       if (Pa_GetDeviceInfo(recDeviceNum)){
          captureParameters.suggestedLatency =
             Pa_GetDeviceInfo(recDeviceNum)->defaultLowInputLatency;


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