From c4d853784b5243f4fb750601b952c6152c5f268e Mon Sep 17 00:00:00 2001 From: sletz Date: Wed, 21 Nov 2007 16:31:54 +0000 Subject: [PATCH] On OSX, use CFNotificationCenterPostNotificationWithOptions with kCFNotificationDeliverImmediately | kCFNotificationPostToAllSessions for server ==> JackRouter plugin notification. git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@1711 0c269be4-1314-0410-8aa9-9f06e86f4224 --- ChangeLog | 4 ++++ common/JackConstants.h | 2 +- common/Jackdmp.cpp | 20 ++++++++++---------- doxyfile | 2 +- macosx/Jack-Info.plist | 2 +- windows/resource.rc | 8 ++++---- 6 files changed, 21 insertions(+), 17 deletions(-) diff --git a/ChangeLog b/ChangeLog index 8be263ff..c041cf1c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -15,6 +15,10 @@ Kjetil S.Matheussen Jackdmp changes log --------------------------- +2007-11-21 Stephane Letz + + * On OSX, use CFNotificationCenterPostNotificationWithOptions with kCFNotificationDeliverImmediately | kCFNotificationPostToAllSessions for server ==> JackRouter plugin notification. + 2007-11-20 Stephane Letz * Correct CheckPort in JackAPI.cpp. diff --git a/common/JackConstants.h b/common/JackConstants.h index e5190107..d29ae872 100644 --- a/common/JackConstants.h +++ b/common/JackConstants.h @@ -25,7 +25,7 @@ namespace Jack { -#define VERSION "0.68" +#define VERSION "0.69" #define FORK_SERVER 1 diff --git a/common/Jackdmp.cpp b/common/Jackdmp.cpp index 20c3ce1d..8764b4e0 100644 --- a/common/Jackdmp.cpp +++ b/common/Jackdmp.cpp @@ -361,11 +361,11 @@ int main(int argc, char* argv[]) #ifdef __APPLE__ // Send notification to be used in the Jack Router - CFNotificationCenterPostNotification(CFNotificationCenterGetDistributedCenter(), - CFSTR("com.grame.jackserver.start"), - CFSTR("com.grame.jackserver"), - NULL, - true); + CFNotificationCenterPostNotificationWithOptions(CFNotificationCenterGetDistributedCenter(), + CFSTR("com.grame.jackserver.start"), + CFSTR("com.grame.jackserver"), + NULL, + kCFNotificationDeliverImmediately | kCFNotificationPostToAllSessions); #endif /* @@ -432,11 +432,11 @@ int main(int argc, char* argv[]) #ifdef __APPLE__ // Send notification to be used in the Jack Router - CFNotificationCenterPostNotification(CFNotificationCenterGetDistributedCenter(), - CFSTR("com.grame.jackserver.stop"), - CFSTR("com.grame.jackserver"), - NULL, - true); + CFNotificationCenterPostNotificationWithOptions(CFNotificationCenterGetDistributedCenter(), + CFSTR("com.grame.jackserver.stop"), + CFSTR("com.grame.jackserver"), + NULL, + kCFNotificationDeliverImmediately | kCFNotificationPostToAllSessions); #endif return 1; diff --git a/doxyfile b/doxyfile index c3c9e29d..58830d62 100644 --- a/doxyfile +++ b/doxyfile @@ -23,7 +23,7 @@ PROJECT_NAME = "Jackdmp" # This could be handy for archiving the generated documentation or # if some version control system is used. -PROJECT_NUMBER = 0.68 +PROJECT_NUMBER = 0.69 # The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) # base path where the generated documentation will be put. diff --git a/macosx/Jack-Info.plist b/macosx/Jack-Info.plist index f82ddc77..b33ef599 100644 --- a/macosx/Jack-Info.plist +++ b/macosx/Jack-Info.plist @@ -7,7 +7,7 @@ CFBundleExecutable Jackmp CFBundleGetInfoString - Jackdmp 0.68, @03-07 Paul Davis, Grame + Jackdmp 0.69, @03-07 Paul Davis, Grame CFBundleIdentifier com.grame.Jackmp CFBundleInfoDictionaryVersion diff --git a/windows/resource.rc b/windows/resource.rc index 2c0351fc..1df02cb7 100644 --- a/windows/resource.rc +++ b/windows/resource.rc @@ -28,8 +28,8 @@ LANGUAGE LANG_FRENCH, SUBLANG_FRENCH // VS_VERSION_INFO VERSIONINFO - FILEVERSION 0,6,8,0 - PRODUCTVERSION 0,6,8,0 + FILEVERSION 0,6,9,0 + PRODUCTVERSION 0,6,9,0 FILEFLAGSMASK 0x3fL #ifdef _DEBUG FILEFLAGS 0x1L @@ -47,14 +47,14 @@ BEGIN VALUE "Comments", "\0" VALUE "CompanyName", "Grame\0" VALUE "FileDescription", "Jackmp library for Windows\0" - VALUE "FileVersion", "0, 6, 8, 0\0" + VALUE "FileVersion", "0, 6, 9, 0\0" VALUE "InternalName", "libjackmp\0" VALUE "LegalCopyright", "Copyright Grame © 2006-2007\0" VALUE "LegalTrademarks", "\0" VALUE "OriginalFilename", "libjackmp.dll\0" VALUE "PrivateBuild", "\0" VALUE "ProductName", "libjackmp\0" - VALUE "ProductVersion", "0, 6, 8, 0\0" + VALUE "ProductVersion", "0, 6, 9, 0\0" VALUE "SpecialBuild", "\0" END END