From d75c0de09c9b89aaf4c899eee81bebda1a61aa82 Mon Sep 17 00:00:00 2001 From: sletz Date: Sat, 5 May 2007 22:16:52 +0000 Subject: [PATCH] Correct init code git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@1473 0c269be4-1314-0410-8aa9-9f06e86f4224 --- common/JackClient.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/common/JackClient.cpp b/common/JackClient.cpp index 42942645..6212441e 100644 --- a/common/JackClient.cpp +++ b/common/JackClient.cpp @@ -48,6 +48,7 @@ JackClient::JackClient(JackSynchro** table) fShutdown = NULL; fInit = NULL; fBufferSize = NULL; + fClientRegistration = NULL; fFreewheel = NULL; fPortRegistration = NULL; fSync = NULL; @@ -58,6 +59,7 @@ JackClient::JackClient(JackSynchro** table) fInitArg = NULL; fBufferSizeArg = NULL; fFreewheelArg = NULL; + fClientRegistrationArg = NULL; fPortRegistrationArg = NULL; fSyncArg = NULL; fConditionnal = 0; // Temporary?? @@ -150,13 +152,13 @@ int JackClient::ClientNotify(int refnum, const char* name, int notify, int sync, switch (notify) { case JackNotifyChannelInterface::kAddClient: - printf("ClientNotify fName = %s name = %s\n", GetClientControl()->fName, name); + JackLog("JackClient::kAddClient fName = %s name = %s\n", GetClientControl()->fName, name); if (fClientRegistration && strcmp(GetClientControl()->fName, name) != 0) // Don't call the callback for the registering client itself fClientRegistration(name, 1, fClientRegistrationArg); break; case JackNotifyChannelInterface::kRemoveClient: - printf("ClientNotify fName = %s name = %s\n", GetClientControl()->fName, name); + JackLog("JackClient::kRemoveClient fName = %s name = %s\n", GetClientControl()->fName, name); if (fClientRegistration && strcmp(GetClientControl()->fName, name) != 0) // Don't call the callback for the registering client itself fClientRegistration(name, 0, fClientRegistrationArg); break;