Skip to content

Commit

Permalink
Small audio fix
Browse files Browse the repository at this point in the history
  • Loading branch information
AlbrechtL committed Mar 11, 2017
1 parent d14468a commit 9711d39
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/output/CAudio.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,8 @@ void CAudio::handleStateChanged(QAudio::State newState)
case QAudio::IdleState:
qDebug() << "Audio:"
<< "IdleState";
// Necessary to avoid a IdleState, ActiveState, IdleState, ActiveState ... loop under Ubuntu. I don't know why.
AudioOutput->stop();
break;
default:
qDebug() << "Audio:"
Expand Down

0 comments on commit 9711d39

Please sign in to comment.