Browse Source

Merge pull request #5696

jenli669 (1):
      fix(audio): correctly loop incoming call sound
reviewable/pr5699/r1
sudden6 6 years ago
parent
commit
655ea4faf3
No known key found for this signature in database
GPG Key ID: 279509B499E032B9
  1. 4
      src/widget/widget.cpp

4
src/widget/widget.cpp

@ -949,11 +949,11 @@ void Widget::playNotificationSound(IAudioSink::Sound sound, bool loop) @@ -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()

Loading…
Cancel
Save