diff --git a/src/qprojectM-pulseaudio/QPulseAudioThread.cpp b/src/qprojectM-pulseaudio/QPulseAudioThread.cpp index 17e7069c3..6cd353274 100644 --- a/src/qprojectM-pulseaudio/QPulseAudioThread.cpp +++ b/src/qprojectM-pulseaudio/QPulseAudioThread.cpp @@ -15,7 +15,6 @@ void PulseAudioThread::cleanup() { pa_simple_free ( s ); s = 0; - //qDebug() << "pulse audio quit"; return ; } @@ -66,7 +65,7 @@ void PulseAudioThread::run() init(); connect(m_timer, SIGNAL(timeout()), this, SLOT(updatePCM())); - + m_timer->start(0); exec(); diff --git a/src/qprojectM-pulseaudio/qprojectM-pulseaudio.cpp b/src/qprojectM-pulseaudio/qprojectM-pulseaudio.cpp index eab0f8ff9..c0697fce6 100644 --- a/src/qprojectM-pulseaudio/qprojectM-pulseaudio.cpp +++ b/src/qprojectM-pulseaudio/qprojectM-pulseaudio.cpp @@ -100,6 +100,7 @@ int main ( int argc, char*argv[] ) PulseAudioThread * pulseThread = new PulseAudioThread(argc, argv, mainWindow->getQProjectM(), mainWindow); pulseThread->start(); + //qDebug() << "app exec"; int ret = app.exec(); pulseThread->exit();