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

Modified Files:
        QualityPrefs.cpp 
Log Message:
Answered James' question...

Index: QualityPrefs.cpp
===================================================================
RCS file: /cvsroot/audacity/audacity-src/src/prefs/QualityPrefs.cpp,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -d -r1.24 -r1.25
--- QualityPrefs.cpp    22 Sep 2006 07:03:56 -0000      1.24
+++ QualityPrefs.cpp    4 Oct 2006 02:41:00 -0000       1.25
@@ -79,6 +79,15 @@
    //      Can someone please explain or correct it?
    // XXX: This should use a previously changed, but not yet saved
    //      sound card setting from the "I/O" preferences tab.
+   // LLL: It means that until the user clicks "Ok" in preferences, the
+   //      GetSupportedSampleRates() call should use the devices they
+   //      may have changed on the Audio I/O page.  As coded, the sample
+   //      rates it will return could be completely invalid as they will
+   //      be what's supported by the devices that were selected BEFORE
+   //      coming into preferences.
+   //
+   //      GetSupportedSampleRates() allows passing in device names, but
+   //      how do you get at them as they are on the Audio I/O page????
    wxArrayLong SampleRateLabelsLong = AudioIO::GetSupportedSampleRates();
    for (int i=0; i<(int)SampleRateLabelsLong.GetCount(); i++)
    {


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Audacity-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/audacity-cvs

Reply via email to