diff --git a/src/core/AudioFormatNegotiator.cpp b/src/core/AudioFormatNegotiator.cpp index a856e3b2..75afd8e2 100644 --- a/src/core/AudioFormatNegotiator.cpp +++ b/src/core/AudioFormatNegotiator.cpp @@ -43,7 +43,7 @@ QList primaryRateOrder(TargetOs os, Direction dir, int internalRate) case TargetOs::Linux: return {internalRate, 48000, 44100}; } } - return {internalRate}; + Q_UNREACHABLE(); // every TargetOs value is covered in both branches above } // Format attempt order per direction. Output is Float-first (RX/sidetone/Quindar