summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/JackDriver.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/JackDriver.cpp b/src/JackDriver.cpp
index 875f8f1..0add9da 100644
--- a/src/JackDriver.cpp
+++ b/src/JackDriver.cpp
@@ -464,6 +464,9 @@ JackDriver::reset_xruns()
void
JackDriver::set_buffer_size(jack_nframes_t size)
{
+ if (buffer_size() == size)
+ return;
+
if (m_client && jack_set_buffer_size(m_client, size))
m_app->status_message("[JACK] ERROR: Unable to set buffer size");
}