From aa512e91c4c4f34cc55e051b597d4bfadfe19acf Mon Sep 17 00:00:00 2001 From: sletz Date: Thu, 3 May 2007 19:58:18 +0000 Subject: [PATCH] Correct jack_port_by_id git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@1468 0c269be4-1314-0410-8aa9-9f06e86f4224 --- common/JackAPI.cpp | 4 ++-- macosx/Jackdmp.xcodeproj/project.pbxproj | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/common/JackAPI.cpp b/common/JackAPI.cpp index 4ea52ea5..10dd3b26 100644 --- a/common/JackAPI.cpp +++ b/common/JackAPI.cpp @@ -138,7 +138,7 @@ extern "C" const char *type_name_pattern, unsigned long flags); EXPORT jack_port_t * jack_port_by_name (jack_client_t *, const char *port_name); - EXPORT jack_port_t * jack_port_by_id (const jack_client_t *client, + EXPORT jack_port_t * jack_port_by_id (jack_client_t *client, jack_port_id_t port_id); EXPORT int jack_engine_takeover_timebase (jack_client_t *); EXPORT jack_nframes_t jack_frames_since_cycle_start (const jack_client_t *); @@ -1035,7 +1035,7 @@ EXPORT jack_port_t* jack_port_by_name(jack_client_t* ext_client, const char* por } } -EXPORT jack_port_t* jack_port_by_id(const jack_client_t* ext_client, jack_port_id_t id) +EXPORT jack_port_t* jack_port_by_id(jack_client_t* ext_client, jack_port_id_t id) { #ifdef __CLIENTDEBUG__ JackLibGlobals::CheckContext(); diff --git a/macosx/Jackdmp.xcodeproj/project.pbxproj b/macosx/Jackdmp.xcodeproj/project.pbxproj index 1d9613d0..2086f452 100644 --- a/macosx/Jackdmp.xcodeproj/project.pbxproj +++ b/macosx/Jackdmp.xcodeproj/project.pbxproj @@ -447,7 +447,7 @@ 4B56881008B5C8620022B32D /* JackFifo.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = JackFifo.h; path = ../common/JackFifo.h; sourceTree = SOURCE_ROOT; }; 4B60CE480AAABA31004956AA /* connect.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = connect.c; path = "../example-clients/connect.c"; sourceTree = SOURCE_ROOT; }; 4B66A8580934964500A89560 /* JackConstants.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = JackConstants.h; path = ../common/JackConstants.h; sourceTree = SOURCE_ROOT; }; - 4B699BB1097D421600A18468 /* jackdmp */ = {isa = PBXFileReference; includeInIndex = 0; lastKnownFileType = "compiled.mach-o.executable"; path = jackdmp; sourceTree = BUILT_PRODUCTS_DIR; }; + 4B699BB1097D421600A18468 /* jackdmp */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = jackdmp; sourceTree = BUILT_PRODUCTS_DIR; }; 4B699C47097D421600A18468 /* Jackmp.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Jackmp.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 4B699CAC097D421600A18468 /* Jackdmp.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Jackdmp.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 4B699CBB097D421600A18468 /* jack_metro */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = jack_metro; sourceTree = BUILT_PRODUCTS_DIR; };