diff options
author | gregory guy <[email protected]> | 2021-05-15 20:55:46 +0200 |
---|---|---|
committer | gregory guy <[email protected]> | 2021-06-06 22:07:05 +0200 |
commit | 5bfc01dac0e298f11a7d570ee79a5cd37d418878 (patch) | |
tree | 2786bbbc0c19980cd33fa1a4051168ceb47df884 | |
parent | 736d70702fad045d48b3ad4e9f63c9c41b03a171 (diff) | |
download | akode-5bfc01dac0e298f11a7d570ee79a5cd37d418878.tar.gz akode-5bfc01dac0e298f11a7d570ee79a5cd37d418878.zip |
Silence warning due to deprecated function call jack_client_new().
Signed-off-by: gregory guy <[email protected]>
Signed-off-by: Michele Calgaro <[email protected]>
-rw-r--r-- | akode/plugins/jack_sink/jack_sink.cpp | 5 |
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; |