jack/jack-1.9.7-trivial_build_fix.patch
Silvan Calarco 8063faef39 add wrapper script jackdbus2qjackctl to launch qjackctl via dbus if installed
built with new libopus requirement [release 1.9.9.5-2mamba;Thu Jul 25 2013]
2024-01-06 00:00:46 +01:00

13 lines
1.0 KiB
Diff

diff -Nru jack-1.9.7.orig//linux/freebob/JackFreebobDriver.cpp jack-1.9.7/linux/freebob/JackFreebobDriver.cpp
--- jack-1.9.7.orig//linux/freebob/JackFreebobDriver.cpp 2011-07-02 19:00:56.240767437 +0200
+++ jack-1.9.7/linux/freebob/JackFreebobDriver.cpp 2011-07-02 19:00:00.207375101 +0200
@@ -768,7 +768,7 @@
}
port = fGraphManager->GetPort(port_index);
// Add one buffer more latency if "async" mode is used...
- range.min = range.max = (driver->period_size * (driver->device_options.nb_buffers - 1)) + ((fEngineControl->fSyncMode) ? 0 : fEngineControl->fBufferSize) + driver->playback_frame_latency);
+ range.min = range.max = (driver->period_size * (driver->device_options.nb_buffers - 1)) + ((fEngineControl->fSyncMode) ? 0 : fEngineControl->fBufferSize) + driver->playback_frame_latency;
port->SetLatencyRange(JackPlaybackLatency, &range);
fPlaybackPortList[i] = port_index;
jack_log("JackFreebobDriver::Attach fPlaybackPortList[i] %ld ", port_index);