1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

Merge pull request #5696

jenli669 (1):
      fix(audio): correctly loop incoming call sound
This commit is contained in:
sudden6 2019-06-14 22:07:05 +02:00
commit 655ea4faf3
No known key found for this signature in database
GPG Key ID: 279509B499E032B9

View File

@ -949,11 +949,11 @@ void Widget::playNotificationSound(IAudioSink::Sound sound, bool loop)
connect(audioNotification.get(), &IAudioSink::finishedPlaying, this,
&Widget::cleanupNotificationSound);
audioNotification->playMono16Sound(sound);
if (loop) {
audioNotification->startLoop();
}
audioNotification->playMono16Sound(sound);
}
void Widget::cleanupNotificationSound()