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>
(cherry picked from commit 5bfc01dac0)
v3.5.13-sru
gregory guy 4 years ago committed by Slávek Banko
parent 6bca4abed8
commit 02121c34f2
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -101,8 +101,9 @@ JACKSink::JACKSink()
m_data = new private_data; m_data = new private_data;
} }
bool JACKSink::open() { bool JACKSink::open()
m_data->client = jack_client_new("akode_client"); {
m_data->client = jack_client_open("akode_client", JackNoStartServer, 0);
if (!m_data->client) { if (!m_data->client) {
m_data->error = true; m_data->error = true;
return false; return false;

Loading…
Cancel
Save