From 02121c34f2fe3e44104c56710862c97218cbc9fb Mon Sep 17 00:00:00 2001 From: gregory guy Date: Sat, 15 May 2021 20:55:46 +0200 Subject: [PATCH] Silence warning due to deprecated function call jack_client_new(). Signed-off-by: gregory guy Signed-off-by: Michele Calgaro (cherry picked from commit 5bfc01dac0e298f11a7d570ee79a5cd37d418878) --- akode/plugins/jack_sink/jack_sink.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/akode/plugins/jack_sink/jack_sink.cpp b/akode/plugins/jack_sink/jack_sink.cpp index 4824165..f1762d9 100644 --- a/akode/plugins/jack_sink/jack_sink.cpp +++ b/akode/plugins/jack_sink/jack_sink.cpp @@ -101,8 +101,9 @@ JACKSink::JACKSink() m_data = new private_data; } -bool JACKSink::open() { - m_data->client = jack_client_new("akode_client"); +bool JACKSink::open() +{ + m_data->client = jack_client_open("akode_client", JackNoStartServer, 0); if (!m_data->client) { m_data->error = true; return false;