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>
pull/5/head
gregory guy 4 years ago
parent 736d70702f
commit 5bfc01dac0
No known key found for this signature in database
GPG Key ID: 2CC84A1CC6823AF8

@ -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