Update of /cvsroot/audacity/audacity-src/src/prefs
In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv8301/prefs
Modified Files:
AudioIOPrefs.cpp
Log Message:
Don't show latency duration controls when Portaudio v18 is used
Index: AudioIOPrefs.cpp
===================================================================
RCS file: /cvsroot/audacity/audacity-src/src/prefs/AudioIOPrefs.cpp,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -d -r1.47 -r1.48
--- AudioIOPrefs.cpp 19 Dec 2006 14:05:21 -0000 1.47
+++ AudioIOPrefs.cpp 24 Jan 2007 14:16:33 -0000 1.48
@@ -56,12 +56,6 @@
// ----------------------- End of main section --------------
// GUI is built, now do any post processing of it.
- // For Portaudio v18, we cannot set the latency
- // \todo Check whether this test would always enable the control.
-#if USE_PORTAUDIO_V19
-// Commented out for the moment...
-// mLatencyDuration->Enable(USE_PORTAUDIO_V19);
-#endif
// Fit(); // JKC: Doesn't seem to make any difference...
}
@@ -174,8 +168,12 @@
S.StartStatic( _("Latency"),1 );
{
S.StartThreeColumn();
+#if USE_PORTAUDIO_V19
+ // only show the following controls if we use Portaudio v19, because
+ // for Portaudio v19 we always use default buffer sizes
S.TieTextBox( _("Audio to buffer:"),wxT("LatencyDuration"),100.0,9);
S.AddUnits( _("milliseconds") );
+#endif
S.TieTextBox( _("Latency correction:"),wxT("LatencyCorrection"),0.0,9);
S.AddUnits( _("milliseconds") );
S.EndThreeColumn();
-------------------------------------------------------------------------
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