Commit 2d7d1ecd authored by Stephane Letz's avatar Stephane Letz
Browse files

Use JACK_DEFAULT_SERVER_NAME constant.

parent a4e319b7
......@@ -152,7 +152,7 @@ class JackShmReadWritePtr
jack_shm_info_t fInfo;
void Init(int index, const char* server_name = "default")
void Init(int index, const char* server_name = JACK_DEFAULT_SERVER_NAME)
{
if (fInfo.index < 0 && index >= 0) {
jack_log("JackShmReadWritePtr::Init %ld %ld", index, fInfo.index);
......@@ -234,7 +234,7 @@ class JackShmReadWritePtr1
jack_shm_info_t fInfo;
void Init(int index, const char* server_name = "default")
void Init(int index, const char* server_name = JACK_DEFAULT_SERVER_NAME)
{
if (fInfo.index < 0 && index >= 0) {
jack_log("JackShmReadWritePtr1::Init %ld %ld", index, fInfo.index);
......@@ -322,7 +322,7 @@ class JackShmReadPtr
jack_shm_info_t fInfo;
void Init(int index, const char* server_name = "default")
void Init(int index, const char* server_name = JACK_DEFAULT_SERVER_NAME)
{
if (fInfo.index < 0 && index >= 0) {
jack_log("JackShmPtrRead::Init %ld %ld", index, fInfo.index);
......
......@@ -199,7 +199,7 @@ int main(int argc, char** argv)
{
jackctl_server_t * server_ctl;
const JSList * server_parameters;
const char* server_name = "default";
const char* server_name = JACK_DEFAULT_SERVER_NAME;
jackctl_driver_t * master_driver_ctl;
jackctl_driver_t * loopback_driver_ctl = NULL;
int replace_registry = 0;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment