New upstream version 2.3.1+ds
authorIOhannes m zmölnig (Debian/GNU) <umlaeute@debian.org>
Mon, 19 Aug 2024 06:46:45 +0000 (08:46 +0200)
committerIOhannes m zmölnig (Debian/GNU) <umlaeute@debian.org>
Mon, 19 Aug 2024 06:46:45 +0000 (08:46 +0200)
13 files changed:
docs/changelog.yml
macos/meson_native_minversion_11.ini [new file with mode: 0644]
macos/meson_native_universal_11.ini [new file with mode: 0644]
releases/edge/mac-manifests.json
releases/edge/win-manifests.json
releases/stable/linux-manifests.json
releases/stable/mac-manifests.json
releases/stable/win-manifests.json
src/Regulator.cpp
src/UdpDataProtocol.cpp
src/gui/Login.qml
src/gui/Recommendations.qml
src/jacktrip_globals.h

index 43624317014584fd344072cdb4378d9dc2980864..4f4be6dd9946806f53a1e0053cfa5ea0aa0b24ac 100644 (file)
@@ -1,3 +1,11 @@
+- Version: "2.3.1"
+  Date: 2024-07-26
+  Description:
+  - (updated) VS Mode stronger recommendations for audio devices
+  - (updated) Reverting OSX builds from Qt 6.2.8 back to 6.2.6
+  - (fixed) Crash when JackTrip fails to connect using PLC
+  - (fixed) Screen sharing on OSX freezes when window is hidden
+  - (fixed) Sanity check for maximum UDP packet size
 - Version: "2.3.0"
   Date: 2024-05-15
   Description:
