From c9f6051380f4edf5f7ac336501ecb1f32946dc6e Mon Sep 17 00:00:00 2001 From: Anton Date: Wed, 19 Aug 2026 14:47:51 +0400 Subject: pica-client: UDP transport for calls --- pica-client/dialogs/settingsdialog.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'pica-client/dialogs/settingsdialog.cpp') 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() -- cgit v1.2.1