Mercurial > hg > svapp
comparison audioio/AudioJACKTarget.cpp @ 57:eb596ef12041
* Factor out uses of "Sonic Visualiser" in "common" code to applicationName()
* Add ability to show work title + artist in top-left of pane (thinking of Vect
but may be useful in SV in future)
* A few other generalisations useful for Vect
author | Chris Cannam |
---|---|
date | Fri, 09 Nov 2007 17:46:58 +0000 |
parents | 75ad3f8f65aa |
children | 34fef5e68a76 716e9d2f91c7 89a689720ee9 |
comparison
equal
deleted
inserted
replaced
56:75ad3f8f65aa | 57:eb596ef12041 |
---|---|
217 #ifdef HAVE_PORTAUDIO | 217 #ifdef HAVE_PORTAUDIO |
218 options = JackNoStartServer; | 218 options = JackNoStartServer; |
219 #endif | 219 #endif |
220 | 220 |
221 JackStatus status = JackStatus(0); | 221 JackStatus status = JackStatus(0); |
222 m_client = jack_client_open("Sonic Visualiser", options, &status); | 222 m_client = jack_client_open(source->getClientName().toLocal8Bit().data(), |
223 | 223 options, &status); |
224 | |
224 if (!m_client) { | 225 if (!m_client) { |
225 std::cerr << "AudioJACKTarget: Failed to connect to JACK server: status code " | 226 std::cerr << "AudioJACKTarget: Failed to connect to JACK server: status code " |
226 << status << std::endl; | 227 << status << std::endl; |
227 return; | 228 return; |
228 } | 229 } |