summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgregory guy <gregory-tde@laposte.net>2021-05-15 20:55:46 +0200
committergregory guy <gregory-tde@laposte.net>2021-06-06 22:07:05 +0200
commit5bfc01dac0e298f11a7d570ee79a5cd37d418878 (patch)
tree2786bbbc0c19980cd33fa1a4051168ceb47df884
parent736d70702fad045d48b3ad4e9f63c9c41b03a171 (diff)
downloadakode-5bfc01dac0e298f11a7d570ee79a5cd37d418878.tar.gz
akode-5bfc01dac0e298f11a7d570ee79a5cd37d418878.zip
Silence warning due to deprecated function call jack_client_new().
Signed-off-by: gregory guy <gregory-tde@laposte.net> Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r--akode/plugins/jack_sink/jack_sink.cpp5
1 files 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;