AudioPulseAudio: fixed improper shutdown + free allocated resources

There have been some problems with the threading logic in the
AudioPulseAudio backend resulting in an endless loop when quitting LMMS.

Furthermore allocated PulseAudio resources were not freed properly.
Thanks to Armin Kazmi <armin.kazmi@tu-dortmund.de> for pointing out
this issue.
This commit is contained in:
Tobias Doerffel
2009-11-20 22:28:47 +01:00
parent 58f53d9f5b
commit 168805745e
2 changed files with 27 additions and 22 deletions

View File

@@ -79,6 +79,7 @@ private:
virtual void applyQualitySettings();
virtual void run();
volatile bool m_quit;
bool m_convertEndian;