Browse Source

Use JACK_DEFAULT_SERVER_NAME constant.

tags/v1.9.10
Stephane Letz 12 years ago
parent
commit
2d7d1ecdb6
2 changed files with 4 additions and 4 deletions
  1. +3
    -3
      common/JackShmMem.h
  2. +1
    -1
      common/Jackdmp.cpp

+ 3
- 3
common/JackShmMem.h View File

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


+ 1
- 1
common/Jackdmp.cpp View File

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


Loading…
Cancel
Save