mirror of
https://github.com/projectM-visualizer/projectm.git
synced 2026-02-15 03:25:40 +00:00
paranoid commit before going async
git-svn-id: https://projectm.svn.sourceforge.net/svnroot/projectm/trunk@702 6778bc44-b910-0410-a7a0-be141de4315d
This commit is contained in:
@ -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();
|
||||
|
||||
@ -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();
|
||||
|
||||
Reference in New Issue
Block a user