diff audioio/AudioCallbackPlaySource.cpp @ 177:7dae51741cc9

* Fix crash on exit on win32. This was caused by incorrectly using fftw_free() to free the string returned from fftw_export_wisdom_to_string(), instead of plain free(). * Various debug artifacts related to tracking down the above
author Chris Cannam
date Fri, 14 Aug 2009 14:01:09 +0000
parents d8017c8859eb
children 017206f2e4c5
line wrap: on
line diff
--- a/audioio/AudioCallbackPlaySource.cpp	Thu Jul 16 13:57:18 2009 +0000
+++ b/audioio/AudioCallbackPlaySource.cpp	Fri Aug 14 14:01:09 2009 +0000
@@ -99,6 +99,9 @@
 
 AudioCallbackPlaySource::~AudioCallbackPlaySource()
 {
+#ifdef DEBUG_AUDIO_PLAY_SOURCE
+    std::cerr << "AudioCallbackPlaySource::~AudioCallbackPlaySource entering" << std::endl;
+#endif
     m_exiting = true;
 
     if (m_fillThread) {
@@ -128,6 +131,9 @@
 
     m_bufferScavenger.scavenge(true);
     m_pluginScavenger.scavenge(true);
+#ifdef DEBUG_AUDIO_PLAY_SOURCE
+    std::cerr << "AudioCallbackPlaySource::~AudioCallbackPlaySource finishing" << std::endl;
+#endif
 }
 
 void