diff --git a/macos/meson_native_minversion_11.ini b/macos/meson_native_minversion_11.ini
new file mode 100644 (file)
index 0000000..6d85821
--- /dev/null
@@ -0,0 +1,10 @@
+[constants]
+minversion_args = ['-mmacosx-version-min=11']
+
+[built-in options]
+c_args = minversion_args
+cpp_args = minversion_args
+objcpp_args = minversion_args
+c_link_args = minversion_args
+cpp_link_args = minversion_args
+objcpp_link_args = minversion_args
diff --git a/macos/meson_native_universal_11.ini b/macos/meson_native_universal_11.ini
new file mode 100644 (file)
index 0000000..c91f052
--- /dev/null
@@ -0,0 +1,11 @@
+[constants]
+minversion_args = ['-mmacosx-version-min=11']
+universal_args = ['-arch', 'x86_64', '-arch', 'arm64']
+
+[built-in options]
+c_args = universal_args + minversion_args
+cpp_args = universal_args + minversion_args
+objcpp_args = universal_args + minversion_args
+c_link_args = universal_args + minversion_args
+cpp_link_args = universal_args + minversion_args
+objcpp_link_args = universal_args + minversion_args
index efc813718c62959081dd3324fb66703684753580..0a0061e0e38ff3475ef8975d8cd84fbcd5c10ea1 100644 (file)
@@ -1,6 +1,36 @@
 {
   "app_name": "JackTrip",
   "releases": [
+    {
+      "version": "2.3.0",
+      "changelog": "Full changelog at https://github.com/jacktrip/jacktrip/releases/tag/v2.3.0",
+      "download": {
+        "date": "2024-05-15T00:00:00Z",
+        "url": "https://files.jacktrip.org/app-builds/JackTrip-v2.3.0-macOS-x64-signed-installer.pkg",
+        "downloadSize": "197443395",
+        "sha256": "384d8e84d733fcb0a0a951503030d5ed4f55b1e2810a5f8dc3337c40d8376c7d"
+      }
+    },
+    {
+      "version": "2.3.0-beta2",
+      "changelog": "Full changelog at https://github.com/jacktrip/jacktrip/releases/tag/v2.3.0-beta2",
+      "download": {
+        "date": "2024-05-09T00:00:00Z",
+        "url": "https://files.jacktrip.org/app-builds/JackTrip-v2.3.0-beta2-macOS-x64-signed-installer.pkg",
+        "downloadSize": "197442162",
+        "sha256": "b31dd19fbb95462f500755d613927518d55e8c94338100954230462c09c989b3"
+      }
+    },
+    {
+      "version": "2.3.0-beta1",
+      "changelog": "Full changelog at https://github.com/jacktrip/jacktrip/releases/tag/v2.3.0-beta1",
+      "download": {
+        "date": "2024-05-04T00:00:00Z",
+        "url": "https://files.jacktrip.org/app-builds/JackTrip-v2.3.0-beta1-macOS-x64-signed-installer.pkg",
+        "downloadSize": "177351316",
+        "sha256": "fdd884383fe25cbae6296d3614906a080366c3c51fbdd16b9d756c40d65666fc"
+      }
+    },
     {
       "version": "2.2.5",
       "changelog": "Full changelog at https://github.com/jacktrip/jacktrip/releases/tag/v2.2.5",
index 9a71d2137d854be7638117fc63aeed7401bd1a7a..6ccfe39fecf8e0e3d9c19281a2d04f5433523f1c 100644 (file)
@@ -1,6 +1,36 @@
 {
   "app_name": "JackTrip",
   "releases": [
+    {
+      "version": "2.3.0",
+      "changelog": "Full changelog at https://github.com/jacktrip/jacktrip/releases/tag/v2.3.0",
+      "download": {
+        "date": "2024-05-15T00:00:00Z",
+        "url": "https://files.jacktrip.org/app-builds/JackTrip-v2.3.0-Windows-x64-signed-installer.msi",
+        "downloadSize": "116105216",
+        "sha256": "0ec59f472224cbe7fe33fc5818525a931509d7588af6aae613e738196c77e4b1"
+      }
+    },
+    {
+      "version": "2.3.0-beta2",
+      "changelog": "Full changelog at https://github.com/jacktrip/jacktrip/releases/tag/v2.3.0-beta2",
+      "download": {
+        "date": "2024-05-09T00:00:00Z",
+        "url": "https://files.jacktrip.org/app-builds/JackTrip-v2.3.0-beta2-Windows-x64-signed-installer.msi",
+        "downloadSize": "116101120",
+        "sha256": "2c6a3a16066b25a0f541c1c7fdc8a63c29e8437053301adf325d3ca6f42bf8cf"
+      }
+    },
+    {
+      "version": "2.3.0-beta1",
+      "changelog": "Full changelog at https://github.com/jacktrip/jacktrip/releases/tag/v2.3.0-beta1",
+      "download": {
+        "date": "2024-05-04T00:00:00Z",
+        "url": "https://files.jacktrip.org/app-builds/JackTrip-v2.3.0-beta1-Windows-x64-signed-installer.msi",
+        "downloadSize": "116215808",
+        "sha256": "c75903089415487e983a80de0d780979815fcaa2c66020af67a2ed0a1bc0e904"
+      }
+    },
     {
       "version": "2.2.5",
       "changelog": "Full changelog at https://github.com/jacktrip/jacktrip/releases/tag/v2.2.5",
index 514ed828948f212a8dc3cbe0bf2a19f0f4f8da3b..454b1b68832f5bb6f585e70c1967c6cb7f6465eb 100644 (file)
@@ -1,6 +1,16 @@
 {
   "app_name": "JackTrip",
   "releases": [
+    {
+      "version": "2.3.0",
+      "changelog": "Full changelog at https://github.com/jacktrip/jacktrip/releases/tag/v2.3.0",
+      "download": {
+        "date": "2024-05-15T00:00:00Z",
+        "url": "https://files.jacktrip.org/app-builds/JackTrip-v2.3.0-Linux-x64-binary.zip",
+        "downloadSize": "1193479",
+        "sha256": "cfe0982a82a01ce776f404af10095c37e35616ebe5b259a59d568f4c3330eec1"
+      }
+    },
     {
       "version": "2.2.5",
       "changelog": "Full changelog at https://github.com/jacktrip/jacktrip/releases/tag/v2.2.5",
index 7caef64889f666d06409aebd47d46fa49e3345f8..0121eec9c8a4e1fd4f949dc2fc970902761c1dcc 100644 (file)
@@ -1,6 +1,16 @@
 {
   "app_name": "JackTrip",
   "releases": [
+    {
+      "version": "2.3.0",
+      "changelog": "Full changelog at https://github.com/jacktrip/jacktrip/releases/tag/v2.3.0",
+      "download": {
+        "date": "2024-05-15T00:00:00Z",
+        "url": "https://files.jacktrip.org/app-builds/JackTrip-v2.3.0-macOS-x64-signed-installer.pkg",
+        "downloadSize": "197443395",
+        "sha256": "384d8e84d733fcb0a0a951503030d5ed4f55b1e2810a5f8dc3337c40d8376c7d"
+      }
+    },
     {
       "version": "2.2.5",
       "changelog": "Full changelog at https://github.com/jacktrip/jacktrip/releases/tag/v2.2.5",
index e8451bec472fdbce8b2d0823a5e6c85c59a708a0..879b29c15af80831a2baec958d34b03173c138d4 100644 (file)
@@ -1,6 +1,16 @@
 {
   "app_name": "JackTrip",
   "releases": [
+    {
+      "version": "2.3.0",
+      "changelog": "Full changelog at https://github.com/jacktrip/jacktrip/releases/tag/v2.3.0",
+      "download": {
+        "date": "2024-05-15T00:00:00Z",
+        "url": "https://files.jacktrip.org/app-builds/JackTrip-v2.3.0-Windows-x64-signed-installer.msi",
+        "downloadSize": "116105216",
+        "sha256": "0ec59f472224cbe7fe33fc5818525a931509d7588af6aae613e738196c77e4b1"
+      }
+    },
     {
       "version": "2.2.5",
       "changelog": "Full changelog at https://github.com/jacktrip/jacktrip/releases/tag/v2.2.5",
index a92a72479eaec0f6a9d74aed81130f56991a3565..d73bc9662933535f1163c5736543c1d419ed116e 100644 (file)
@@ -307,17 +307,20 @@ Regulator::Regulator(int rcvChannels, int bit_res, int localFPP, int qLen, int b
 
 Regulator::~Regulator()
 {
-    delete[] mXfrBuffer;
-    delete[] mBroadcastBuffer;
-    delete[] mSlotBuf;
-    delete pushStat;
-    delete pullStat;
-    for (int i = 0; i < mNumChannels; i++)
-        delete mChanData[i];
+    if (mInitialized) {
+        delete[] mXfrBuffer;
+        delete[] mBroadcastBuffer;
+        delete[] mSlotBuf;
+        delete[] mSlots;
+        delete pushStat;
+        delete pullStat;
+        delete mTime;
+        delete ba;
+        for (int i = 0; i < mNumChannels; i++)
+            delete mChanData[i];
+    }
     if (m_b_BroadcastRingBuffer)
         delete m_b_BroadcastRingBuffer;
-    delete mTime;
-    delete ba;
     if (mWorkerThreadPtr != nullptr) {
         mWorkerThreadPtr->quit();
         mWorkerThreadPtr->wait();
index 417ee82fe428e9e06d6f3fa7ceb68d2c9eb7ee16..7c9eb37c50dc11b9c703bcdb69a9ae17cdffc821 100644 (file)
@@ -497,6 +497,13 @@ void UdpDataProtocol::run()
     int full_redundant_packet_size = full_packet_size * mUdpRedundancyFactor;
     int8_t* full_redundant_packet  = NULL;
 
+    if (full_redundant_packet_size > 0x10000) {
+        throw std::runtime_error(
+            "Maximum UDP packet size exceeded! Either reduce your "
+            "Jack period size, the number of send channels or "
+            "the packet redundancy.");
+    }
+
     // Set realtime priority (function in jacktrip_globals.h)
     if (gVerboseFlag)
         std::cout << "    UdpDataProtocol:run" << mRunMode
index a11e1d52ea3b515f304479a9989df540722fcab7..d52400b3c908043037f946f49a7792a1c186e3c8 100644 (file)
@@ -101,7 +101,7 @@ Item {
 
         Text {
             id: deviceVerificationExplanation
-            text: `Please sign in and confirm the following code using your web browser. Return here when you are done.`
+            text: `To get started, please sign in and confirm the following code using your web browser. Return here when you are done.`
             font.family: "Poppins"
             font.pixelSize: 11 * virtualstudio.fontScale * virtualstudio.uiScale
             anchors.horizontalCenter: parent.horizontalCenter
@@ -239,7 +239,6 @@ Item {
             height: 48 * virtualstudio.uiScale
 
             property bool showBackButton: !virtualstudio.vsFtux
-            property bool showClassicModeButton: virtualstudio.vsFtux
 
             Item {
                 id: backButton
@@ -263,32 +262,10 @@ Item {
                 }
             }
 
-            Item {
-                id: classicModeButton
-                visible: parent.showClassicModeButton
-                anchors.verticalCenter: parent.verticalCenter
-                x: (parent.x + parent.width / 2) - classicModeButton.width - 8 * virtualstudio.uiScale
-                width: 160 * virtualstudio.uiScale; height: 32 * virtualstudio.uiScale
-                Text {
-                    text: "Use Classic Mode"
-                    font.underline: true
-                    font.family: "Poppins"
-                    font.pixelSize: 11 * virtualstudio.fontScale * virtualstudio.uiScale
-                    anchors.horizontalCenter: parent.horizontalCenter
-                    anchors.verticalCenter: parent.verticalCenter
-                    color: textColour
-                }
-                MouseArea {
-                    anchors.fill: parent
-                    onClicked: () => { virtualstudio.windowState = "login"; virtualstudio.toStandard(); }
-                    cursorShape: Qt.PointingHandCursor
-                }
-            }
-
             Item {
                 id: resetCodeButton
                 visible: true
-                x: (parent.showBackButton || parent.showClassicModeButton) ? (parent.x + parent.width / 2) + 8 * virtualstudio.uiScale : (parent.x + parent.width / 2) - resetCodeButton.width / 2
+                x: parent.showBackButton ? (parent.x + parent.width / 2) + 8 * virtualstudio.uiScale : (parent.x + parent.width / 2) - resetCodeButton.width / 2
                 anchors.verticalCenter: parent.verticalCenter
                 width: 144 * virtualstudio.uiScale; height: 32 * virtualstudio.uiScale
                 Text {
index 6d4e9495c912037d78a08d0528873f016adb264c..5e5fd57382e83b375eaf5c7eb46b5f731270c301 100644 (file)
@@ -347,7 +347,7 @@ Item {
         Text {
             id: audioInterfaceRecommendationHeaderNonWindows
             visible: !onWindows
-            text: "External Audio Device Recommended"
+            text: "Use Recommended Audio Devices"
             font { family: "Poppins"; weight: Font.Bold; pixelSize: fontMedium * virtualstudio.fontScale * virtualstudio.uiScale }
             color: textColour
             anchors.horizontalCenter: parent.horizontalCenter
@@ -358,10 +358,10 @@ Item {
         Text {
             id: audioInterfaceRecommendationSubheaderNonWindows
             visible: !onWindows
-            text: "Your audio device controls the quality of sound, and can also have a big impact on latency."
+            text: "Many audio devices are too slow to work well with JackTrip."
                 + "<br/><br/>"
-                + "It's OK to use the audio device that is built into your computer, but external USB and "
-                + "Thunderbolt audio interfaces will usually produce better quality and lower latency."
+                + "We recommend external USB or Thunderbolt interfaces released within the past "
+                + "few years for the best quality, low latency and glitch-free sound."
             font { family: "Poppins"; pixelSize: fontSmall * virtualstudio.fontScale * virtualstudio.uiScale }
             color: textColour
             width: 600
@@ -375,7 +375,7 @@ Item {
         Text {
             id: audioInterfaceRecommendationHeaderWindows
             visible: onWindows
-            text: "External Audio Device Recommended"
+            text: "Use Recommended Audio Devices"
             font { family: "Poppins"; weight: Font.Bold; pixelSize: fontMedium * virtualstudio.fontScale * virtualstudio.uiScale }
             color: textColour
             anchors.horizontalCenter: parent.horizontalCenter
@@ -386,12 +386,12 @@ Item {
         Text {
             id: audioInterfaceRecommendationSubheaderWindows
             visible: onWindows
-            text: "Your audio device controls the quality of sound, and can also have a big impact on latency."
-                + "<br/><br/>"
+            text: "Many audio devices are too slow to work well with JackTrip."
+                + "<br/>"
                 + "ASIO drivers are required for low latency on Windows. "
                 + "<br/><br/>"
-                + "It's OK to use the audio device that is built into your computer, but external USB and "
-                + "Thunderbolt devices will produce better quality and much lower latency."
+                + "We recommend external USB or Thunderbolt interfaces released within the past "
+                + "few years for the best quality, low latency and glitch-free sound."
             font { family: "Poppins"; pixelSize: fontSmall * virtualstudio.fontScale * virtualstudio.uiScale }
             color: textColour
             width: 600
index a7bc3e324761a5264ee8aa57680d620973a68792..0e587ded6b4ac7131a2bc3874c4442f8c06af769 100644 (file)
@@ -40,7 +40,7 @@
 
 #include "AudioInterface.h"
 
-constexpr const char* const gVersion = "2.3.0";  ///< JackTrip version
+constexpr const char* const gVersion = "2.3.1";  ///< JackTrip version
 
 //*******************************************************************************
 /// \name Default Values