jack/jack-1.9.7-trivial_build_fix.patch

13 lines
1.0 KiB
Diff
Raw Normal View History

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);