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

Modified Files:
        PrefsDialog.cpp 
Log Message:
Fix for MixerToolbar not redrawing properly when changing input device.

Index: PrefsDialog.cpp
===================================================================
RCS file: /cvsroot/audacity/audacity-src/src/prefs/PrefsDialog.cpp,v
retrieving revision 1.67
retrieving revision 1.68
diff -u -d -r1.67 -r1.68
--- PrefsDialog.cpp     24 Jun 2009 20:37:29 -0000      1.67
+++ PrefsDialog.cpp     14 Jul 2009 23:04:52 -0000      1.68
@@ -183,6 +183,12 @@
 
    gPrefs->Write(wxT("/Prefs/PrefsCategory"), 
(long)mCategories->GetSelection());
 
+#if USE_PORTMIXER
+   if (gAudioIO) {
+      gAudioIO->HandleDeviceChange();
+   }
+#endif
+
    // LL:  wxMac can't handle recreating the menus when this dialog is still 
active,
    //      so AudacityProject::UpdatePrefs() or any of the routines it calls 
must
    //      not cause AudacityProject::RebuildMenuBar() to be executed.


------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Audacity-cvs mailing list
Audacity-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/audacity-cvs

Reply via email to