summaryrefslogtreecommitdiffstats
path: root/pica-client/dialogs/settingsdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'pica-client/dialogs/settingsdialog.cpp')
-rw-r--r--pica-client/dialogs/settingsdialog.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/pica-client/dialogs/settingsdialog.cpp b/pica-client/dialogs/settingsdialog.cpp
index e074a48..9e3897b 100644
--- a/pica-client/dialogs/settingsdialog.cpp
+++ b/pica-client/dialogs/settingsdialog.cpp
@@ -511,8 +511,12 @@ void SettingsDialog::audioTestFeedPacket()
return;
}
- // Direct call, for the same reason as in the call controller.
- testSpeaker->enqueuePacket(audioTestPackets.at(audioTestPlaybackPos++));
+ // Direct call, for the same reason as in the call controller. Nothing
+ // here loses or reorders packets, so the sequence numbers are simply the
+ // order they were recorded in.
+ testSpeaker->enqueuePacket((quint16)audioTestPlaybackPos,
+ audioTestPackets.at(audioTestPlaybackPos));
+ audioTestPlaybackPos++;
}
void SettingsDialog::audioTestPlaybackFinished()