| @@ -239,7 +239,7 @@ extern "C" | |||
| LIB_EXPORT int jack_client_stop_thread(jack_client_t* client, jack_native_thread_t thread); | |||
| LIB_EXPORT int jack_client_kill_thread(jack_client_t* client, jack_native_thread_t thread); | |||
| #ifndef WIN32 | |||
| #ifndef _WIN32 | |||
| LIB_EXPORT void jack_set_thread_creator(jack_thread_creator_t jtc); | |||
| #endif | |||
| LIB_EXPORT char * jack_get_internal_client_name(jack_client_t *client, | |||
| @@ -267,15 +267,6 @@ extern "C" | |||
| LIB_EXPORT void jack_session_commands_free(jack_session_command_t *cmds); | |||
| LIB_EXPORT int jack_client_has_session_callback(jack_client_t *client, const char* client_name); | |||
| LIB_EXPORT jack_uuid_t jack_client_uuid_generate(); | |||
| LIB_EXPORT jack_uuid_t jack_port_uuid_generate(uint32_t port_id); | |||
| LIB_EXPORT uint32_t jack_uuid_to_index(jack_uuid_t); | |||
| LIB_EXPORT int jack_uuid_compare(jack_uuid_t, jack_uuid_t); | |||
| LIB_EXPORT void jack_uuid_copy(jack_uuid_t* dst, jack_uuid_t src); | |||
| LIB_EXPORT void jack_uuid_clear(jack_uuid_t*); | |||
| LIB_EXPORT int jack_uuid_parse(const char* buf, jack_uuid_t*); | |||
| LIB_EXPORT void jack_uuid_unparse(jack_uuid_t, char buf[JACK_UUID_STRING_SIZE]); | |||
| LIB_EXPORT int jack_uuid_empty(jack_uuid_t); | |||
| #ifdef __cplusplus | |||
| } | |||
| @@ -1768,7 +1759,7 @@ LIB_EXPORT int jack_client_kill_thread(jack_client_t* client, jack_native_thread | |||
| return JackThread::KillImp(thread); | |||
| } | |||
| #ifndef WIN32 | |||
| #ifndef _WIN32 | |||
| LIB_EXPORT void jack_set_thread_creator (jack_thread_creator_t jtc) | |||
| { | |||
| if (jtc == NULL) { | |||
| @@ -2073,7 +2064,7 @@ LIB_EXPORT int jack_client_has_session_callback(jack_client_t* ext_client, const | |||
| } | |||
| } | |||
| LIB_EXPORT jack_uuid_t jack_client_uuid_generate() | |||
| jack_uuid_t jack_client_uuid_generate() | |||
| { | |||
| static uint32_t uuid_cnt = 0; | |||
| jack_uuid_t uuid = 0x2; /* JackUUIDClient */; | |||
| @@ -2081,19 +2072,19 @@ LIB_EXPORT jack_uuid_t jack_client_uuid_generate() | |||
| return uuid; | |||
| } | |||
| LIB_EXPORT jack_uuid_t jack_port_uuid_generate(uint32_t port_id) | |||
| jack_uuid_t jack_port_uuid_generate(uint32_t port_id) | |||
| { | |||
| jack_uuid_t uuid = 0x1; /* JackUUIDPort */ | |||
| uuid = (uuid << 32) | (port_id + 1); | |||
| return uuid; | |||
| } | |||
| LIB_EXPORT uint32_t jack_uuid_to_index(jack_uuid_t u) | |||
| uint32_t jack_uuid_to_index(jack_uuid_t u) | |||
| { | |||
| return (u & 0xffff) - 1; | |||
| } | |||
| LIB_EXPORT int jack_uuid_compare(jack_uuid_t a, jack_uuid_t b) | |||
| int jack_uuid_compare(jack_uuid_t a, jack_uuid_t b) | |||
| { | |||
| if (a == b) { | |||
| return 0; | |||
| @@ -2106,17 +2097,17 @@ LIB_EXPORT int jack_uuid_compare(jack_uuid_t a, jack_uuid_t b) | |||
| return 1; | |||
| } | |||
| LIB_EXPORT void jack_uuid_copy(jack_uuid_t* dst, jack_uuid_t src) | |||
| void jack_uuid_copy(jack_uuid_t* dst, jack_uuid_t src) | |||
| { | |||
| *dst = src; | |||
| } | |||
| LIB_EXPORT void jack_uuid_clear(jack_uuid_t* u) | |||
| void jack_uuid_clear(jack_uuid_t* u) | |||
| { | |||
| *u = JACK_UUID_EMPTY_INITIALIZER; | |||
| } | |||
| LIB_EXPORT int jack_uuid_parse(const char* b, jack_uuid_t* u) | |||
| int jack_uuid_parse(const char* b, jack_uuid_t* u) | |||
| { | |||
| if (sscanf (b, "%" PRIu64, u) == 1) { | |||
| @@ -2131,12 +2122,12 @@ LIB_EXPORT int jack_uuid_parse(const char* b, jack_uuid_t* u) | |||
| return -1; | |||
| } | |||
| LIB_EXPORT void jack_uuid_unparse(jack_uuid_t u, char b[JACK_UUID_STRING_SIZE]) | |||
| void jack_uuid_unparse(jack_uuid_t u, char b[JACK_UUID_STRING_SIZE]) | |||
| { | |||
| snprintf (b, JACK_UUID_STRING_SIZE, "%" PRIu64, u); | |||
| } | |||
| LIB_EXPORT int jack_uuid_empty(jack_uuid_t u) | |||
| int jack_uuid_empty(jack_uuid_t u) | |||
| { | |||
| return u == JACK_UUID_EMPTY_INITIALIZER; | |||
| } | |||
| @@ -16,7 +16,7 @@ along with this program; if not, write to the Free Software | |||
| Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | |||
| */ | |||
| #include "systemdeps.h" | |||
| #include "JackAtomic.h" | |||
| #include "JackActivationCount.h" | |||
| #include "JackConstants.h" | |||
| @@ -21,7 +21,10 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | |||
| #define __JackAtomic__ | |||
| #include "JackTypes.h" | |||
| #ifndef _MSC_VER | |||
| #include "JackAtomic_os.h" | |||
| #define COMPARE_EXCHANGE(ADDRESS, NEW, EXPECTED) CAS(EXPECTED, NEW, ADDRESS) | |||
| static inline long INC_ATOMIC(volatile SInt32* val) | |||
| { | |||
| @@ -41,6 +44,20 @@ static inline long DEC_ATOMIC(volatile SInt32* val) | |||
| return actual; | |||
| } | |||
| #endif | |||
| #else | |||
| #include "atomic_msvc.h" | |||
| using namespace atomic::msvc; | |||
| static inline long INC_ATOMIC(volatile SInt32* val) { | |||
| return interlocked<volatile SInt32, 4>::increment(val); | |||
| } | |||
| static inline long DEC_ATOMIC(volatile SInt32* val) { | |||
| return interlocked<volatile SInt32, 4>::decrement(val); | |||
| } | |||
| #endif // _MSC_VER | |||
| #endif | |||
| @@ -21,6 +21,9 @@ | |||
| #define __JackAtomicArrayState__ | |||
| #include "JackAtomic.h" | |||
| #ifdef _MSC_VER | |||
| #include "JackAtomic_os.h" | |||
| #endif | |||
| #include "JackCompilerDeps.h" | |||
| #include <string.h> // for memcpy | |||
| @@ -138,7 +141,7 @@ class JackAtomicArrayState | |||
| next_index = SwapIndex1(fCounter, state); | |||
| need_copy = (GetIndex1(new_val, state) == 0); // Written = false, switch just occured | |||
| SetIndex1(new_val, state, 0); // Written = false, invalidate state | |||
| } while (!CAS(Counter1(old_val), Counter1(new_val), (UInt32*)&fCounter)); | |||
| } while (!COMPARE_EXCHANGE((UInt32*)&fCounter, Counter1(new_val), Counter1(old_val))); | |||
| if (need_copy) | |||
| memcpy(&fState[next_index], &fState[cur_index], sizeof(T)); | |||
| return next_index; | |||
| @@ -152,7 +155,7 @@ class JackAtomicArrayState | |||
| old_val = fCounter; | |||
| new_val = old_val; | |||
| SetIndex1(new_val, state, 1); // Written = true, state becomes "switchable" | |||
| } while (!CAS(Counter1(old_val), Counter1(new_val), (UInt32*)&fCounter)); | |||
| } while (!COMPARE_EXCHANGE((UInt32*)&fCounter, Counter1(new_val), Counter1(old_val))); | |||
| } | |||
| public: | |||
| @@ -199,7 +202,7 @@ class JackAtomicArrayState | |||
| SetIndex1(new_val, state, 0); // Invalidate the state "state" | |||
| IncIndex1(new_val, 3); // Inc switch | |||
| } | |||
| } while (!CAS(Counter1(old_val), Counter1(new_val), (UInt32*)&fCounter)); | |||
| } while (!COMPARE_EXCHANGE((UInt32*)&fCounter, Counter1(new_val), Counter1(old_val))); | |||
| return &fState[GetIndex1(fCounter, 0)]; // Read the counter again | |||
| } | |||
| @@ -219,7 +222,7 @@ class JackAtomicArrayState | |||
| SetIndex1(new_val, state, 0); // Invalidate the state "state" | |||
| IncIndex1(new_val, 3); // Inc switch | |||
| } | |||
| } while (!CAS(Counter1(old_val), Counter1(new_val), (UInt32*)&fCounter)); | |||
| } while (!COMPARE_EXCHANGE((UInt32*)&fCounter, Counter1(new_val), Counter1(old_val))); | |||
| return &fState[GetIndex1(fCounter, 0)]; // Read the counter again | |||
| } | |||
| @@ -21,9 +21,13 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | |||
| #define __JackAtomicState__ | |||
| #include "JackAtomic.h" | |||
| #ifdef _MSC_VER | |||
| #include "JackAtomic_os.h" | |||
| #endif | |||
| #include "JackCompilerDeps.h" | |||
| #include <string.h> // for memcpy | |||
| namespace Jack | |||
| { | |||
| @@ -110,7 +114,7 @@ class JackAtomicState | |||
| next_index = NextArrayIndex(new_val); | |||
| need_copy = (CurIndex(new_val) == NextIndex(new_val)); | |||
| NextIndex(new_val) = CurIndex(new_val); // Invalidate next index | |||
| } while (!CAS(Counter(old_val), Counter(new_val), (UInt32*)&fCounter)); | |||
| } while (!COMPARE_EXCHANGE((UInt32*)&fCounter, Counter(new_val), Counter(old_val))); | |||
| if (need_copy) | |||
| memcpy(&fState[next_index], &fState[cur_index], sizeof(T)); | |||
| return next_index; | |||
| @@ -124,7 +128,7 @@ class JackAtomicState | |||
| old_val = fCounter; | |||
| new_val = old_val; | |||
| NextIndex(new_val)++; // Set next index | |||
| } while (!CAS(Counter(old_val), Counter(new_val), (UInt32*)&fCounter)); | |||
| } while (!COMPARE_EXCHANGE((UInt32*)&fCounter, Counter(new_val), Counter(old_val))); | |||
| } | |||
| public: | |||
| @@ -165,7 +169,7 @@ class JackAtomicState | |||
| old_val = fCounter; | |||
| new_val = old_val; | |||
| CurIndex(new_val) = NextIndex(new_val); // Prepare switch | |||
| } while (!CAS(Counter(old_val), Counter(new_val), (UInt32*)&fCounter)); | |||
| } while (!COMPARE_EXCHANGE((UInt32*)&fCounter, Counter(new_val), Counter(old_val))); | |||
| return &fState[CurArrayIndex(fCounter)]; // Read the counter again | |||
| } | |||
| @@ -181,7 +185,7 @@ class JackAtomicState | |||
| new_val = old_val; | |||
| *result = (CurIndex(new_val) != NextIndex(new_val)); | |||
| CurIndex(new_val) = NextIndex(new_val); // Prepare switch | |||
| } while (!CAS(Counter(old_val), Counter(new_val), (UInt32*)&fCounter)); | |||
| } while (!COMPARE_EXCHANGE((UInt32*)&fCounter, Counter(new_val), Counter(old_val))); | |||
| return &fState[CurArrayIndex(fCounter)]; // Read the counter again | |||
| } | |||
| @@ -40,7 +40,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |||
| #define JackPlatformAdapter JackOSSAdapter | |||
| #endif | |||
| #ifdef WIN32 | |||
| #ifdef _WIN32 | |||
| #include "JackPortAudioAdapter.h" | |||
| #define JackPlatformAdapter JackPortAudioAdapter | |||
| #endif | |||
| @@ -20,7 +20,7 @@ | |||
| */ | |||
| #ifndef WIN32 | |||
| #ifndef _WIN32 | |||
| #include <stdint.h> | |||
| #include <dirent.h> | |||
| #include <pthread.h> | |||
| @@ -534,7 +534,7 @@ jackctl_server_free_parameters( | |||
| } | |||
| } | |||
| #ifdef WIN32 | |||
| #ifdef _WIN32 | |||
| struct jackctl_sigmask | |||
| { | |||
| @@ -116,7 +116,7 @@ int JackDebugClient::Close() | |||
| void JackDebugClient::CheckClient(const char* function_name) const | |||
| { | |||
| #ifdef WIN32 | |||
| #ifdef _WIN32 | |||
| *fStream << "CheckClient : " << function_name << ", calling thread : " << GetCurrentThread() << endl; | |||
| #else | |||
| *fStream << "CheckClient : " << function_name << ", calling thread : " << pthread_self() << endl; | |||
| @@ -28,11 +28,16 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |||
| #include <errno.h> | |||
| #include <string.h> | |||
| #ifndef WIN32 | |||
| #ifndef _WIN32 | |||
| #include <dirent.h> | |||
| #endif | |||
| #ifdef WIN32 | |||
| #ifdef _MSC_VER | |||
| #define strncasecmp _strnicmp | |||
| #define strcasecmp _stricmp | |||
| #endif | |||
| #ifdef _WIN32 | |||
| static char* locate_dll_driver_dir() | |||
| { | |||
| @@ -48,7 +53,7 @@ static char* locate_dll_driver_dir() | |||
| *p = 0; | |||
| } | |||
| jack_info("Drivers/internals found in : %s", driver_dir_storage); | |||
| strcat(driver_dir_storage, "/"); | |||
| strcat(driver_dir_storage, "\\"); | |||
| strcat(driver_dir_storage, ADDON_DIR); | |||
| return strdup(driver_dir_storage); | |||
| } else { | |||
| @@ -186,7 +191,8 @@ int jack_parse_driver_params(jack_driver_desc_t* desc, int argc, char* argv[], J | |||
| /* create the params */ | |||
| optind = 0; | |||
| opterr = 0; | |||
| while ((opt = getopt_long(argc, argv, options, long_options, NULL)) != -1) { | |||
| while ((opt = getopt_long(argc, argv, options, long_options, NULL)) != -1) { | |||
| if (opt == ':' || opt == '?') { | |||
| if (opt == ':') { | |||
| @@ -318,8 +324,9 @@ SERVER_EXPORT int jackctl_driver_params_parse(jackctl_driver *driver_ptr, int ar | |||
| /* create the params */ | |||
| optind = 0; | |||
| opterr = 0; | |||
| while ((opt = getopt_long(argc, argv, options, long_options, NULL)) != -1) { | |||
| opterr = 0; | |||
| while ((opt = getopt_long(argc, argv, options, long_options, NULL)) != -1) { | |||
| if (opt == ':' || opt == '?') { | |||
| if (opt == ':') { | |||
| @@ -417,10 +424,15 @@ static void* check_symbol(const char* sofile, const char* symbol, const char* dr | |||
| void* dlhandle; | |||
| void* res = NULL; | |||
| char filename[1024]; | |||
| #ifdef _WIN32 | |||
| sprintf(filename, "%s\\%s", driver_dir, sofile); | |||
| #else | |||
| sprintf(filename, "%s/%s", driver_dir, sofile); | |||
| #endif | |||
| if ((dlhandle = LoadDriverModule(filename)) == NULL) { | |||
| #ifdef WIN32 | |||
| #ifdef _WIN32 | |||
| jack_error ("Could not open component .dll '%s': %ld", filename, GetLastError()); | |||
| #else | |||
| jack_error ("Could not open component .so '%s': %s", filename, dlerror()); | |||
| @@ -479,7 +491,7 @@ error: | |||
| return descriptor; | |||
| } | |||
| #ifdef WIN32 | |||
| #ifdef _WIN32 | |||
| JSList * jack_drivers_load(JSList * drivers) | |||
| { | |||
| @@ -608,7 +620,7 @@ JSList* jack_drivers_load (JSList * drivers) | |||
| #endif | |||
| #ifdef WIN32 | |||
| #ifdef _WIN32 | |||
| JSList* jack_internals_load(JSList * internals) | |||
| { | |||
| @@ -734,7 +746,7 @@ Jack::JackDriverClientInterface* JackDriverInfo::Open(jack_driver_desc_t* driver | |||
| Jack::JackSynchro* synchro, | |||
| const JSList* params) | |||
| { | |||
| #ifdef WIN32 | |||
| #ifdef _WIN32 | |||
| int errstr; | |||
| #else | |||
| const char* errstr; | |||
| @@ -743,7 +755,7 @@ Jack::JackDriverClientInterface* JackDriverInfo::Open(jack_driver_desc_t* driver | |||
| fHandle = LoadDriverModule (driver_desc->file); | |||
| if (fHandle == NULL) { | |||
| #ifdef WIN32 | |||
| #ifdef _WIN32 | |||
| if ((errstr = GetLastError ()) != 0) { | |||
| jack_error ("Can't load \"%s\": %ld", driver_desc->file, errstr); | |||
| #else | |||
| @@ -759,7 +771,7 @@ Jack::JackDriverClientInterface* JackDriverInfo::Open(jack_driver_desc_t* driver | |||
| fInitialize = (driverInitialize)GetDriverProc(fHandle, "driver_initialize"); | |||
| #ifdef WIN32 | |||
| #ifdef _WIN32 | |||
| if ((fInitialize == NULL) && (errstr = GetLastError ()) != 0) { | |||
| #else | |||
| if ((fInitialize == NULL) && (errstr = dlerror ()) != 0) { | |||
| @@ -31,6 +31,7 @@ JSList* jack_internals_load(JSList* internals); | |||
| void jack_free_driver_params(JSList * param_ptr); | |||
| void jack_print_driver_options(jack_driver_desc_t* desc, FILE* file); | |||
| // External control.h API | |||
| extern "C" SERVER_EXPORT int jackctl_driver_params_parse(jackctl_driver * driver, int argc, char* argv[]); | |||
| @@ -23,7 +23,11 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |||
| #include "JackThreadedDriver.h" | |||
| #include "JackCompilerDeps.h" | |||
| #include <iostream> | |||
| #ifdef _WIN32 | |||
| #include "JackWinThread.h" | |||
| #else | |||
| #include <unistd.h> | |||
| #endif | |||
| #include <math.h> | |||
| @@ -43,7 +43,7 @@ JackEngine::JackEngine(JackGraphManager* manager, | |||
| char self_connect_mode) | |||
| : JackLockAble(control->fServerName), | |||
| fSignal(control->fServerName), | |||
| fMetadata(NULL) // FIXME use control->fServerName? | |||
| fMetadata(NULL) // FIXME use control->fServerName? | |||
| { | |||
| fGraphManager = manager; | |||
| fSynchroTable = table; | |||
| @@ -774,6 +774,7 @@ int JackEngine::ClientCloseAux(int refnum, bool wait) | |||
| NotifyRemoveClient(client->GetClientControl()->fName, refnum); | |||
| fMetadata.RemoveProperties(NULL, uuid); | |||
| /* have to do the notification ourselves, since the client argument | |||
| to fMetadata->RemoveProperties() was NULL | |||
| */ | |||
| @@ -23,6 +23,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |||
| #include "JackConstants.h" | |||
| #include "JackGraphManager.h" | |||
| #include "JackSynchro.h" | |||
| #include "JackMetadata.h" | |||
| #include "JackMutex.h" | |||
| #include "JackTransportEngine.h" | |||
| #include "JackPlatformPlug.h" | |||
| @@ -55,7 +56,6 @@ class SERVER_EXPORT JackEngine : public JackLockAble | |||
| JackServerNotifyChannel fChannel; /*! To communicate between the RT thread and server */ | |||
| JackProcessSync fSignal; | |||
| jack_time_t fLastSwitchUsecs; | |||
| JackMetadata fMetadata; | |||
| int fSessionPendingReplies; | |||
| detail::JackChannelTransactionInterface* fSessionTransaction; | |||
| @@ -163,10 +163,12 @@ class SERVER_EXPORT JackEngine : public JackLockAble | |||
| int GetClientNameForUUID(const char *uuid, char *name_res); | |||
| int ReserveClientName(const char *name, const char *uuid); | |||
| int ClientHasSessionCallback(const char *name); | |||
| // fMetadata needs to be public for JackNetManager.cpp to refernce to it | |||
| JackMetadata fMetadata; | |||
| }; | |||
| } // end of namespace | |||
| #endif | |||
| @@ -105,7 +105,7 @@ struct SERVER_EXPORT JackEngineControl : public JackShmMem | |||
| fSavedRealTime = false; | |||
| fServerPriority = priority; | |||
| #ifdef WIN32 | |||
| #ifdef _WIN32 | |||
| fClientPriority = (rt) ? priority - 3 : 0; | |||
| #else | |||
| fClientPriority = (rt) ? priority - 5 : 0; | |||
| @@ -26,9 +26,9 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | |||
| namespace Jack | |||
| { | |||
| #if defined(WIN32) && !defined(__MINGW32__) | |||
| #ifdef _MSC_VER | |||
| /* missing on Windows : see http://bugs.mysql.com/bug.php?id=15936 */ | |||
| inline double rint(double nr) | |||
| static double rint(double nr) | |||
| { | |||
| double f = floor(nr); | |||
| double c = ceil(nr); | |||
| @@ -118,7 +118,7 @@ void JackFrameTimer::IncFrameTime(jack_nframes_t buffer_size, jack_time_t callba | |||
| InitFrameTimeAux(callback_usecs, period_usecs); | |||
| fFirstWakeUp = false; | |||
| } | |||
| IncFrameTimeAux(buffer_size, callback_usecs, period_usecs); | |||
| } | |||
| @@ -157,35 +157,35 @@ void JackFrameTimer::InitFrameTimeAux(jack_time_t callback_usecs, jack_time_t pe | |||
| /* There seems to be no significant difference between | |||
| the two conditions OR-ed above. Incrementing the | |||
| frame_time after an xrun shouldn't harm, as there | |||
| frame_time after an xrun shouldn't harm, as there | |||
| will be a discontinuity anyway. So the two are | |||
| combined in this version. | |||
| FA 16/03/2012 | |||
| FA 16/03/2012 | |||
| */ | |||
| /* Since the DLL *will* be run, next_wakeup should be the | |||
| current wakeup time *without* adding the period time, as | |||
| if it were computed in the previous period. | |||
| FA 16/03/2012 | |||
| FA 16/03/2012 | |||
| */ | |||
| /* Added initialisation of timer->period_usecs, required | |||
| due to the modified implementation of the DLL itself. | |||
| due to the modified implementation of the DLL itself. | |||
| OTOH, this should maybe not be repeated after e.g. | |||
| freewheeling or an xrun, as the current value would be | |||
| more accurate than the nominal one. But it doesn't really | |||
| harm either. Implementing this would require a new flag | |||
| in the engine structure, to be used after freewheeling | |||
| in the engine structure, to be used after freewheeling | |||
| or an xrun instead of first_wakeup. I don't know if this | |||
| can be done without breaking compatibility, so I did not | |||
| add this | |||
| FA 13/02/2012 | |||
| */ | |||
| /* Added initialisation of timer->filter_omega. This makes | |||
| /* Added initialisation of timer->filter_omega. This makes | |||
| the DLL bandwidth independent of the actual period time. | |||
| The bandwidth is now 1/8 Hz in all cases. The value of | |||
| timer->filter_omega is 2 * pi * BW * Tperiod. | |||
| FA 13/02/2012 | |||
| */ | |||
| JackTimer* timer = WriteNextStateStart(); | |||
| timer->fPeriodUsecs = (float)period_usecs; | |||
| timer->fCurrentCallback = callback_usecs; | |||
| @@ -198,11 +198,11 @@ void JackFrameTimer::InitFrameTimeAux(jack_time_t callback_usecs, jack_time_t pe | |||
| void JackFrameTimer::IncFrameTimeAux(jack_nframes_t buffer_size, jack_time_t callback_usecs, jack_time_t period_usecs) | |||
| { | |||
| JackTimer* timer = WriteNextStateStart(); | |||
| /* Modified implementation (the actual result is the same). | |||
| 'fSecondOrderIntegrator' is renamed to 'fPeriodUsecs' | |||
| and now represents the DLL's best estimate of the | |||
| and now represents the DLL's best estimate of the | |||
| period time in microseconds (before it was a scaled | |||
| version of the difference w.r.t. the nominal value). | |||
| This allows this value to be made available to clients | |||
| @@ -220,19 +220,18 @@ void JackFrameTimer::IncFrameTimeAux(jack_nframes_t buffer_size, jack_time_t cal | |||
| FA 13/02/2012 | |||
| */ | |||
| float delta = (float)((int64_t)callback_usecs - (int64_t)timer->fNextWakeUp); | |||
| delta *= timer->fFilterOmega; | |||
| timer->fCurrentWakeup = timer->fNextWakeUp; | |||
| timer->fCurrentCallback = callback_usecs; | |||
| timer->fFrames += buffer_size; | |||
| timer->fPeriodUsecs += timer->fFilterOmega * delta; | |||
| timer->fPeriodUsecs += timer->fFilterOmega * delta; | |||
| timer->fNextWakeUp += (int64_t)floorf(timer->fPeriodUsecs + 1.41f * delta + 0.5f); | |||
| timer->fInitialized = true; | |||
| WriteNextStateStop(); | |||
| TrySwitchState(); // always succeed since there is only one writer | |||
| } | |||
| } // end of namespace | |||
| @@ -38,7 +38,7 @@ JackMutex* JackGlobals::fSynchroMutex = new JackMutex(); | |||
| volatile bool JackGlobals::fServerRunning = false; | |||
| JackClient* JackGlobals::fClientTable[CLIENT_NUM] = {}; | |||
| #ifndef WIN32 | |||
| #ifndef _WIN32 | |||
| jack_thread_creator_t JackGlobals::fJackThreadCreator = pthread_create; | |||
| #endif | |||
| @@ -45,7 +45,7 @@ struct JackGlobals { | |||
| static volatile bool fServerRunning; | |||
| static JackClient* fClientTable[CLIENT_NUM]; | |||
| static bool fVerbose; | |||
| #ifndef WIN32 | |||
| #ifndef _WIN32 | |||
| static jack_thread_creator_t fJackThreadCreator; | |||
| #endif | |||
| @@ -24,7 +24,11 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | |||
| #include <assert.h> | |||
| #include <stdlib.h> | |||
| #include <algorithm> | |||
| #ifdef _WIN32 | |||
| #include <regex> | |||
| #else | |||
| #include <regex.h> | |||
| #endif | |||
| namespace Jack | |||
| { | |||
| @@ -811,6 +815,7 @@ void JackGraphManager::GetPortsAux(const char** matching_ports, const char* port | |||
| memset(matching_ports, 0, sizeof(char*) * fPortMax); | |||
| int match_cnt = 0; | |||
| #ifndef _WIN32 | |||
| regex_t port_regex, type_regex; | |||
| if (port_name_pattern && port_name_pattern[0]) { | |||
| @@ -825,6 +830,16 @@ void JackGraphManager::GetPortsAux(const char** matching_ports, const char* port | |||
| return; | |||
| } | |||
| } | |||
| #define PORT_REGEX_MATCHES regexec(&port_regex, port->GetName(), 0, NULL, 0) | |||
| #define TYPE_REGEX_MATCHES regexec(&type_regex, port->GetType(), 0, NULL, 0) | |||
| #else | |||
| std::regex port_regex(&port_name_pattern[0]); | |||
| std::regex type_regex(&type_name_pattern[0]); | |||
| std::cmatch port_regex_match; | |||
| std::cmatch type_regex_match; | |||
| #define PORT_REGEX_MATCHES regex_match(port->GetName(), port_regex_match, port_regex) | |||
| #define TYPE_REGEX_MATCHES regex_match(port->GetType(), type_regex_match, type_regex) | |||
| #endif | |||
| for (unsigned int i = 0; i < fPortMax; i++) { | |||
| bool matching = true; | |||
| @@ -839,12 +854,12 @@ void JackGraphManager::GetPortsAux(const char** matching_ports, const char* port | |||
| } | |||
| if (matching && port_name_pattern && port_name_pattern[0]) { | |||
| if (regexec(&port_regex, port->GetName(), 0, NULL, 0)) { | |||
| if (PORT_REGEX_MATCHES) { | |||
| matching = false; | |||
| } | |||
| } | |||
| if (matching && type_name_pattern && type_name_pattern[0]) { | |||
| if (regexec(&type_regex, port->GetType(), 0, NULL, 0)) { | |||
| if (TYPE_REGEX_MATCHES) { | |||
| matching = false; | |||
| } | |||
| } | |||
| @@ -856,13 +871,14 @@ void JackGraphManager::GetPortsAux(const char** matching_ports, const char* port | |||
| } | |||
| matching_ports[match_cnt] = 0; | |||
| #ifndef _WIN32 | |||
| if (port_name_pattern && port_name_pattern[0]) { | |||
| regfree(&port_regex); | |||
| } | |||
| if (type_name_pattern && type_name_pattern[0]) { | |||
| regfree(&type_regex); | |||
| } | |||
| #endif | |||
| } | |||
| // Client | |||
| @@ -910,5 +926,3 @@ void JackGraphManager::Restore(JackConnectionManager* src) | |||
| } | |||
| } // end of namespace | |||
| @@ -23,6 +23,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | |||
| #include "JackClient.h" | |||
| #include "JackShmMem.h" | |||
| #include "JackClientControl.h" | |||
| #include "JackCompilerDeps.h" | |||
| #include "JackEngineControl.h" | |||
| namespace Jack | |||
| @@ -32,7 +33,7 @@ namespace Jack | |||
| \brief Client on the library side. | |||
| */ | |||
| class JackLibClient : public JackClient | |||
| class LIB_EXPORT JackLibClient : public JackClient | |||
| { | |||
| private: | |||
| @@ -32,7 +32,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | |||
| #include <assert.h> | |||
| #include <signal.h> | |||
| #ifdef WIN32 | |||
| #ifdef _WIN32 | |||
| #ifdef __MINGW32__ | |||
| #include <sys/types.h> | |||
| typedef _sigset_t sigset_t; | |||
| @@ -73,7 +73,7 @@ struct JackLibGlobals | |||
| fMetadata = new JackMetadata(NULL); | |||
| // Filter SIGPIPE to avoid having client get a SIGPIPE when trying to access a died server. | |||
| #ifdef WIN32 | |||
| #ifdef _WIN32 | |||
| // TODO | |||
| #else | |||
| sigset_t signals; | |||
| @@ -94,7 +94,7 @@ struct JackLibGlobals | |||
| delete fMetadata; | |||
| // Restore old signal mask | |||
| #ifdef WIN32 | |||
| #ifdef _WIN32 | |||
| // TODO | |||
| #else | |||
| sigprocmask(SIG_BLOCK, &fProcessSignals, 0); | |||
| @@ -169,7 +169,7 @@ int JackMessageBuffer::SetInitCallback(JackThreadInitCallback callback, void *ar | |||
| fInitArg = arg; | |||
| fInit = callback; | |||
| #ifndef WIN32 | |||
| #ifndef _WIN32 | |||
| // wake msg buffer thread | |||
| fGuard.Signal(); | |||
| // wait for it to be done | |||
| @@ -45,7 +45,7 @@ JackMidiBufferReadQueue::DequeueEvent() | |||
| } | |||
| void | |||
| JackMidiBufferReadQueue::ResetMidiBuffer(JackMidiBuffer *buffer) | |||
| Jack::JackMidiBufferReadQueue::ResetMidiBuffer(JackMidiBuffer *buffer) | |||
| { | |||
| event_count = 0; | |||
| index = 0; | |||
| @@ -21,6 +21,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | |||
| #define __JackMidiBufferReadQueue__ | |||
| #include "JackMidiReadQueue.h" | |||
| #include "JackMidiPort.h" | |||
| namespace Jack { | |||
| @@ -47,7 +47,7 @@ JackMidiBufferWriteQueue::EnqueueEvent(jack_nframes_t time, size_t size, | |||
| } | |||
| void | |||
| JackMidiBufferWriteQueue::ResetMidiBuffer(JackMidiBuffer *buffer, | |||
| Jack::JackMidiBufferWriteQueue::ResetMidiBuffer(JackMidiBuffer *buffer, | |||
| jack_nframes_t frames) | |||
| { | |||
| if (! buffer) { | |||
| @@ -100,7 +100,7 @@ static void MidiBufferMixdown(void* mixbuffer, void** src_buffers, int src_count | |||
| } | |||
| mix->Reset(nframes); | |||
| uint32_t mix_index[src_count]; | |||
| uint32_t* mix_index = new uint32_t[src_count]; | |||
| int event_count = 0; | |||
| for (int i = 0; i < src_count; ++i) { | |||
| JackMidiBuffer* buf = static_cast<JackMidiBuffer*>(src_buffers[i]); | |||
| @@ -22,6 +22,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | |||
| #include "JackError.h" | |||
| #include "JackMidiRawOutputWriteQueue.h" | |||
| #include "JackMidiSendQueue.h" | |||
| #include "JackMidiUtil.h" | |||
| using Jack::JackMidiRawOutputWriteQueue; | |||
| @@ -29,7 +30,7 @@ using Jack::JackMidiRawOutputWriteQueue; | |||
| #define STILL_TIME(c, b) ((! (b)) || ((c) < (b))) | |||
| JackMidiRawOutputWriteQueue:: | |||
| JackMidiRawOutputWriteQueue(JackMidiSendQueue *send_queue, size_t non_rt_size, | |||
| JackMidiRawOutputWriteQueue(Jack::JackMidiSendQueue *send_queue, size_t non_rt_size, | |||
| size_t max_non_rt_messages, size_t max_rt_messages) | |||
| { | |||
| non_rt_queue = new JackMidiAsyncQueue(non_rt_size, max_non_rt_messages); | |||
| @@ -21,6 +21,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | |||
| #define __JackMidiRawOutputWriteQueue__ | |||
| #include "JackMidiAsyncQueue.h" | |||
| #include "JackMidiPort.h" | |||
| #include "JackMidiSendQueue.h" | |||
| namespace Jack { | |||
| @@ -173,18 +173,18 @@ namespace Jack | |||
| public: | |||
| JackNetMasterInterface() | |||
| : JackNetInterface(), | |||
| fRunning(false), | |||
| fCurrentCycleOffset(0), | |||
| fMaxCycleOffset(0), | |||
| JackNetMasterInterface() | |||
| : JackNetInterface(), | |||
| fRunning(false), | |||
| fCurrentCycleOffset(0), | |||
| fMaxCycleOffset(0), | |||
| fSynched(false) | |||
| {} | |||
| JackNetMasterInterface(session_params_t& params, JackNetSocket& socket, const char* multicast_ip) | |||
| : JackNetInterface(params, socket, multicast_ip), | |||
| fRunning(false), | |||
| fCurrentCycleOffset(0), | |||
| fMaxCycleOffset(0), | |||
| : JackNetInterface(params, socket, multicast_ip), | |||
| fRunning(false), | |||
| fCurrentCycleOffset(0), | |||
| fMaxCycleOffset(0), | |||
| fSynched(false) | |||
| {} | |||
| @@ -201,8 +201,6 @@ namespace Jack | |||
| protected: | |||
| static uint fSlaveCounter; | |||
| bool Init(); | |||
| bool InitConnection(int time_out_sec); | |||
| bool InitRendering(); | |||
| @@ -230,6 +228,8 @@ namespace Jack | |||
| void InitAPI(); | |||
| static uint fSlaveCounter; | |||
| public: | |||
| JackNetSlaveInterface() : JackNetInterface() | |||
| @@ -241,14 +241,16 @@ namespace Jack | |||
| { | |||
| InitAPI(); | |||
| } | |||
| #ifndef _MSC_VER | |||
| // FIXME: window static reference to fSlaveCounter not working while linking | |||
| virtual ~JackNetSlaveInterface() | |||
| { | |||
| // close Socket API with the last slave | |||
| if (--fSlaveCounter == 0) { | |||
| if ( --fSlaveCounter == 0) { | |||
| SocketAPIEnd(); | |||
| } | |||
| } | |||
| #endif | |||
| }; | |||
| } | |||
| @@ -21,8 +21,12 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |||
| #include "JackServerGlobals.h" | |||
| #include "JackLockedEngine.h" | |||
| #include "thread.h" | |||
| #ifdef _WIN32 | |||
| #include "JackMetadata.h" | |||
| #include "JackWinNamedPipe.h" | |||
| #include "JackNetInterface.h" | |||
| #endif | |||
| using namespace std; | |||
| namespace Jack | |||
| { | |||
| @@ -20,7 +20,9 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |||
| #ifndef __JACKNETMANAGER_H__ | |||
| #define __JACKNETMANAGER_H__ | |||
| #include "JackCompilerDeps.h" | |||
| #include "JackNetInterface.h" | |||
| #include "JackServer.h" | |||
| #include "jack.h" | |||
| #include <list> | |||
| #include <map> | |||
| @@ -35,7 +37,7 @@ namespace Jack | |||
| typedef std::list<std::pair<std::string, std::string> > connections_list_t; | |||
| class JackNetMaster : public JackNetMasterInterface | |||
| class SERVER_EXPORT JackNetMaster : public JackNetMasterInterface | |||
| { | |||
| friend class JackNetMasterManager; | |||
| @@ -75,7 +77,6 @@ namespace Jack | |||
| void EncodeTransportData(); | |||
| void DecodeTransportData(); | |||
| int Process(); | |||
| void TimebaseCallback(jack_position_t* pos); | |||
| void ConnectPorts(); | |||
| void ConnectCallback(jack_port_id_t a, jack_port_id_t b, int connect); | |||
| @@ -89,6 +90,8 @@ namespace Jack | |||
| ~JackNetMaster(); | |||
| bool IsSlaveReadyToRoll(); | |||
| int Process(); | |||
| }; | |||
| typedef std::list<JackNetMaster*> master_list_t; | |||
| @@ -58,7 +58,7 @@ JackNetOneDriver::JackNetOneDriver(const char* name, const char* alias, JackLock | |||
| { | |||
| jack_log("JackNetOneDriver::JackNetOneDriver port %d", port); | |||
| #ifdef WIN32 | |||
| #ifdef _WIN32 | |||
| WSADATA wsa; | |||
| WSAStartup(MAKEWORD(2, 0), &wsa); | |||
| #endif | |||
| @@ -1346,7 +1346,7 @@ namespace Jack | |||
| SERVER_EXPORT int SocketAPIInit() | |||
| { | |||
| #ifdef WIN32 | |||
| #ifdef _WIN32 | |||
| WORD wVersionRequested = MAKEWORD(2, 2); | |||
| WSADATA wsaData; | |||
| @@ -1366,7 +1366,7 @@ namespace Jack | |||
| SERVER_EXPORT int SocketAPIEnd() | |||
| { | |||
| #ifdef WIN32 | |||
| #ifdef _WIN32 | |||
| return WSACleanup(); | |||
| #endif | |||
| return 0; | |||
| @@ -21,7 +21,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |||
| #include "JackTools.h" | |||
| #include "types.h" | |||
| #include "transport.h" | |||
| #ifndef WIN32 | |||
| #ifndef _WIN32 | |||
| #include <netinet/in.h> | |||
| #endif | |||
| #include <cmath> | |||
| @@ -21,13 +21,17 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |||
| #include "JackEngineControl.h" | |||
| #include "JackLockedEngine.h" | |||
| #include "JackArgParser.h" | |||
| #ifdef _WIN32 | |||
| #include "JackWinNamedPipe.h" | |||
| #include "JackWinNamedPipeServerChannel.h" | |||
| #endif | |||
| #include <assert.h> | |||
| #include <string> | |||
| namespace Jack | |||
| { | |||
| JackProfilerClient::JackProfilerClient(jack_client_t* client, const char* name) | |||
| SERVER_EXPORT JackProfilerClient::JackProfilerClient(jack_client_t* client, const char* name) | |||
| :fClient(client) | |||
| { | |||
| char port_name[JACK_CLIENT_NAME_SIZE + JACK_PORT_NAME_SIZE]; | |||
| @@ -40,7 +44,7 @@ namespace Jack | |||
| fDurationPort = jack_port_register(client, port_name, JACK_DEFAULT_AUDIO_TYPE, JackPortIsOutput, 0); | |||
| } | |||
| JackProfilerClient::~JackProfilerClient() | |||
| SERVER_EXPORT JackProfilerClient::~JackProfilerClient() | |||
| { | |||
| jack_port_unregister(fClient, fSchedulingPort); | |||
| jack_port_unregister(fClient, fDurationPort); | |||
| @@ -202,7 +206,7 @@ extern "C" | |||
| using namespace Jack; | |||
| static Jack::JackProfiler* profiler = NULL; | |||
| static JackProfiler* profiler = NULL; | |||
| SERVER_EXPORT jack_driver_desc_t* jack_get_descriptor() | |||
| { | |||
| @@ -229,7 +233,7 @@ extern "C" | |||
| jack_log("Loading profiler"); | |||
| try { | |||
| profiler = new Jack::JackProfiler(jack_client, params); | |||
| profiler = new JackProfiler(jack_client, params); | |||
| assert(profiler); | |||
| return 0; | |||
| } catch (...) { | |||
| @@ -244,7 +248,7 @@ extern "C" | |||
| int res = 1; | |||
| jack_driver_desc_t* desc = jack_get_descriptor(); | |||
| Jack::JackArgParser parser ( load_init ); | |||
| JackArgParser parser ( load_init ); | |||
| if ( parser.GetArgc() > 0 ) | |||
| parse_params = parser.ParseParams ( desc, ¶ms ); | |||
| @@ -257,7 +261,7 @@ extern "C" | |||
| SERVER_EXPORT void jack_finish(void* arg) | |||
| { | |||
| Jack::JackProfiler* profiler = static_cast<Jack::JackProfiler*>(arg); | |||
| JackProfiler* profiler = static_cast<JackProfiler*>(arg); | |||
| if (profiler) { | |||
| jack_log("Unloading profiler"); | |||
| @@ -22,7 +22,9 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |||
| #include "JackConstants.h" | |||
| #include "JackPlatformPlug.h" | |||
| #include "JackCompilerDeps.h" | |||
| #include "jack.h" | |||
| #include "JackServer.h" | |||
| #include "jslist.h" | |||
| #include <map> | |||
| #include <string> | |||
| @@ -34,7 +36,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |||
| namespace Jack | |||
| { | |||
| struct JackProfilerClient { | |||
| struct SERVER_EXPORT JackProfilerClient { | |||
| int fRefNum; | |||
| jack_client_t* fClient; | |||
| @@ -543,7 +543,7 @@ namespace Jack | |||
| const char* default_client_name = getenv("JACK_PROXY_CLIENT_NAME"); | |||
| strcpy(client_name, (default_client_name) ? default_client_name : DEFAULT_CLIENT_NAME); | |||
| #ifdef WIN32 | |||
| #ifdef _WIN32 | |||
| const char* username = getenv("USERNAME"); | |||
| #else | |||
| const char* username = getenv("LOGNAME"); | |||
| @@ -314,7 +314,7 @@ bool JackServerGlobals::Init() | |||
| goto error; | |||
| } | |||
| #ifndef WIN32 | |||
| #ifndef _WIN32 | |||
| if (server_name == NULL) { | |||
| server_name = (char*)JackTools::DefaultServerName(); | |||
| } | |||
| @@ -416,5 +416,3 @@ void JackServerGlobals::Destroy() | |||
| } | |||
| } // end of namespace | |||
| @@ -29,7 +29,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |||
| namespace Jack | |||
| { | |||
| class JackClient; | |||
| class SERVER_EXPORT JackClient; | |||
| /*! | |||
| \brief Global server static structure: singleton kind of pattern. | |||
| @@ -23,7 +23,9 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |||
| #include "JackTime.h" | |||
| #include "JackCompilerDeps.h" | |||
| #include <iostream> | |||
| #ifndef _MSC_VER | |||
| #include <unistd.h> | |||
| #endif | |||
| #include <math.h> | |||
| namespace Jack | |||
| @@ -26,7 +26,8 @@ | |||
| #include <assert.h> | |||
| #include <signal.h> | |||
| #ifdef WIN32 | |||
| #ifdef _WIN32 | |||
| #include <JackPlatformPlug_os.h> | |||
| #include <process.h> | |||
| #endif | |||
| @@ -37,7 +38,7 @@ namespace Jack { | |||
| void JackTools::KillServer() | |||
| { | |||
| #ifdef WIN32 | |||
| #ifdef _WIN32 | |||
| raise(SIGINT); | |||
| #else | |||
| kill(GetPID(), SIGINT); | |||
| @@ -46,7 +47,7 @@ namespace Jack { | |||
| int JackTools::MkDir(const char* path) | |||
| { | |||
| #ifdef WIN32 | |||
| #ifdef _WIN32 | |||
| return CreateDirectory(path, NULL) == 0; | |||
| #else | |||
| return mkdir(path, 0777) != 0; | |||
| @@ -58,7 +59,7 @@ namespace Jack { | |||
| int JackTools::GetPID() | |||
| { | |||
| #ifdef WIN32 | |||
| #ifdef _WIN32 | |||
| return _getpid(); | |||
| #else | |||
| return getpid(); | |||
| @@ -67,7 +68,7 @@ namespace Jack { | |||
| int JackTools::GetUID() | |||
| { | |||
| #ifdef WIN32 | |||
| #ifdef _WIN32 | |||
| return _getpid(); | |||
| //#error "No getuid function available" | |||
| #else | |||
| @@ -85,7 +86,7 @@ namespace Jack { | |||
| } | |||
| /* returns the name of the per-user subdirectory of jack_tmpdir */ | |||
| #ifdef WIN32 | |||
| #ifdef _WIN32 | |||
| char* JackTools::UserDir() | |||
| { | |||
| @@ -235,7 +236,7 @@ namespace Jack { | |||
| new_name[i] = '\0'; | |||
| } | |||
| #ifdef WIN32 | |||
| #ifdef _WIN32 | |||
| void BuildClientPath(char* path_to_so, int path_len, const char* so_name) | |||
| { | |||
| @@ -20,7 +20,7 @@ | |||
| #ifndef __JackTools__ | |||
| #define __JackTools__ | |||
| #ifdef WIN32 | |||
| #ifdef _WIN32 | |||
| #include <windows.h> | |||
| #define DIR_SEPARATOR '\\' | |||
| #else | |||
| @@ -24,7 +24,7 @@ | |||
| #include <jack/thread.h> | |||
| #include <jack/midiport.h> | |||
| #include <math.h> | |||
| #ifndef WIN32 | |||
| #ifndef _WIN32 | |||
| #include <dlfcn.h> | |||
| #endif | |||
| #include <stdlib.h> | |||
| @@ -39,12 +39,12 @@ typedef void *(*thread_routine)(void*); | |||
| static int libjack_is_present = 0; // public symbol, similar to what relaytool does. | |||
| #ifdef WIN32 | |||
| #ifdef _WIN32 | |||
| static HMODULE libjack_handle = 0; | |||
| #else | |||
| static void *libjack_handle = 0; | |||
| #endif | |||
| #ifndef WIN32 | |||
| #ifndef _WIN32 | |||
| static void __attribute__((constructor)) tryload_libjack() | |||
| #else | |||
| void tryload_libjack() | |||
| @@ -60,7 +60,7 @@ void tryload_libjack() | |||
| if (!libjack_handle) { | |||
| fprintf(stderr, "dlopen error : %s \n", dlerror()); | |||
| } | |||
| #elif defined(WIN32) | |||
| #elifdef _WIN32 | |||
| #ifdef _WIN64 | |||
| libjack_handle = LoadLibrary("libjack64.dll"); | |||
| #else | |||
| @@ -80,13 +80,13 @@ void *load_jack_function(const char *fn_name) | |||
| fprintf (stderr, "libjack not found, so do not try to load %s ffs !\n", fn_name); | |||
| return 0; | |||
| } | |||
| #ifdef WIN32 | |||
| #ifdef _WIN32 | |||
| fn = (void*)GetProcAddress(libjack_handle, fn_name); | |||
| #else | |||
| fn = dlsym(libjack_handle, fn_name); | |||
| #endif | |||
| if (!fn) { | |||
| #ifdef WIN32 | |||
| #ifdef _WIN32 | |||
| char* lpMsgBuf; | |||
| FormatMessage(FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_IGNORE_INSERTS,NULL,GetLastError(),MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT),(LPTSTR) &lpMsgBuf,0,NULL ); | |||
| fprintf(stderr, "could not GetProcAddress( %s ), %s \n", fn_name, lpMsgBuf); | |||
| @@ -280,7 +280,7 @@ DECL_FUNCTION(int, jack_drop_real_time_scheduling, (jack_native_thread_t thread) | |||
| DECL_FUNCTION(int, jack_client_stop_thread, (jack_client_t* client, jack_native_thread_t thread), (client, thread)); | |||
| DECL_FUNCTION(int, jack_client_kill_thread, (jack_client_t* client, jack_native_thread_t thread), (client, thread)); | |||
| #ifndef WIN32 | |||
| #ifndef _WIN32 | |||
| DECL_VOID_FUNCTION(jack_set_thread_creator, (jack_thread_creator_t jtc), (jtc)); | |||
| #endif | |||
| DECL_FUNCTION(char *, jack_get_internal_client_name, (jack_client_t *client, jack_intclient_t intclient), (client, intclient)); | |||
| @@ -48,6 +48,10 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |||
| #include <systemd/sd-daemon.h> | |||
| #endif | |||
| #ifdef _WIN32 | |||
| #include "getopt.h" | |||
| #endif | |||
| /* | |||
| This is a simple port of the old jackdmp.cpp file to use the new jack2 control API. Available options for the server | |||
| are "hard-coded" in the source. A much better approach would be to use the control API to: | |||
| @@ -337,9 +337,9 @@ int jack_set_thread_init_callback (jack_client_t *client, | |||
| * passed to this function will not be called, and the one passed to | |||
| * jack_on_info_shutdown() will. | |||
| * | |||
| * NOTE: application should typically signal another thread to correctly | |||
| * finish cleanup, that is by calling "jack_client_close" | |||
| * (since "jack_client_close" cannot be called directly in the context | |||
| * NOTE: application should typically signal another thread to correctly | |||
| * finish cleanup, that is by calling "jack_client_close" | |||
| * (since "jack_client_close" cannot be called directly in the context | |||
| * of the thread that calls the shutdown callback). | |||
| */ | |||
| void jack_on_shutdown (jack_client_t *client, | |||
| @@ -367,9 +367,9 @@ void jack_on_shutdown (jack_client_t *client, | |||
| * in case of a client thread shutdown, the callback passed to | |||
| * jack_on_info_shutdown() will be called. | |||
| * | |||
| * NOTE: application should typically signal another thread to correctly | |||
| * finish cleanup, that is by calling "jack_client_close" | |||
| * (since "jack_client_close" cannot be called directly in the context | |||
| * NOTE: application should typically signal another thread to correctly | |||
| * finish cleanup, that is by calling "jack_client_close" | |||
| * (since "jack_client_close" cannot be called directly in the context | |||
| * of the thread that calls the shutdown callback). | |||
| */ | |||
| void jack_on_info_shutdown (jack_client_t *client, | |||
| @@ -1360,14 +1360,14 @@ jack_nframes_t jack_last_frame_time (const jack_client_t *client) JACK_OPTIONAL_ | |||
| * microseconds. | |||
| * | |||
| * NOTES: | |||
| * | |||
| * | |||
| * Because of the types used, all the returned values except period_usecs | |||
| * are unsigned. In computations mapping between frames and microseconds | |||
| * *signed* differences are required. The easiest way is to compute those | |||
| * separately and assign them to the appropriate signed variables, | |||
| * int32_t for frames and int64_t for usecs. See the implementation of | |||
| * jack_frames_to_time() and Jack_time_to_frames() for an example. | |||
| * | |||
| * | |||
| * Unless there was an xrun, skipped cycles, or the current cycle is the | |||
| * first after freewheeling or starting Jack, the value of current_usecs | |||
| * will always be the value of next_usecs of the previous cycle. | |||
| @@ -1386,7 +1386,7 @@ int jack_get_cycle_times(const jack_client_t *client, | |||
| jack_time_t *current_usecs, | |||
| jack_time_t *next_usecs, | |||
| float *period_usecs) JACK_OPTIONAL_WEAK_EXPORT; | |||
| /** | |||
| * @return the estimated time in microseconds of the specified frame time | |||
| */ | |||
| @@ -1420,8 +1420,9 @@ jack_time_t jack_get_time(void) JACK_OPTIONAL_WEAK_EXPORT; | |||
| * | |||
| * @param msg error message text (no newline at end). | |||
| */ | |||
| #ifndef _MSC_VER | |||
| extern void (*jack_error_callback)(const char *msg) JACK_OPTIONAL_WEAK_EXPORT; | |||
| #endif | |||
| /** | |||
| * Set the @ref jack_error_callback for error message display. | |||
| * Set it to NULL to restore default_jack_error_callback function. | |||
| @@ -1439,7 +1440,9 @@ void jack_set_error_function (void (*func)(const char *)) JACK_OPTIONAL_WEAK_EXP | |||
| * | |||
| * @param msg info message text (no newline at end). | |||
| */ | |||
| #ifndef _MSC_VER | |||
| extern void (*jack_info_callback)(const char *msg) JACK_OPTIONAL_WEAK_EXPORT; | |||
| #endif | |||
| /** | |||
| * Set the @ref jack_info_callback for info message display. | |||
| @@ -26,7 +26,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |||
| /* POST_PACKED_STRUCTURE needs to be a macro which | |||
| expands into a compiler directive. The directive must | |||
| tell the compiler to arrange the preceding structure | |||
| declaration so that it is packed on byte-boundaries rather | |||
| declaration so that it is packed on byte-boundaries rather | |||
| than use the natural alignment of the processor and/or | |||
| compiler. | |||
| */ | |||
| @@ -35,7 +35,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |||
| #define POST_PACKED_STRUCTURE __attribute__((__packed__)) | |||
| #else | |||
| #ifdef _MSC_VER | |||
| #define PRE_PACKED_STRUCTURE1 __pragma(pack(push,1)) | |||
| #define PRE_PACKED_STRUCTURE PRE_PACKED_STRUCTURE1 | |||
| @@ -60,27 +60,13 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |||
| #if defined(_WIN32) && !defined(__CYGWIN__) && !defined(GNU_WIN32) | |||
| #ifdef __MINGW32__ | |||
| # include <winsock2.h> // mingw gives warning if we include windows.h before winsock2.h | |||
| #endif | |||
| #include <stdint.h> | |||
| #include <winsock2.h> | |||
| #include <windows.h> | |||
| #ifdef _MSC_VER /* Microsoft compiler */ | |||
| #define __inline__ inline | |||
| #if (!defined(int8_t) && !defined(_STDINT_H)) | |||
| #define __int8_t_defined | |||
| typedef char int8_t; | |||
| typedef unsigned char uint8_t; | |||
| typedef short int16_t; | |||
| typedef unsigned short uint16_t; | |||
| typedef long int32_t; | |||
| typedef unsigned long uint32_t; | |||
| typedef LONGLONG int64_t; | |||
| typedef ULONGLONG uint64_t; | |||
| #endif | |||
| #elif __MINGW32__ /* MINGW */ | |||
| #include <stdint.h> | |||
| #include <sys/types.h> | |||
| #else /* other compilers ...*/ | |||
| #include <inttypes.h> | |||
| @@ -30,6 +30,7 @@ extern "C" { | |||
| #define JACK_UUID_STRING_SIZE (JACK_UUID_SIZE+1) /* includes trailing null */ | |||
| #define JACK_UUID_EMPTY_INITIALIZER 0 | |||
| extern jack_uuid_t jack_client_uuid_generate (); | |||
| extern jack_uuid_t jack_port_uuid_generate (uint32_t port_id); | |||
| @@ -42,6 +43,7 @@ extern int jack_uuid_parse (const char *buf, jack_uuid_t*); | |||
| extern void jack_uuid_unparse (jack_uuid_t, char buf[JACK_UUID_STRING_SIZE]); | |||
| extern int jack_uuid_empty (jack_uuid_t); | |||
| #ifdef __cplusplus | |||
| } /* namespace */ | |||
| #endif | |||
| @@ -30,7 +30,6 @@ $Id: net_driver.c,v 1.17 2006/04/16 20:16:10 torbenh Exp $ | |||
| #include <math.h> | |||
| #include <stdio.h> | |||
| #include <memory.h> | |||
| #include <unistd.h> | |||
| #include <stdlib.h> | |||
| #include <errno.h> | |||
| #include <stdarg.h> | |||
| @@ -40,11 +39,11 @@ $Id: net_driver.c,v 1.17 2006/04/16 20:16:10 torbenh Exp $ | |||
| #include <sys/types.h> | |||
| #ifdef WIN32 | |||
| #include <winsock2.h> | |||
| #ifdef _WIN32 | |||
| #include <malloc.h> | |||
| #define socklen_t int | |||
| #else | |||
| #include <unistd.h> | |||
| #include <sys/socket.h> | |||
| #include <netinet/in.h> | |||
| #endif | |||
| @@ -663,7 +662,7 @@ netjack_startup( netjack_driver_state_t *netj ) | |||
| struct sockaddr_in address; | |||
| // Now open the socket, and wait for the first packet to arrive... | |||
| netj->sockfd = socket (AF_INET, SOCK_DGRAM, 0); | |||
| #ifdef WIN32 | |||
| #ifdef _WIN32 | |||
| if (netj->sockfd == INVALID_SOCKET) | |||
| #else | |||
| if (netj->sockfd == -1) | |||
| @@ -681,7 +680,7 @@ netjack_startup( netjack_driver_state_t *netj ) | |||
| } | |||
| netj->outsockfd = socket (AF_INET, SOCK_DGRAM, 0); | |||
| #ifdef WIN32 | |||
| #ifdef _WIN32 | |||
| if (netj->outsockfd == INVALID_SOCKET) | |||
| #else | |||
| if (netj->outsockfd == -1) | |||
| @@ -693,7 +692,7 @@ netjack_startup( netjack_driver_state_t *netj ) | |||
| netj->srcaddress_valid = 0; | |||
| if (netj->use_autoconfig) { | |||
| jacknet_packet_header *first_packet = alloca (sizeof (jacknet_packet_header)); | |||
| #ifdef WIN32 | |||
| #ifdef _WIN32 | |||
| int address_size = sizeof( struct sockaddr_in ); | |||
| #else | |||
| socklen_t address_size = sizeof (struct sockaddr_in); | |||
| @@ -707,7 +706,7 @@ netjack_startup( netjack_driver_state_t *netj ) | |||
| return -1; | |||
| } | |||
| first_pack_len = recvfrom (netj->sockfd, (char *)first_packet, sizeof (jacknet_packet_header), 0, (struct sockaddr*) & netj->syncsource_address, &address_size); | |||
| #ifdef WIN32 | |||
| #ifdef _WIN32 | |||
| if( first_pack_len == -1 ) { | |||
| first_pack_len = sizeof(jacknet_packet_header); | |||
| break; | |||
| @@ -21,7 +21,9 @@ | |||
| #ifndef __NETJACK_H__ | |||
| #define __NETJACK_H__ | |||
| #ifndef _MSC_VER | |||
| #include <unistd.h> | |||
| #endif | |||
| #include <jack/types.h> | |||
| #include <jack/jack.h> | |||
| @@ -43,7 +43,6 @@ | |||
| #include <math.h> | |||
| #include <stdio.h> | |||
| #include <memory.h> | |||
| #include <unistd.h> | |||
| #include <stdlib.h> | |||
| #include <errno.h> | |||
| #include <stdarg.h> | |||
| @@ -52,12 +51,12 @@ | |||
| #include <sys/types.h> | |||
| #ifdef WIN32 | |||
| #include <winsock2.h> | |||
| #ifdef _WIN32 | |||
| #include <malloc.h> | |||
| #define socklen_t int | |||
| #else | |||
| #include <sys/socket.h> | |||
| #include <unistd.h> | |||
| #include <netinet/in.h> | |||
| #include <poll.h> | |||
| #endif | |||
| @@ -350,7 +349,7 @@ cache_packet_is_complete (cache_packet *pack) | |||
| return 1; | |||
| } | |||
| #ifndef WIN32 | |||
| #ifndef _WIN32 | |||
| // new poll using nanoseconds resolution and | |||
| // not waiting forever. | |||
| int | |||
| @@ -512,7 +511,7 @@ packet_cache_drain_socket( packet_cache *pcache, int sockfd ) | |||
| jack_nframes_t framecnt; | |||
| cache_packet *cpack; | |||
| struct sockaddr_in sender_address; | |||
| #ifdef WIN32 | |||
| #ifdef _WIN32 | |||
| int senderlen = sizeof( struct sockaddr_in ); | |||
| u_long parm = 1; | |||
| ioctlsocket( sockfd, FIONBIO, &parm ); | |||
| @@ -520,7 +519,7 @@ packet_cache_drain_socket( packet_cache *pcache, int sockfd ) | |||
| unsigned int senderlen = sizeof( struct sockaddr_in ); | |||
| #endif | |||
| while (1) { | |||
| #ifdef WIN32 | |||
| #ifdef _WIN32 | |||
| rcv_len = recvfrom (sockfd, rx_packet, pcache->mtu, 0, | |||
| (struct sockaddr*) &sender_address, &senderlen); | |||
| #else | |||
| @@ -17,7 +17,7 @@ | |||
| */ | |||
| #ifndef WIN32 | |||
| #ifndef _WIN32 | |||
| #include <stdlib.h> | |||
| #include <unistd.h> | |||
| #include <errno.h> | |||
| @@ -35,7 +35,7 @@ | |||
| int | |||
| jack_group2gid(const char* group) | |||
| { | |||
| #ifdef WIN32 | |||
| #ifdef _WIN32 | |||
| return -1; | |||
| #else | |||
| size_t buflen; | |||
| @@ -74,7 +74,7 @@ jack_group2gid(const char* group) | |||
| #endif | |||
| } | |||
| #ifndef WIN32 | |||
| #ifndef _WIN32 | |||
| int | |||
| jack_promiscuous_perms(int fd, const char* path, gid_t gid) | |||
| { | |||
| @@ -58,8 +58,6 @@ LIB_EXPORT void jack_ringbuffer_reset(jack_ringbuffer_t *rb); | |||
| LIB_EXPORT void jack_ringbuffer_reset_size (jack_ringbuffer_t * rb, size_t sz); | |||
| LIB_EXPORT size_t jack_ringbuffer_write(jack_ringbuffer_t *rb, const char *src, | |||
| size_t cnt); | |||
| void jack_ringbuffer_write_advance(jack_ringbuffer_t *rb, size_t cnt); | |||
| size_t jack_ringbuffer_write_space(const jack_ringbuffer_t *rb); | |||
| /* Create a new ringbuffer to hold at least `sz' bytes of data. The | |||
| actual buffer size is rounded up to the next power of two. */ | |||
| @@ -14,7 +14,7 @@ | |||
| /* | |||
| Copyright (C) 2001-2003 Paul Davis | |||
| Copyright (C) 2005-2012 Grame | |||
| This program is free software; you can redistribute it and/or modify | |||
| it under the terms of the GNU Lesser General Public License as published by | |||
| the Free Software Foundation; either version 2.1 of the License, or | |||
| @@ -32,12 +32,14 @@ | |||
| */ | |||
| #include "JackConstants.h" | |||
| #ifdef WIN32 | |||
| #ifdef _WIN32 | |||
| #define _WINSOCKAPI_ | |||
| #include <windows.h> | |||
| #include <process.h> | |||
| #include <stdio.h> | |||
| #include <Lmcons.h> | |||
| #include <memoryapi.h> | |||
| #else | |||
| #include <unistd.h> | |||
| #include <fcntl.h> | |||
| #include <stdio.h> | |||
| @@ -47,31 +49,41 @@ | |||
| #include <errno.h> | |||
| #include <dirent.h> | |||
| #include <sys/mman.h> | |||
| #include <sys/types.h> | |||
| #include <sys/stat.h> | |||
| #include <sys/shm.h> | |||
| #include <sys/sem.h> | |||
| #include <sys/types.h> | |||
| #include <stdlib.h> | |||
| #include "promiscuous.h" | |||
| #endif | |||
| #include "shm.h" | |||
| #include "JackError.h" | |||
| static int GetUID() | |||
| #ifdef _WIN32 | |||
| static char* GetUID() | |||
| { | |||
| #ifdef WIN32 | |||
| return _getpid(); | |||
| //#error "No getuid function available" | |||
| #if defined(__HAVE_USERENV_H) | |||
| char username[UNLEN+1]; | |||
| DWORD username_len = UNLEN+1; | |||
| return GetUserName(username, &username_len); | |||
| #else | |||
| char* username = getenv("USERNAME"); | |||
| return username; | |||
| #endif | |||
| } | |||
| #else | |||
| return geteuid(); | |||
| #endif | |||
| static char* GetUID() | |||
| { | |||
| char buffer [256]; | |||
| int n, a=5, b=3; | |||
| return sprintf(buffer, "%d", geteuid()); | |||
| } | |||
| #endif | |||
| static int GetPID() | |||
| { | |||
| #ifdef WIN32 | |||
| #ifdef _WIN32 | |||
| return _getpid(); | |||
| #else | |||
| return getpid(); | |||
| @@ -80,7 +92,7 @@ static int GetPID() | |||
| #ifdef USE_POSIX_SHM | |||
| static jack_shmtype_t jack_shmtype = shm_POSIX; | |||
| #elif WIN32 | |||
| #elif defined(_WIN32) | |||
| static jack_shmtype_t jack_shmtype = shm_WIN32; | |||
| #else | |||
| static jack_shmtype_t jack_shmtype = shm_SYSV; | |||
| @@ -105,10 +117,10 @@ static void jack_remove_shm (jack_shm_id_t *id); | |||
| /* per-process global data for the SHM interfaces */ | |||
| static jack_shm_id_t registry_id; /* SHM id for the registry */ | |||
| #ifdef WIN32 | |||
| #ifdef _WIN32 | |||
| static jack_shm_info_t registry_info = {/* SHM info for the registry */ | |||
| JACK_SHM_NULL_INDEX, | |||
| NULL | |||
| 0 | |||
| }; | |||
| #else | |||
| static jack_shm_info_t registry_info = { /* SHM info for the registry */ | |||
| @@ -144,7 +156,7 @@ static char jack_shm_server_prefix[JACK_SERVER_NAME_SIZE+1] = ""; | |||
| static int semid = -1; | |||
| #ifdef WIN32 | |||
| #ifdef _WIN32 | |||
| #include <psapi.h> | |||
| #include <lmcons.h> | |||
| @@ -317,16 +329,8 @@ jack_shm_validate_registry () | |||
| static void | |||
| jack_set_server_prefix (const char *server_name) | |||
| { | |||
| #ifdef WIN32 | |||
| char buffer[UNLEN+1]={0}; | |||
| DWORD len = UNLEN+1; | |||
| GetUserName(buffer, &len); | |||
| snprintf (jack_shm_server_prefix, sizeof (jack_shm_server_prefix), | |||
| "jack-%s:%s:", buffer, server_name); | |||
| #else | |||
| snprintf (jack_shm_server_prefix, sizeof (jack_shm_server_prefix), | |||
| "jack-%d:%s:", GetUID(), server_name); | |||
| #endif | |||
| snprintf (jack_shm_server_prefix, sizeof (jack_shm_server_prefix), | |||
| "jack-%s:%s:", GetUID(), server_name); | |||
| } | |||
| /* gain server addressability to shared memory registration segment | |||
| @@ -517,7 +521,7 @@ jack_register_server (const char *server_name, int new_registry) | |||
| } | |||
| /* see if server still exists */ | |||
| #ifdef WIN32 | |||
| #ifdef _WIN32 | |||
| if (check_process_running(jack_shm_header->server[i].pid)) { | |||
| res = EEXIST; /* other server running */ | |||
| goto unlock; | |||
| @@ -612,7 +616,7 @@ jack_cleanup_shm () | |||
| } else { | |||
| /* see if allocator still exists */ | |||
| #ifdef WIN32 | |||
| #ifdef _WIN32 | |||
| //jack_info("TODO: kill API not available !!"); | |||
| #else | |||
| if (kill (r->allocator, 0)) { | |||
| @@ -742,7 +746,7 @@ jack_access_registry (jack_shm_info_t *ri) | |||
| jack_shm_header = ri->ptr.attached_at; | |||
| jack_shm_registry = (jack_shm_registry_t *) (jack_shm_header + 1); | |||
| close (shm_fd); | |||
| close (shm_fd); | |||
| return 0; | |||
| } | |||
| @@ -801,7 +805,7 @@ jack_create_registry (jack_shm_info_t *ri) | |||
| /* initialize registry contents */ | |||
| jack_shm_init_registry (); | |||
| close (shm_fd); | |||
| close (shm_fd); | |||
| return 0; | |||
| } | |||
| @@ -858,7 +862,7 @@ jack_shmalloc (const char *shm_name, jack_shmsize_t size, jack_shm_info_t* si) | |||
| * registry index for uniqueness and ignore the shm_name | |||
| * parameter. Bah! | |||
| */ | |||
| snprintf (name, sizeof (name), "/jack-%d-%d", GetUID(), registry->index); | |||
| snprintf (name, sizeof (name), "/jack-%s-%d", GetUID(), registry->index); | |||
| if (strlen (name) >= sizeof (registry->id)) { | |||
| jack_error ("shm segment name too long %s", name); | |||
| @@ -948,7 +952,7 @@ jack_attach_shm_read (jack_shm_info_t* si) | |||
| return 0; | |||
| } | |||
| #elif WIN32 | |||
| #elif _WIN32 | |||
| static int | |||
| jack_access_registry (jack_shm_info_t *ri) | |||
| @@ -1058,7 +1062,7 @@ jack_shmalloc (const char *shm_name, jack_shmsize_t size, jack_shm_info_t* si) | |||
| goto unlock; | |||
| } | |||
| snprintf (name, sizeof (name), "jack-%d-%d", GetUID(), registry->index); | |||
| snprintf (name, sizeof (name), "jack-%s-%d", GetUID(), registry->index); | |||
| if (strlen (name) >= sizeof (registry->id)) { | |||
| jack_error ("shm segment name too long %s", name); | |||
| @@ -1307,4 +1311,3 @@ jack_attach_shm_read (jack_shm_info_t* si) | |||
| } | |||
| #endif /* !USE_POSIX_SHM */ | |||
| @@ -71,7 +71,7 @@ extern "C" | |||
| typedef char shm_name_t[SHM_NAME_MAX]; | |||
| typedef shm_name_t jack_shm_id_t; | |||
| #elif WIN32 | |||
| #elif defined(_WIN32) | |||
| #define NAME_MAX 255 | |||
| #ifndef SHM_NAME_MAX | |||
| #define SHM_NAME_MAX NAME_MAX | |||
| @@ -9,13 +9,11 @@ def configure(conf): | |||
| conf.env['BUILD_ADAPTER'] = conf.env['SAMPLERATE'] | |||
| if conf.env['IS_WINDOWS']: | |||
| try: | |||
| conf.check(function_name='regcomp', header_name='regex.h', lib='regex', uselib_store='REGEX', define_name='HAVE_REGEX_H') | |||
| except: | |||
| conf.check(function_name='regcomp', header_name='regex.h', lib='tre', uselib_store='REGEX', define_name='HAVE_REGEX_H') | |||
| conf.check(function_name='htons', header_name='winsock2.h', lib='ws2_32', uselib_store='WS2_32', define_name='HAVE_WINSOCK2_H') | |||
| conf.check(function_name='timeGetDevCaps', header_name=['windows.h', 'mmsystem.h'], lib='winmm', uselib_store='WINMM', define_name='HAVE_MMSYSTEM_H') | |||
| conf.check(function_name='EnumProcesses', header_name=['windows.h', 'psapi.h'], lib='psapi', uselib_store='PSAPI', define_name='HAVE_PSAPI_H') | |||
| conf.check(function_name='UserEnv', header_name=['windows.h'], lib='UserEnv', uselib_store='USERENV', define_name='HAVE_USERENV_H') | |||
| conf.check(function_name='SHGetFolderPathA', lib='shell32', header_name=['Shlobj.h'], uselib_store='SHELL32', define_name='HAVE_SHELLOBJ_H') | |||
| def create_jack_process_obj(bld, target, sources, uselib = None, framework = None): | |||
| process = bld(features = ['cxx', 'cxxshlib']) | |||
| @@ -31,6 +29,8 @@ def create_jack_process_obj(bld, target, sources, uselib = None, framework = Non | |||
| if bld.env['IS_SUN']: | |||
| env_includes = ['../solaris', '../posix', '../solaris/oss'] | |||
| if bld.env['IS_WINDOWS']: | |||
| if conf.env['CC_NAME'] == 'msvc': | |||
| driver.env.append_unique('LDFLAGS', ['/DLL', "common\\build", '/MT']) | |||
| env_includes = ['../windows', '../windows/portaudio'] | |||
| process.includes = ['.'] + env_includes + ['jack', '..'] | |||
| process.name = target | |||
| @@ -74,7 +74,10 @@ def build(bld): | |||
| includes.append('..') | |||
| else: | |||
| includes.append('../..') | |||
| uselib = ['PTHREAD', 'CELT', 'OPUS', 'DB'] | |||
| if bld.env['IS_WINDOWS']: | |||
| uselib = ['CELT', 'OPUS', 'DB'] | |||
| else: | |||
| uselib = ['PTHREAD', 'CELT', 'OPUS', 'DB'] | |||
| if bld.env['IS_LINUX']: | |||
| common_libsources += [ | |||
| @@ -125,6 +128,7 @@ def build(bld): | |||
| if bld.env['IS_WINDOWS']: | |||
| common_libsources += [ | |||
| 'JackDebugClient.cpp', | |||
| '../windows/JackWinMutex.cpp', | |||
| '../windows/JackWinProcessSync.cpp', | |||
| '../windows/JackWinSemaphore.cpp', | |||
| @@ -132,7 +136,7 @@ def build(bld): | |||
| '../windows/JackWinTime.c', | |||
| ] | |||
| includes = ['../windows' ] + includes | |||
| uselib.append('REGEX') | |||
| uselib.append('SHELL32') | |||
| uselib.append('WS2_32') | |||
| uselib.append('PSAPI') | |||
| uselib.append('WINMM') | |||
| @@ -143,8 +147,11 @@ def build(bld): | |||
| clientlib.defines = 'HAVE_CONFIG_H' | |||
| clientlib.use = uselib | |||
| if bld.env['IS_WINDOWS']: | |||
| clientlib.env['cxxshlib_PATTERN'] = 'lib%s.dll' | |||
| clientlib.install_path = '${BINDIR}' | |||
| if bld.env['IS_WIN64']: | |||
| clientlib.env['cxxshlib_PATTERN'] = 'lib%s64.dll' | |||
| else: | |||
| clientlib.env['cxxshlib_PATTERN'] = 'lib%s.dll' | |||
| clientlib.install_path = '${BINDIR}' | |||
| else: | |||
| clientlib.install_path = '${LIBDIR}' | |||
| if bld.env['AUTOSTART_METHOD'] == 'dbus': | |||
| @@ -279,6 +286,7 @@ def build(bld): | |||
| if bld.env['IS_WINDOWS']: | |||
| serverlib.source += [ | |||
| '../windows/getopt.c', | |||
| '../windows/JackMMCSS.cpp', | |||
| '../windows/JackWinNamedPipe.cpp', | |||
| '../windows/JackWinNamedPipeServerChannel.cpp', | |||
| @@ -309,9 +317,13 @@ def build(bld): | |||
| netlib.target = 'jacknet' | |||
| netlib.use = ['SAMPLERATE', 'CELT', 'OPUS', 'PTHREAD'] | |||
| if bld.env['IS_WINDOWS']: | |||
| netlib.env['cxxshlib_PATTERN'] = 'lib%s.dll' | |||
| netlib.install_path = '${BINDIR}' | |||
| netlib.use += ['WS2_32', 'WINMM'] | |||
| if bld.env['IS_WIN64']: | |||
| clientlib.env['cxxshlib_PATTERN'] = 'lib%s64.dll' | |||
| else: | |||
| clientlib.env['cxxshlib_PATTERN'] = 'lib%s.dll' | |||
| netlib.env['cxxshlib_PATTERN'] = 'lib%s.dll' | |||
| netlib.install_path = '${BINDIR}' | |||
| netlib.use += ['WS2_32', 'WINMM'] | |||
| elif bld.env['IS_MACOSX']: | |||
| netlib.install_path = '${LIBDIR}' | |||
| else: | |||
| @@ -346,9 +358,10 @@ def build(bld): | |||
| netlib.vnum = bld.env['JACK_API_VERSION'] | |||
| create_jack_process_obj(bld, 'netmanager', 'JackNetManager.cpp', serverlib) | |||
| create_jack_process_obj(bld, 'profiler', 'JackProfiler.cpp', serverlib) | |||
| # FIXME: Doesn't link JackServerGlobals::fInstance (help wanted) | |||
| if not bld.env['IS_WINDOWS']: | |||
| create_jack_process_obj(bld, 'netmanager', 'JackNetManager.cpp', serverlib) | |||
| create_jack_process_obj(bld, 'profiler', 'JackProfiler.cpp', serverlib) | |||
| net_adapter_sources = [ | |||
| 'JackResampler.cpp', | |||
| @@ -400,7 +413,6 @@ def build(bld): | |||
| process = create_jack_process_obj(bld, 'audioadapter', audio_adapter_sources, serverlib) | |||
| process.use += ['SAMPLERATE', 'PORTAUDIO'] | |||
| bld.install_files('${PREFIX}/include/jack', bld.path.ant_glob('jack/*.h')) | |||
| # process jack.pc.in -> jack.pc | |||
| @@ -22,7 +22,11 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | |||
| #include "JackTypes.h" | |||
| #ifndef __MINGW32__ | |||
| #ifdef _MSC_VER | |||
| #define COMPARE_EXCHANGE(ADDRESS, NEW, EXPECTED) atomic::msvc::interlocked<UInt32, 4>::compare_exchange(ADDRESS, NEW, EXPECTED) | |||
| #endif | |||
| #ifdef __MINGW32__ | |||
| #ifdef __SMP__ | |||
| # define LOCK lock | |||
| #else | |||
| @@ -36,24 +40,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | |||
| //---------------------------------------------------------------- | |||
| // CAS functions | |||
| //---------------------------------------------------------------- | |||
| inline char CAS(volatile UInt32 value, UInt32 newvalue, volatile void * addr) | |||
| { | |||
| register char c; | |||
| __asm { | |||
| push ebx | |||
| push esi | |||
| mov esi, addr | |||
| mov eax, value | |||
| mov ebx, newvalue | |||
| LOCK cmpxchg dword ptr [esi], ebx | |||
| sete c | |||
| pop esi | |||
| pop ebx | |||
| } | |||
| return c; | |||
| } | |||
| #else | |||
| #define LOCK "lock ; " | |||
| @@ -70,7 +56,6 @@ static inline char CAS(volatile UInt32 value, UInt32 newvalue, volatile void* ad | |||
| return ret; | |||
| } | |||
| #endif | |||
| #endif // __MINGW32__ | |||
| #endif | |||
| @@ -21,9 +21,9 @@ | |||
| #define __JackNetWinSocket__ | |||
| #include "JackNetSocket.h" | |||
| #ifdef __MINGW32__ | |||
| #include <winsock2.h> | |||
| #include <ws2tcpip.h> | |||
| #ifdef __MINGW32__ | |||
| #include <stdint.h> | |||
| #endif | |||
| @@ -112,4 +112,3 @@ namespace Jack | |||
| } | |||
| #endif | |||
| @@ -22,7 +22,7 @@ | |||
| */ | |||
| #ifdef WIN32 | |||
| #ifdef _WIN32 | |||
| #pragma warning (disable : 4786) | |||
| #endif | |||
| @@ -56,8 +56,7 @@ static const double twoRaisedTo32Reciprocal = 1. / twoRaisedTo32; | |||
| //------------------------------------------------------------------------------------------ | |||
| // on windows, we do the COM stuff. | |||
| #if WINDOWS | |||
| #include "windows.h" | |||
| #if _WIN32 | |||
| #include "mmsystem.h" | |||
| #ifdef _WIN64 | |||
| #define JACK_ROUTER "JackRouter.dll" | |||
| @@ -286,7 +286,7 @@ int write_private_profile_int(char *section, | |||
| return write_private_profile_string (section,entry, buffer, file_name); | |||
| } | |||
| #endif // #ifndef WIN32 | |||
| #endif // #ifndef _WIN32 | |||
| /************************************************************************** | |||
| @@ -15,7 +15,7 @@ | |||
| extern "C" { | |||
| #endif | |||
| #ifdef WIN32 | |||
| #ifdef _WIN32 | |||
| #include "Windows.h" | |||
| #define get_private_profile_int GetPrivateProfileInt | |||
| #define get_private_profile_string GetPrivateProfileString | |||
| @@ -28,7 +28,9 @@ | |||
| #define PATH_MAX 512 | |||
| #endif | |||
| #ifndef UINT32_MAX | |||
| #define UINT32_MAX 4294967295U | |||
| #endif | |||
| #define DRIVER_HANDLE HINSTANCE | |||
| #define LoadDriverModule(name) LoadLibrary((name)) | |||
| @@ -17,7 +17,6 @@ | |||
| */ | |||
| #include "JackWinNamedPipe.h" | |||
| #include "JackError.h" | |||
| #include <assert.h> | |||
| @@ -52,6 +51,16 @@ int JackWinNamedPipeAux::WriteAux(void* data, int len) | |||
| } | |||
| } | |||
| int JackWinNamedPipe::Read(void* data, int len) | |||
| { | |||
| return JackWinNamedPipeAux::ReadAux(data, len); | |||
| } | |||
| int JackWinNamedPipe::Write(void* data, int len) | |||
| { | |||
| return JackWinNamedPipeAux::WriteAux(data, len); | |||
| } | |||
| /* | |||
| See : | |||
| http://answers.google.com/answers/threadview?id=430173 | |||
| @@ -23,22 +23,20 @@ | |||
| #include <windows.h> | |||
| #include "JackCompilerDeps_os.h" | |||
| #include "JackChannel.h" | |||
| namespace Jack | |||
| { | |||
| class JackWinNamedPipeAux | |||
| class SERVER_EXPORT JackWinNamedPipeAux | |||
| { | |||
| protected: | |||
| HANDLE fNamedPipe; | |||
| char fName[256]; | |||
| int ReadAux(void* data, int len); | |||
| int WriteAux(void* data, int len); | |||
| public: | |||
| JackWinNamedPipeAux(): fNamedPipe(INVALID_HANDLE_VALUE) | |||
| @@ -47,11 +45,15 @@ class JackWinNamedPipeAux | |||
| {} | |||
| virtual ~JackWinNamedPipeAux() | |||
| {} | |||
| int ReadAux(void* data, int len); | |||
| int WriteAux(void* data, int len); | |||
| }; | |||
| class JackWinNamedPipe : public JackWinNamedPipeAux, public detail::JackChannelTransactionInterface | |||
| class SERVER_EXPORT JackWinNamedPipe : public JackWinNamedPipeAux, public detail::JackChannelTransactionInterface | |||
| { | |||
| public: | |||
| @@ -63,21 +65,15 @@ class JackWinNamedPipe : public JackWinNamedPipeAux, public detail::JackChannelT | |||
| virtual ~JackWinNamedPipe() | |||
| {} | |||
| virtual int Read(void* data, int len) | |||
| { | |||
| return ReadAux(data, len); | |||
| } | |||
| virtual int Write(void* data, int len) | |||
| { | |||
| return WriteAux(data, len); | |||
| } | |||
| int Read(void* data, int len); | |||
| int Write(void* data, int len); | |||
| }; | |||
| /*! | |||
| \brief Client named pipe. | |||
| */ | |||
| class JackWinNamedPipeClient : public JackWinNamedPipeAux, public detail::JackClientRequestInterface | |||
| class SERVER_EXPORT JackWinNamedPipeClient : public JackWinNamedPipeAux, public detail::JackClientRequestInterface | |||
| { | |||
| protected: | |||
| @@ -115,7 +111,7 @@ class JackWinNamedPipeClient : public JackWinNamedPipeAux, public detail::JackCl | |||
| virtual void SetNonBlocking(bool onoff); | |||
| }; | |||
| class JackWinAsyncNamedPipeClient : public JackWinNamedPipeClient | |||
| class SERVER_EXPORT JackWinAsyncNamedPipeClient : public JackWinNamedPipeClient | |||
| { | |||
| enum kIOState {kIdle = 0, kConnecting, kReading, kWriting}; | |||
| @@ -156,7 +152,7 @@ class JackWinAsyncNamedPipeClient : public JackWinNamedPipeClient | |||
| \brief Server named pipe. | |||
| */ | |||
| class JackWinNamedPipeServer : public JackWinNamedPipe | |||
| class SERVER_EXPORT JackWinNamedPipeServer : public JackWinNamedPipe | |||
| { | |||
| private: | |||
| @@ -180,7 +176,7 @@ class JackWinNamedPipeServer : public JackWinNamedPipe | |||
| \brief Server async named pipe. | |||
| */ | |||
| class JackWinAsyncNamedPipeServer : public JackWinNamedPipeServer | |||
| class SERVER_EXPORT JackWinAsyncNamedPipeServer : public JackWinNamedPipeServer | |||
| { | |||
| private: | |||
| @@ -20,6 +20,7 @@ | |||
| #ifndef __JackWinNamedPipeServerChannel__ | |||
| #define __JackWinNamedPipeServerChannel__ | |||
| #include "JackCompilerDeps_os.h" | |||
| #include "JackWinNamedPipe.h" | |||
| #include "JackPlatformPlug.h" | |||
| #include "JackConstants.h" | |||
| @@ -31,7 +32,7 @@ namespace Jack | |||
| class JackServer; | |||
| class JackClientPipeThread : public JackRunnableInterface, public JackClientHandlerInterface | |||
| class SERVER_EXPORT JackClientPipeThread : public JackRunnableInterface, public JackClientHandlerInterface | |||
| { | |||
| private: | |||
| @@ -72,7 +73,7 @@ class JackClientPipeThread : public JackRunnableInterface, public JackClientHand | |||
| \brief JackServerChannel using pipe. | |||
| */ | |||
| class JackWinNamedPipeServerChannel : public JackRunnableInterface | |||
| class SERVER_EXPORT JackWinNamedPipeServerChannel : public JackRunnableInterface | |||
| { | |||
| private: | |||
| @@ -122,6 +122,11 @@ int JackWinThread::StartImp(jack_native_thread_t* thread, int priority, int real | |||
| return 0; | |||
| } | |||
| int JackWinThread::StartImp(jack_native_thread_t* thread, int priority, int realtime, void*(*start_routine)(void*), void* arg) | |||
| { | |||
| return JackWinThread::StartImp(thread, priority, realtime, (ThreadCallback) start_routine, arg); | |||
| } | |||
| // voir http://www.microsoft.com/belux/msdn/nl/community/columns/ldoc/multithread1.mspx | |||
| int JackWinThread::Kill() | |||
| @@ -176,14 +181,32 @@ int JackWinThread::StopImp(jack_native_thread_t thread) | |||
| } | |||
| } | |||
| int JackWinThread::AcquireRealTimeImp(jack_native_thread_t thread, int priority, UInt64 period, UInt64 computation, UInt64 constraintt) | |||
| { | |||
| jack_log("JackWinThread::AcquireRealTimeImp priority = %d", priority); | |||
| if (priority >= (BASE_REALTIME_PRIORITY - 1) && MMCSSAcquireRealTime(thread, priority) == 0) { | |||
| jack_log("MMCSS API used to acquire RT for thread"); | |||
| return 0; | |||
| } else { | |||
| jack_log("MMCSS API not used..."); | |||
| if (SetThreadPriority(thread, THREAD_PRIORITY_TIME_CRITICAL)) { | |||
| return 0; | |||
| } else { | |||
| jack_error("Cannot set thread priority = %d", GetLastError()); | |||
| return -1; | |||
| } | |||
| } | |||
| } | |||
| int JackWinThread::AcquireRealTime() | |||
| { | |||
| return (fThread != (HANDLE)NULL) ? AcquireRealTimeImp(fThread, fPriority) : -1; | |||
| return (fThread != (HANDLE)NULL) ? JackWinThread::AcquireRealTimeImp(fThread, fPriority, NULL, NULL, NULL) : -1; | |||
| } | |||
| int JackWinThread::AcquireSelfRealTime() | |||
| { | |||
| return AcquireRealTimeImp(GetCurrentThread(), fPriority); | |||
| return JackWinThread::AcquireRealTimeImp(GetCurrentThread(), fPriority, NULL, NULL, NULL); | |||
| } | |||
| int JackWinThread::AcquireRealTime(int priority) | |||
| @@ -198,24 +221,6 @@ int JackWinThread::AcquireSelfRealTime(int priority) | |||
| return AcquireSelfRealTime(); | |||
| } | |||
| int JackWinThread::AcquireRealTimeImp(jack_native_thread_t thread, int priority) | |||
| { | |||
| jack_log("JackWinThread::AcquireRealTimeImp priority = %d", priority); | |||
| if (priority >= (BASE_REALTIME_PRIORITY - 1) && MMCSSAcquireRealTime(thread, priority) == 0) { | |||
| jack_log("MMCSS API used to acquire RT for thread"); | |||
| return 0; | |||
| } else { | |||
| jack_log("MMCSS API not used..."); | |||
| if (SetThreadPriority(thread, THREAD_PRIORITY_TIME_CRITICAL)) { | |||
| return 0; | |||
| } else { | |||
| jack_error("Cannot set thread priority = %d", GetLastError()); | |||
| return -1; | |||
| } | |||
| } | |||
| } | |||
| int JackWinThread::DropRealTime() | |||
| { | |||
| return (fThread != (HANDLE)NULL) ? DropRealTimeImp(fThread) : -1; | |||
| @@ -68,16 +68,10 @@ class SERVER_EXPORT JackWinThread : public JackMMCSS, public detail::JackThreadI | |||
| jack_native_thread_t GetThreadID(); | |||
| bool IsThread(); | |||
| static int AcquireRealTimeImp(jack_native_thread_t thread, int priority); | |||
| static int AcquireRealTimeImp(jack_native_thread_t thread, int priority, UInt64 period, UInt64 computation, UInt64 constraint) | |||
| { | |||
| return JackWinThread::AcquireRealTimeImp(thread, priority); | |||
| } | |||
| static int AcquireRealTimeImp(jack_native_thread_t thread, int priority, UInt64 period, UInt64 computation, UInt64 constraint); | |||
| static int DropRealTimeImp(jack_native_thread_t thread); | |||
| static int StartImp(jack_native_thread_t* thread, int priority, int realtime, void*(*start_routine)(void*), void* arg) | |||
| { | |||
| return JackWinThread::StartImp(thread, priority, realtime, (ThreadCallback) start_routine, arg); | |||
| } | |||
| static int StartImp(jack_native_thread_t* thread, int priority, int realtime, void*(*start_routine)(void*), void* arg); | |||
| static int StartImp(jack_native_thread_t* thread, int priority, int realtime, ThreadCallback start_routine, void* arg); | |||
| static int StopImp(jack_native_thread_t thread); | |||
| static int KillImp(jack_native_thread_t thread); | |||
| @@ -0,0 +1,240 @@ | |||
| // Author: mbitsnbites | |||
| // https://github.com/mbitsnbites/atomic | |||
| //----------------------------------------------------------------------------- | |||
| // This is free and unencumbered software released into the public domain. | |||
| // | |||
| // Anyone is free to copy, modify, publish, use, compile, sell, or distribute | |||
| // this software, either in source code form or as a compiled binary, for any | |||
| // purpose, commercial or non-commercial, and by any means. | |||
| // | |||
| // In jurisdictions that recognize copyright laws, the author or authors of | |||
| // this software dedicate any and all copyright interest in the software to the | |||
| // public domain. We make this dedication for the benefit of the public at | |||
| // large and to the detriment of our heirs and successors. We intend this | |||
| // dedication to be an overt act of relinquishment in perpetuity of all present | |||
| // and future rights to this software under copyright law. | |||
| // | |||
| // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | |||
| // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | |||
| // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | |||
| // AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN | |||
| // ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION | |||
| // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | |||
| // | |||
| // For more information, please refer to <http://unlicense.org/> | |||
| //----------------------------------------------------------------------------- | |||
| #ifndef ATOMIC_ATOMIC_MSVC_H_ | |||
| #define ATOMIC_ATOMIC_MSVC_H_ | |||
| // Define which functions we need (don't include <intrin.h>). | |||
| extern "C" { | |||
| short _InterlockedIncrement16(short volatile*); | |||
| long _InterlockedIncrement(long volatile*); | |||
| __int64 _InterlockedIncrement64(__int64 volatile*); | |||
| short _InterlockedDecrement16(short volatile*); | |||
| long _InterlockedDecrement(long volatile*); | |||
| __int64 _InterlockedDecrement64(__int64 volatile*); | |||
| char _InterlockedExchange8(char volatile*, char); | |||
| short _InterlockedExchange16(short volatile*, short); | |||
| long __cdecl _InterlockedExchange(long volatile*, long); | |||
| __int64 _InterlockedExchange64(__int64 volatile*, __int64); | |||
| char _InterlockedCompareExchange8(char volatile*, char, char); | |||
| short _InterlockedCompareExchange16(short volatile*, short, short); | |||
| long __cdecl _InterlockedCompareExchange(long volatile*, long, long); | |||
| __int64 _InterlockedCompareExchange64(__int64 volatile*, __int64, __int64); | |||
| }; | |||
| // Define which functions we want to use as inline intriniscs. | |||
| #pragma intrinsic(_InterlockedIncrement) | |||
| #pragma intrinsic(_InterlockedIncrement16) | |||
| #pragma intrinsic(_InterlockedDecrement) | |||
| #pragma intrinsic(_InterlockedDecrement16) | |||
| #pragma intrinsic(_InterlockedCompareExchange) | |||
| #pragma intrinsic(_InterlockedCompareExchange8) | |||
| #pragma intrinsic(_InterlockedCompareExchange16) | |||
| #pragma intrinsic(_InterlockedExchange) | |||
| #pragma intrinsic(_InterlockedExchange8) | |||
| #pragma intrinsic(_InterlockedExchange16) | |||
| #if defined(_M_X64) | |||
| #pragma intrinsic(_InterlockedIncrement64) | |||
| #pragma intrinsic(_InterlockedDecrement64) | |||
| #pragma intrinsic(_InterlockedCompareExchange64) | |||
| #pragma intrinsic(_InterlockedExchange64) | |||
| #endif // _M_X64 | |||
| namespace atomic { | |||
| namespace msvc { | |||
| template <typename T, size_t N = sizeof(T)> | |||
| struct interlocked { | |||
| }; | |||
| template <typename T> | |||
| struct interlocked<T, 1> { | |||
| static inline T increment(T volatile* x) { | |||
| // There's no _InterlockedIncrement8(). | |||
| char old_val, new_val; | |||
| do { | |||
| old_val = static_cast<char>(*x); | |||
| new_val = old_val + static_cast<char>(1); | |||
| } while (_InterlockedCompareExchange8(reinterpret_cast<volatile char*>(x), | |||
| new_val, | |||
| old_val) != old_val); | |||
| return static_cast<T>(new_val); | |||
| } | |||
| static inline T decrement(T volatile* x) { | |||
| // There's no _InterlockedDecrement8(). | |||
| char old_val, new_val; | |||
| do { | |||
| old_val = static_cast<char>(*x); | |||
| new_val = old_val - static_cast<char>(1); | |||
| } while (_InterlockedCompareExchange8(reinterpret_cast<volatile char*>(x), | |||
| new_val, | |||
| old_val) != old_val); | |||
| return static_cast<T>(new_val); | |||
| } | |||
| static inline T compare_exchange(T volatile* x, | |||
| const T new_val, | |||
| const T expected_val) { | |||
| return static_cast<T>( | |||
| _InterlockedCompareExchange8(reinterpret_cast<volatile char*>(x), | |||
| static_cast<const char>(new_val), | |||
| static_cast<const char>(expected_val))); | |||
| } | |||
| static inline T exchange(T volatile* x, const T new_val) { | |||
| return static_cast<T>(_InterlockedExchange8( | |||
| reinterpret_cast<volatile char*>(x), static_cast<const char>(new_val))); | |||
| } | |||
| }; | |||
| template <typename T> | |||
| struct interlocked<T, 2> { | |||
| static inline T increment(T volatile* x) { | |||
| return static_cast<T>( | |||
| _InterlockedIncrement16(reinterpret_cast<volatile short*>(x))); | |||
| } | |||
| static inline T decrement(T volatile* x) { | |||
| return static_cast<T>( | |||
| _InterlockedDecrement16(reinterpret_cast<volatile short*>(x))); | |||
| } | |||
| static inline T compare_exchange(T volatile* x, | |||
| const T new_val, | |||
| const T expected_val) { | |||
| return static_cast<T>( | |||
| _InterlockedCompareExchange16(reinterpret_cast<volatile short*>(x), | |||
| static_cast<const short>(new_val), | |||
| static_cast<const short>(expected_val))); | |||
| } | |||
| static inline T exchange(T volatile* x, const T new_val) { | |||
| return static_cast<T>( | |||
| _InterlockedExchange16(reinterpret_cast<volatile short*>(x), | |||
| static_cast<const short>(new_val))); | |||
| } | |||
| }; | |||
| template <typename T> | |||
| struct interlocked<T, 4> { | |||
| static inline T increment(T volatile* x) { | |||
| return static_cast<T>( | |||
| _InterlockedIncrement(reinterpret_cast<volatile long*>(x))); | |||
| } | |||
| static inline T decrement(T volatile* x) { | |||
| return static_cast<T>( | |||
| _InterlockedDecrement(reinterpret_cast<volatile long*>(x))); | |||
| } | |||
| static inline T compare_exchange(T volatile* x, | |||
| const T new_val, | |||
| const T expected_val) { | |||
| return static_cast<T>( | |||
| _InterlockedCompareExchange(reinterpret_cast<volatile long*>(x), | |||
| static_cast<const long>(new_val), | |||
| static_cast<const long>(expected_val))); | |||
| } | |||
| static inline T exchange(T volatile* x, const T new_val) { | |||
| return static_cast<T>(_InterlockedExchange( | |||
| reinterpret_cast<volatile long*>(x), static_cast<const long>(new_val))); | |||
| } | |||
| }; | |||
| template <typename T> | |||
| struct interlocked<T, 8> { | |||
| static inline T increment(T volatile* x) { | |||
| #if defined(_M_X64) | |||
| return static_cast<T>( | |||
| _InterlockedIncrement64(reinterpret_cast<volatile __int64*>(x))); | |||
| #else | |||
| // There's no _InterlockedIncrement64() for 32-bit x86. | |||
| __int64 old_val, new_val; | |||
| do { | |||
| old_val = static_cast<__int64>(*x); | |||
| new_val = old_val + static_cast<__int64>(1); | |||
| } while (_InterlockedCompareExchange64( | |||
| reinterpret_cast<volatile __int64*>(x), new_val, old_val) != | |||
| old_val); | |||
| return static_cast<T>(new_val); | |||
| #endif // _M_X64 | |||
| } | |||
| static inline T decrement(T volatile* x) { | |||
| #if defined(_M_X64) | |||
| return static_cast<T>( | |||
| _InterlockedDecrement64(reinterpret_cast<volatile __int64*>(x))); | |||
| #else | |||
| // There's no _InterlockedDecrement64() for 32-bit x86. | |||
| __int64 old_val, new_val; | |||
| do { | |||
| old_val = static_cast<__int64>(*x); | |||
| new_val = old_val - static_cast<__int64>(1); | |||
| } while (_InterlockedCompareExchange64( | |||
| reinterpret_cast<volatile __int64*>(x), new_val, old_val) != | |||
| old_val); | |||
| return static_cast<T>(new_val); | |||
| #endif // _M_X64 | |||
| } | |||
| static inline T compare_exchange(T volatile* x, | |||
| const T new_val, | |||
| const T expected_val) { | |||
| return static_cast<T>(_InterlockedCompareExchange64( | |||
| reinterpret_cast<volatile __int64*>(x), | |||
| static_cast<const __int64>(new_val), | |||
| static_cast<const __int64>(expected_val))); | |||
| } | |||
| static inline T exchange(T volatile* x, const T new_val) { | |||
| #if defined(_M_X64) | |||
| return static_cast<T>( | |||
| _InterlockedExchange64(reinterpret_cast<volatile __int64*>(x), | |||
| static_cast<const __int64>(new_val))); | |||
| #else | |||
| // There's no _InterlockedExchange64 for 32-bit x86. | |||
| __int64 old_val; | |||
| do { | |||
| old_val = static_cast<__int64>(*x); | |||
| } while (_InterlockedCompareExchange64( | |||
| reinterpret_cast<volatile __int64*>(x), new_val, old_val) != | |||
| old_val); | |||
| return static_cast<T>(old_val); | |||
| #endif // _M_X64 | |||
| } | |||
| }; | |||
| } // namespace msvc | |||
| } // namespace atomic | |||
| #endif // ATOMIC_ATOMIC_MSVC_H_ | |||
| @@ -1,172 +1,45 @@ | |||
| /* Declarations for getopt. | |||
| Copyright (C) 1989,90,91,92,93,94,96,97,98 Free Software Foundation, Inc. | |||
| This file is part of the GNU C Library. | |||
| #ifndef _GETOPT_H_ | |||
| #define _GETOPT_H_ | |||
| The GNU C Library is free software; you can redistribute it and/or | |||
| modify it under the terms of the GNU Library General Public License as | |||
| published by the Free Software Foundation; either version 2 of the | |||
| License, or (at your option) any later version. | |||
| #include "JackCompilerDeps.h" | |||
| The GNU C Library is distributed in the hope that it will be useful, | |||
| but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
| Library General Public License for more details. | |||
| You should have received a copy of the GNU Library General Public | |||
| License along with the GNU C Library; see the file COPYING.LIB. If not, | |||
| write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, | |||
| Boston, MA 02111-1307, USA. */ | |||
| #ifndef _GETOPT_H | |||
| #ifndef __need_getopt | |||
| # define _GETOPT_H 1 | |||
| #endif | |||
| #ifdef __cplusplus | |||
| extern "C" | |||
| struct option /* specification for a long form option... */ | |||
| { | |||
| #endif | |||
| /* For communication from `getopt' to the caller. | |||
| When `getopt' finds an option that takes an argument, | |||
| the argument value is returned here. | |||
| Also, when `ordering' is RETURN_IN_ORDER, | |||
| each non-option ARGV-element is returned here. */ | |||
| extern char *optarg; | |||
| /* Index in ARGV of the next element to be scanned. | |||
| This is used for communication to and from the caller | |||
| and for communication between successive calls to `getopt'. | |||
| On entry to `getopt', zero means this is the first call; initialize. | |||
| When `getopt' returns -1, this is the index of the first of the | |||
| non-option elements that the caller should itself scan. | |||
| Otherwise, `optind' communicates from one call to the next | |||
| how much of ARGV has been scanned so far. */ | |||
| extern int optind; | |||
| /* Callers store zero here to inhibit the error message `getopt' prints | |||
| for unrecognized options. */ | |||
| extern int opterr; | |||
| const char *name; /* option name, without leading hyphens */ | |||
| int has_arg; /* does it take an argument? */ | |||
| int *flag; /* where to save its status, or NULL */ | |||
| int val; /* its associated status value */ | |||
| }; | |||
| /* Set to an option character which was unrecognized. */ | |||
| extern int optopt; | |||
| #ifndef __need_getopt | |||
| /* Describe the long-named options requested by the application. | |||
| The LONG_OPTIONS argument to getopt_long or getopt_long_only is a vector | |||
| of `struct option' terminated by an element containing a name which is | |||
| zero. | |||
| The field `has_arg' is: | |||
| no_argument (or 0) if the option does not take an argument, | |||
| required_argument (or 1) if the option requires an argument, | |||
| optional_argument (or 2) if the option takes an optional argument. | |||
| If the field `flag' is not NULL, it points to a variable that is set | |||
| to the value given in the field `val' when the option is found, but | |||
| left unchanged if the option is not found. | |||
| To have a long-named option do something other than set an `int' to | |||
| a compiled-in constant, such as set a value from `optarg', set the | |||
| option's `flag' field to zero and its `val' field to a nonzero | |||
| value (the equivalent single-letter option character, if there is | |||
| one). For long options that have a zero `flag' field, `getopt' | |||
| returns the contents of the `val' field. */ | |||
| struct option { | |||
| # if defined __STDC__ && __STDC__ | |||
| const char *name; | |||
| # else | |||
| char *name; | |||
| # endif | |||
| /* has_arg can't be an enum because some compilers complain about | |||
| type mismatches in all the code that assumes it is an int. */ | |||
| int has_arg; | |||
| int *flag; | |||
| int val; | |||
| }; | |||
| /* Names for the values of the `has_arg' field of `struct option'. */ | |||
| # define no_argument 0 | |||
| # define required_argument 1 | |||
| # define optional_argument 2 | |||
| #endif /* need getopt */ | |||
| /* Get definitions and prototypes for functions to process the | |||
| arguments in ARGV (ARGC of them, minus the program name) for | |||
| options given in OPTS. | |||
| Return the option character from OPTS just read. Return -1 when | |||
| there are no more options. For unrecognized options, or options | |||
| missing arguments, `optopt' is set to the option letter, and '?' is | |||
| returned. | |||
| The OPTS string is a list of characters which are recognized option | |||
| letters, optionally followed by colons, specifying that that letter | |||
| takes an argument, to be placed in `optarg'. | |||
| If a letter in OPTS is followed by two colons, its argument is | |||
| optional. This behavior is specific to the GNU `getopt'. | |||
| The argument `--' causes premature termination of argument | |||
| scanning, explicitly telling `getopt' that there are no more | |||
| options. | |||
| If OPTS begins with `--', then non-option arguments are treated as | |||
| arguments to the option '\0'. This behavior is specific to the GNU | |||
| `getopt'. */ | |||
| enum /* permitted values for its `has_arg' field... */ | |||
| { | |||
| no_argument = 0, /* option never takes an argument */ | |||
| required_argument, /* option always requires an argument */ | |||
| optional_argument /* option may take an argument */ | |||
| }; | |||
| #if defined __STDC__ && __STDC__ | |||
| # ifdef __GNU_LIBRARY__ | |||
| /* Many other libraries have conflicting prototypes for getopt, with | |||
| differences in the consts, in stdlib.h. To avoid compilation | |||
| errors, only prototype getopt for the GNU C library. */ | |||
| extern int getopt (int __argc, char *const *__argv, const char *__shortopts); | |||
| # else /* not __GNU_LIBRARY__ */ | |||
| extern int getopt (); | |||
| # endif /* __GNU_LIBRARY__ */ | |||
| #ifdef __cplusplus | |||
| extern "C" { | |||
| #endif | |||
| # ifndef __need_getopt | |||
| extern char *optarg; /* argument associated with option */ | |||
| SERVER_EXPORT extern int optind; /* index into parent argv vector */ | |||
| SERVER_EXPORT extern int optopt; | |||
| SERVER_EXPORT extern int opterr; | |||
| extern int getopt_long (int argc, char ** argv, const char * shortopts, | |||
| const struct option * longopts, int * longind); | |||
| SERVER_EXPORT extern int getopt(int nargc, char * const *nargv, const char *options); | |||
| extern int getopt_long_only (int __argc, char *const *__argv, | |||
| const char *__shortopts, | |||
| const struct option *__longopts, int *__longind); | |||
| SERVER_EXPORT extern int getopt_long_only(int nargc, char * const *nargv, const char *options, | |||
| const struct option *long_options, int *idx); | |||
| /* Internal only. Users should not call this directly. */ | |||
| extern int _getopt_internal (int __argc, char *const *__argv, | |||
| const char *__shortopts, | |||
| const struct option *__longopts, int *__longind, | |||
| int __long_only); | |||
| # endif | |||
| #else /* not __STDC__ */ | |||
| extern int getopt (); | |||
| # ifndef __need_getopt | |||
| extern int getopt_long (); | |||
| extern int getopt_long_only (); | |||
| SERVER_EXPORT extern int getopt_long(int nargc, char * const *nargv, const char *options, | |||
| const struct option *long_options, int *idx); | |||
| extern int _getopt_internal (); | |||
| # endif | |||
| #endif /* __STDC__ */ | |||
| SERVER_EXPORT extern int getopt_long_only(int nargc, char * const *nargv, const char *options, | |||
| const struct option *long_options, int *idx); | |||
| #ifdef __cplusplus | |||
| #ifdef __cplusplus | |||
| } | |||
| #endif | |||
| /* Make sure we later can get all the definitions and declarations. */ | |||
| #undef __need_getopt | |||
| #endif /* getopt.h */ | |||
| #endif | |||
| @@ -1,188 +0,0 @@ | |||
| /* getopt_long and getopt_long_only entry points for GNU getopt. | |||
| Copyright (C) 1987,88,89,90,91,92,93,94,96,97,98 | |||
| Free Software Foundation, Inc. | |||
| This file is part of the GNU C Library. | |||
| The GNU C Library is free software; you can redistribute it and/or | |||
| modify it under the terms of the GNU Library General Public License as | |||
| published by the Free Software Foundation; either version 2 of the | |||
| License, or (at your option) any later version. | |||
| The GNU C Library is distributed in the hope that it will be useful, | |||
| but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
| Library General Public License for more details. | |||
| You should have received a copy of the GNU Library General Public | |||
| License along with the GNU C Library; see the file COPYING.LIB. If not, | |||
| write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, | |||
| Boston, MA 02111-1307, USA. */ | |||
| #ifdef HAVE_CONFIG_H | |||
| #include "config.h" | |||
| #endif | |||
| #include "getopt.h" | |||
| #if !defined __STDC__ || !__STDC__ | |||
| /* This is a separate conditional since some stdc systems | |||
| reject `defined (const)'. */ | |||
| #ifndef const | |||
| #define const | |||
| #endif | |||
| #endif | |||
| #include <stdio.h> | |||
| /* Comment out all this code if we are using the GNU C Library, and are not | |||
| actually compiling the library itself. This code is part of the GNU C | |||
| Library, but also included in many other GNU distributions. Compiling | |||
| and linking in this code is a waste when using the GNU C library | |||
| (especially if it is a shared library). Rather than having every GNU | |||
| program understand `configure --with-gnu-libc' and omit the object files, | |||
| it is simpler to just do this in the source for each such file. */ | |||
| #define GETOPT_INTERFACE_VERSION 2 | |||
| #if !defined _LIBC && defined __GLIBC__ && __GLIBC__ >= 2 | |||
| #include <gnu-versions.h> | |||
| #if _GNU_GETOPT_INTERFACE_VERSION == GETOPT_INTERFACE_VERSION | |||
| #define ELIDE_CODE | |||
| #endif | |||
| #endif | |||
| #ifndef ELIDE_CODE | |||
| /* This needs to come after some library #include | |||
| to get __GNU_LIBRARY__ defined. */ | |||
| #ifdef __GNU_LIBRARY__ | |||
| #include <stdlib.h> | |||
| #endif | |||
| #ifndef NULL | |||
| #define NULL 0 | |||
| #endif | |||
| int | |||
| getopt_long (argc, argv, options, long_options, opt_index) | |||
| int argc; | |||
| char **argv; | |||
| const char *options; | |||
| const struct option *long_options; | |||
| int *opt_index; | |||
| { | |||
| return _getopt_internal (argc, argv, options, long_options, opt_index, 0); | |||
| } | |||
| /* Like getopt_long, but '-' as well as '--' can indicate a long option. | |||
| If an option that starts with '-' (not '--') doesn't match a long option, | |||
| but does match a short option, it is parsed as a short option | |||
| instead. */ | |||
| int | |||
| getopt_long_only (argc, argv, options, long_options, opt_index) | |||
| int argc; | |||
| char *const *argv; | |||
| const char *options; | |||
| const struct option *long_options; | |||
| int *opt_index; | |||
| { | |||
| return _getopt_internal (argc, argv, options, long_options, opt_index, 1); | |||
| } | |||
| #endif /* Not ELIDE_CODE. */ | |||
| #ifdef TEST | |||
| #include <stdio.h> | |||
| int | |||
| main (argc, argv) | |||
| int argc; | |||
| char **argv; | |||
| { | |||
| int c; | |||
| int digit_optind = 0; | |||
| while (1) | |||
| { | |||
| int this_option_optind = optind ? optind : 1; | |||
| int option_index = 0; | |||
| static struct option long_options[] = | |||
| { | |||
| {"add", 1, 0, 0}, | |||
| {"append", 0, 0, 0}, | |||
| {"delete", 1, 0, 0}, | |||
| {"verbose", 0, 0, 0}, | |||
| {"create", 0, 0, 0}, | |||
| {"file", 1, 0, 0}, | |||
| {0, 0, 0, 0} | |||
| }; | |||
| c = getopt_long (argc, argv, "abc:d:0123456789", | |||
| long_options, &option_index); | |||
| if (c == -1) | |||
| break; | |||
| switch (c) | |||
| { | |||
| case 0: | |||
| printf ("option %s", long_options[option_index].name); | |||
| if (optarg) | |||
| printf (" with arg %s", optarg); | |||
| printf ("\n"); | |||
| break; | |||
| case '0': | |||
| case '1': | |||
| case '2': | |||
| case '3': | |||
| case '4': | |||
| case '5': | |||
| case '6': | |||
| case '7': | |||
| case '8': | |||
| case '9': | |||
| if (digit_optind != 0 && digit_optind != this_option_optind) | |||
| printf ("digits occur in two different argv-elements.\n"); | |||
| digit_optind = this_option_optind; | |||
| printf ("option %c\n", c); | |||
| break; | |||
| case 'a': | |||
| printf ("option a\n"); | |||
| break; | |||
| case 'b': | |||
| printf ("option b\n"); | |||
| break; | |||
| case 'c': | |||
| printf ("option c with value `%s'\n", optarg); | |||
| break; | |||
| case 'd': | |||
| printf ("option d with value `%s'\n", optarg); | |||
| break; | |||
| case '?': | |||
| break; | |||
| default: | |||
| printf ("?? getopt returned character code 0%o ??\n", c); | |||
| } | |||
| } | |||
| if (optind < argc) | |||
| { | |||
| printf ("non-option ARGV-elements: "); | |||
| while (optind < argc) | |||
| printf ("%s ", argv[optind++]); | |||
| printf ("\n"); | |||
| } | |||
| exit (0); | |||
| } | |||
| #endif /* TEST */ | |||
| @@ -1,215 +0,0 @@ | |||
| <?xml version="1.0" encoding="UTF-8" standalone="yes" ?> | |||
| <CodeBlocks_project_file> | |||
| <FileVersion major="1" minor="6" /> | |||
| <Project> | |||
| <Option title="jack_audioadapter" /> | |||
| <Option pch_mode="2" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Build> | |||
| <Target title="Win32 Release 64bits"> | |||
| <Option output="Release64\bin\jack\audioadapter" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Release64\" /> | |||
| <Option type="3" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-O2" /> | |||
| <Add option="-Wall" /> | |||
| <Add option="-DBUILD_DLL" /> | |||
| <Add option="-D__SMP__" /> | |||
| <Add option="-DSERVER_SIDE" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| <Add directory="portaudio" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add library="libjackserver64" /> | |||
| <Add library="libportaudio_x86_64.a" /> | |||
| <Add library="libsamplerate_x86_64.a" /> | |||
| <Add library="winmm" /> | |||
| <Add library="ole32" /> | |||
| <Add directory="Release64\bin" /> | |||
| </Linker> | |||
| </Target> | |||
| <Target title="Win32 Debug 64bits"> | |||
| <Option output="Debug64\bin\jack\audioadapter" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Debug64\" /> | |||
| <Option type="3" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-Wall" /> | |||
| <Add option="-g" /> | |||
| <Add option="-DBUILD_DLL" /> | |||
| <Add option="-D__SMP__" /> | |||
| <Add option="-DSERVER_SIDE" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| <Add directory="portaudio" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add library="libjackserver64" /> | |||
| <Add library="libportaudio_x86_64.a" /> | |||
| <Add library="libsamplerate_x86_64.a" /> | |||
| <Add library="winmm" /> | |||
| <Add library="ole32" /> | |||
| <Add directory="Debug64\bin" /> | |||
| </Linker> | |||
| </Target> | |||
| <Target title="Win32 Profiling 64bits"> | |||
| <Option output="Release64\bin\jack\audioadapter" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Release64\" /> | |||
| <Option type="3" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-O2" /> | |||
| <Add option="-Wall" /> | |||
| <Add option="-DBUILD_DLL" /> | |||
| <Add option="-D__SMP__" /> | |||
| <Add option="-DJACK_MONITOR" /> | |||
| <Add option="-DSERVER_SIDE" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| <Add directory="portaudio" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add library="libjackserver64" /> | |||
| <Add library="libportaudio_x86_64.a" /> | |||
| <Add library="libsamplerate_x86_64.a" /> | |||
| <Add library="winmm" /> | |||
| <Add library="ole32" /> | |||
| <Add directory="Release64\bin" /> | |||
| </Linker> | |||
| </Target> | |||
| <Target title="Win32 Release 32bits"> | |||
| <Option output="Release\bin\jack\audioadapter" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Release\" /> | |||
| <Option type="3" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-O2" /> | |||
| <Add option="-Wall" /> | |||
| <Add option="-m32" /> | |||
| <Add option="-DBUILD_DLL" /> | |||
| <Add option="-D__SMP__" /> | |||
| <Add option="-DSERVER_SIDE" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| <Add directory="portaudio" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add option="-m32" /> | |||
| <Add library="libjackserver" /> | |||
| <Add library="libportaudio_x86.a" /> | |||
| <Add library="libsamplerate_x86.a" /> | |||
| <Add library="winmm" /> | |||
| <Add library="ole32" /> | |||
| <Add directory="Release\bin" /> | |||
| </Linker> | |||
| <ExtraCommands> | |||
| <Add before="windres -F pe-i386 -O coff -o Release/jackaudioadapter.res jackaudioadapter.rc" /> | |||
| </ExtraCommands> | |||
| </Target> | |||
| <Target title="Win32 Debug 32bits"> | |||
| <Option output="Debug\bin\jack\audioadapter" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Debug\" /> | |||
| <Option type="3" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-Wall" /> | |||
| <Add option="-g" /> | |||
| <Add option="-m32" /> | |||
| <Add option="-DBUILD_DLL" /> | |||
| <Add option="-D__SMP__" /> | |||
| <Add option="-DSERVER_SIDE" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| <Add directory="portaudio" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add option="-m32" /> | |||
| <Add library="libjackserver" /> | |||
| <Add library="libportaudio_x86.a" /> | |||
| <Add library="libsamplerate_x86.a" /> | |||
| <Add library="winmm" /> | |||
| <Add library="ole32" /> | |||
| <Add directory="Debug\bin" /> | |||
| </Linker> | |||
| <ExtraCommands> | |||
| <Add before="windres -F pe-i386 -O coff -o Debug/jackaudioadapter.res jackaudioadapter.rc" /> | |||
| </ExtraCommands> | |||
| </Target> | |||
| <Target title="Win32 Profiling 32bits"> | |||
| <Option output="Release\bin\jack\audioadapter" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Release\" /> | |||
| <Option type="3" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-O2" /> | |||
| <Add option="-Wall" /> | |||
| <Add option="-m32" /> | |||
| <Add option="-DBUILD_DLL" /> | |||
| <Add option="-D__SMP__" /> | |||
| <Add option="-DJACK_MONITOR" /> | |||
| <Add option="-DSERVER_SIDE" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| <Add directory="portaudio" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add option="-m32" /> | |||
| <Add library="libjackserver" /> | |||
| <Add library="libportaudio_x86.a" /> | |||
| <Add library="libsamplerate_x86.a" /> | |||
| <Add library="winmm" /> | |||
| <Add library="ole32" /> | |||
| <Add directory="Release\bin" /> | |||
| </Linker> | |||
| <ExtraCommands> | |||
| <Add before="windres -F pe-i386 -O coff -o Release/jackaudioadapter.res jackaudioadapter.rc" /> | |||
| </ExtraCommands> | |||
| </Target> | |||
| </Build> | |||
| <Compiler> | |||
| <Add option="-Wall" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add library="kernel32" /> | |||
| <Add library="user32" /> | |||
| <Add library="gdi32" /> | |||
| <Add library="winspool" /> | |||
| <Add library="comdlg32" /> | |||
| <Add library="advapi32" /> | |||
| <Add library="shell32" /> | |||
| <Add library="ole32" /> | |||
| <Add library="oleaut32" /> | |||
| <Add library="uuid" /> | |||
| <Add library="odbc32" /> | |||
| <Add library="odbccp32" /> | |||
| </Linker> | |||
| <Unit filename="..\common\JackAudioAdapter.cpp" /> | |||
| <Unit filename="..\common\JackAudioAdapterFactory.cpp" /> | |||
| <Unit filename="..\common\JackAudioAdapterInterface.cpp" /> | |||
| <Unit filename="..\common\JackLibSampleRateResampler.cpp" /> | |||
| <Unit filename="..\common\JackResampler.cpp" /> | |||
| <Unit filename="jackaudioadapter.rc"> | |||
| <Option compilerVar="WINDRES" /> | |||
| </Unit> | |||
| <Unit filename="portaudio\JackPortAudioAdapter.cpp" /> | |||
| <Unit filename="portaudio\JackPortAudioDevices.cpp" /> | |||
| <Extensions> | |||
| <AutoVersioning> | |||
| <Scheme minor_max="10" build_max="0" rev_max="0" rev_rand_max="10" build_times_to_increment_minor="100" /> | |||
| <Settings autoincrement="1" date_declarations="1" do_auto_increment="0" ask_to_increment="0" language="C++" svn="0" svn_directory="" header_path="version.h" /> | |||
| <Changes_Log show_changes_editor="0" app_title="released version %M.%m.%b of %p" changeslog_path="ChangesLog.txt" /> | |||
| </AutoVersioning> | |||
| <code_completion /> | |||
| <envvars /> | |||
| <debugger /> | |||
| </Extensions> | |||
| </Project> | |||
| </CodeBlocks_project_file> | |||
| @@ -1,163 +0,0 @@ | |||
| <?xml version="1.0" encoding="UTF-8" standalone="yes" ?> | |||
| <CodeBlocks_project_file> | |||
| <FileVersion major="1" minor="6" /> | |||
| <Project> | |||
| <Option title="jack_connect" /> | |||
| <Option pch_mode="2" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Build> | |||
| <Target title="Win32 Release 64bits"> | |||
| <Option output="Release64\bin\jack_connect" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Release64\" /> | |||
| <Option type="1" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-O2" /> | |||
| <Add option="-Wall" /> | |||
| <Add directory="..\example-clients" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add directory="Release64\bin" /> | |||
| <Add library="libjack64" /> | |||
| </Linker> | |||
| </Target> | |||
| <Target title="Win32 Debug 64bits"> | |||
| <Option output="Debug64\bin\jack_connect" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Debug64\" /> | |||
| <Option type="1" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-Wall" /> | |||
| <Add option="-g" /> | |||
| <Add directory="..\example-clients" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add directory="Debug64\bin" /> | |||
| <Add library="libjack64" /> | |||
| </Linker> | |||
| </Target> | |||
| <Target title="Win32 Profiling 64bits"> | |||
| <Option output="Release64\bin\jack_connect" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Release64\" /> | |||
| <Option type="1" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-O2" /> | |||
| <Add option="-Wall" /> | |||
| <Add option="-DJACK_MONITOR" /> | |||
| <Add directory="..\example-clients" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add directory="Release64\bin" /> | |||
| <Add library="libjack64" /> | |||
| </Linker> | |||
| </Target> | |||
| <Target title="Win32 Release 32bits"> | |||
| <Option output="Release\bin\jack_connect" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Release\" /> | |||
| <Option type="1" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-O2" /> | |||
| <Add option="-Wall" /> | |||
| <Add option="-m32" /> | |||
| <Add directory="..\example-clients" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add option="-m32" /> | |||
| <Add directory="Release\bin" /> | |||
| <Add library="libjack" /> | |||
| </Linker> | |||
| </Target> | |||
| <Target title="Win32 Debug 32bits"> | |||
| <Option output="Debug\bin\jack_connect" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Debug\" /> | |||
| <Option type="1" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-Wall" /> | |||
| <Add option="-g" /> | |||
| <Add option="-m32" /> | |||
| <Add directory="..\example-clients" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add option="-m32" /> | |||
| <Add directory="Release\bin" /> | |||
| <Add library="libjack" /> | |||
| </Linker> | |||
| </Target> | |||
| <Target title="Win32 Profiling 32bits"> | |||
| <Option output="Release\bin\jack_connect" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Release\" /> | |||
| <Option type="1" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-O2" /> | |||
| <Add option="-Wall" /> | |||
| <Add option="-m32" /> | |||
| <Add option="-DJACK_MONITOR" /> | |||
| <Add directory="..\example-clients" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add option="-m32" /> | |||
| <Add directory="Release\bin" /> | |||
| <Add library="libjack" /> | |||
| </Linker> | |||
| </Target> | |||
| </Build> | |||
| <Compiler> | |||
| <Add option="-Wall" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add library="kernel32" /> | |||
| <Add library="user32" /> | |||
| <Add library="gdi32" /> | |||
| <Add library="winspool" /> | |||
| <Add library="comdlg32" /> | |||
| <Add library="advapi32" /> | |||
| <Add library="shell32" /> | |||
| <Add library="ole32" /> | |||
| <Add library="oleaut32" /> | |||
| <Add library="uuid" /> | |||
| <Add library="odbc32" /> | |||
| <Add library="odbccp32" /> | |||
| </Linker> | |||
| <Unit filename="..\example-clients\connect.c"> | |||
| <Option compilerVar="CC" /> | |||
| </Unit> | |||
| <Unit filename="getopt.c"> | |||
| <Option compilerVar="CC" /> | |||
| </Unit> | |||
| <Unit filename="getopt1.c"> | |||
| <Option compilerVar="CC" /> | |||
| </Unit> | |||
| <Extensions> | |||
| <code_completion /> | |||
| <debugger /> | |||
| <AutoVersioning> | |||
| <Scheme minor_max="10" build_max="0" rev_max="0" rev_rand_max="10" build_times_to_increment_minor="100" /> | |||
| <Settings autoincrement="1" date_declarations="1" do_auto_increment="0" ask_to_increment="0" language="C++" svn="0" svn_directory="" header_path="version.h" /> | |||
| <Changes_Log show_changes_editor="0" app_title="released version %M.%m.%b of %p" changeslog_path="ChangesLog.txt" /> | |||
| </AutoVersioning> | |||
| <envvars /> | |||
| </Extensions> | |||
| </Project> | |||
| </CodeBlocks_project_file> | |||
| @@ -1,167 +0,0 @@ | |||
| <?xml version="1.0" encoding="UTF-8" standalone="yes" ?> | |||
| <CodeBlocks_project_file> | |||
| <FileVersion major="1" minor="6" /> | |||
| <Project> | |||
| <Option title="jack_disconnect" /> | |||
| <Option pch_mode="2" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Build> | |||
| <Target title="Win32 Release 64bits"> | |||
| <Option output="Release64\bin\jack_disconnect" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Release64\" /> | |||
| <Option type="1" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-O2" /> | |||
| <Add option="-Wall" /> | |||
| <Add directory="..\example-clients" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add directory="Release64\bin" /> | |||
| <Add library="libjack64" /> | |||
| </Linker> | |||
| </Target> | |||
| <Target title="Win32 Debug 64bits"> | |||
| <Option output="Debug64\bin\jack_disconnect" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Debug64\" /> | |||
| <Option type="1" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-Wall" /> | |||
| <Add option="-g" /> | |||
| <Add directory="..\example-clients" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add directory="Debug64\bin" /> | |||
| <Add library="libjack64" /> | |||
| </Linker> | |||
| </Target> | |||
| <Target title="Win32 Profiling 64bits"> | |||
| <Option output="Release64\bin\jack_disconnect" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Release64\" /> | |||
| <Option type="1" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-O2" /> | |||
| <Add option="-Wall" /> | |||
| <Add option="-DJACK_MONITOR" /> | |||
| <Add directory="..\example-clients" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add directory="Release64\bin" /> | |||
| <Add library="libjack64" /> | |||
| </Linker> | |||
| </Target> | |||
| <Target title="Win32 Release 32bits"> | |||
| <Option output="Release\bin\jack_disconnect" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Release\" /> | |||
| <Option type="1" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-O2" /> | |||
| <Add option="-Wall" /> | |||
| <Add option="-m32" /> | |||
| <Add directory="..\example-clients" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add option="-m32" /> | |||
| <Add directory="Release\bin" /> | |||
| <Add library="libjack" /> | |||
| </Linker> | |||
| </Target> | |||
| <Target title="Win32 Debug 32bits"> | |||
| <Option output="Debug\bin\jack_disconnect" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Debug\" /> | |||
| <Option type="1" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-Wall" /> | |||
| <Add option="-g" /> | |||
| <Add option="-m32" /> | |||
| <Add directory="..\example-clients" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add option="-m32" /> | |||
| <Add directory="Debug\bin" /> | |||
| <Add library="libjack" /> | |||
| </Linker> | |||
| </Target> | |||
| <Target title="Win32 Profiling 32bits"> | |||
| <Option output="Release\bin\jack_disconnect" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Release\" /> | |||
| <Option type="1" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-O2" /> | |||
| <Add option="-Wall" /> | |||
| <Add option="-m32" /> | |||
| <Add option="-DJACK_MONITOR" /> | |||
| <Add directory="..\example-clients" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add option="-m32" /> | |||
| <Add directory="Release\bin" /> | |||
| <Add library="libjack" /> | |||
| </Linker> | |||
| </Target> | |||
| </Build> | |||
| <Compiler> | |||
| <Add option="-Wall" /> | |||
| <Add directory="..\example-clients" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add library="kernel32" /> | |||
| <Add library="user32" /> | |||
| <Add library="gdi32" /> | |||
| <Add library="winspool" /> | |||
| <Add library="comdlg32" /> | |||
| <Add library="advapi32" /> | |||
| <Add library="shell32" /> | |||
| <Add library="ole32" /> | |||
| <Add library="oleaut32" /> | |||
| <Add library="uuid" /> | |||
| <Add library="odbc32" /> | |||
| <Add library="odbccp32" /> | |||
| </Linker> | |||
| <Unit filename="..\example-clients\connect.c"> | |||
| <Option compilerVar="CC" /> | |||
| </Unit> | |||
| <Unit filename="getopt.c"> | |||
| <Option compilerVar="CC" /> | |||
| </Unit> | |||
| <Unit filename="getopt1.c"> | |||
| <Option compilerVar="CC" /> | |||
| </Unit> | |||
| <Extensions> | |||
| <code_completion /> | |||
| <debugger /> | |||
| <envvars /> | |||
| <AutoVersioning> | |||
| <Scheme minor_max="10" build_max="0" rev_max="0" rev_rand_max="10" build_times_to_increment_minor="100" /> | |||
| <Settings autoincrement="1" date_declarations="1" do_auto_increment="0" ask_to_increment="0" language="C++" svn="0" svn_directory="" header_path="version.h" /> | |||
| <Changes_Log show_changes_editor="0" app_title="released version %M.%m.%b of %p" changeslog_path="ChangesLog.txt" /> | |||
| </AutoVersioning> | |||
| </Extensions> | |||
| </Project> | |||
| </CodeBlocks_project_file> | |||
| @@ -1,173 +0,0 @@ | |||
| <?xml version="1.0" encoding="UTF-8" standalone="yes" ?> | |||
| <CodeBlocks_project_file> | |||
| <FileVersion major="1" minor="6" /> | |||
| <Project> | |||
| <Option title="jack_dummy" /> | |||
| <Option pch_mode="2" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Build> | |||
| <Target title="Win32 Release 64bits"> | |||
| <Option output="Release64\bin\jack\jack_dummy" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Release64\" /> | |||
| <Option type="3" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-O2" /> | |||
| <Add option="-Wall" /> | |||
| <Add option="-DBUILD_DLL" /> | |||
| <Add option="-DSERVER_SIDE" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add library="libjackserver64" /> | |||
| <Add directory="Release64\bin" /> | |||
| </Linker> | |||
| </Target> | |||
| <Target title="Win32 Debug 64bits"> | |||
| <Option output="Debug64\bin\jack\jack_dummy" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Debug64\" /> | |||
| <Option type="3" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-Wall" /> | |||
| <Add option="-g" /> | |||
| <Add option="-DBUILD_DLL" /> | |||
| <Add option="-DSERVER_SIDE" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add library="libjackserver64" /> | |||
| <Add directory="Debug64\bin" /> | |||
| </Linker> | |||
| </Target> | |||
| <Target title="Win32 Profiling 64bits"> | |||
| <Option output="Release64\bin\jack\jack_dummy" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Release64\" /> | |||
| <Option type="3" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-O2" /> | |||
| <Add option="-Wall" /> | |||
| <Add option="-DBUILD_DLL" /> | |||
| <Add option="-DJACK_MONITOR" /> | |||
| <Add option="-DSERVER_SIDE" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add library="libjackserver64" /> | |||
| <Add directory="Release64\bin" /> | |||
| </Linker> | |||
| </Target> | |||
| <Target title="Win32 Release 32bits"> | |||
| <Option output="Release\bin\jack\jack_dummy" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Release\" /> | |||
| <Option type="3" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-O2" /> | |||
| <Add option="-Wall" /> | |||
| <Add option="-m32" /> | |||
| <Add option="-DBUILD_DLL" /> | |||
| <Add option="-DSERVER_SIDE" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add option="-m32" /> | |||
| <Add library="libjackserver" /> | |||
| <Add directory="Release\bin" /> | |||
| </Linker> | |||
| <ExtraCommands> | |||
| <Add before="windres -F pe-i386 -O coff -o Release/jackdummydriver.res jackdummydriver.rc" /> | |||
| </ExtraCommands> | |||
| </Target> | |||
| <Target title="Win32 Debug 32bits"> | |||
| <Option output="Debug\bin\jack\jack_dummy" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Debug\" /> | |||
| <Option type="3" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-Wall" /> | |||
| <Add option="-g" /> | |||
| <Add option="-m32" /> | |||
| <Add option="-DBUILD_DLL" /> | |||
| <Add option="-DSERVER_SIDE" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add option="-m32" /> | |||
| <Add library="libjackserver" /> | |||
| <Add directory="Debug\bin" /> | |||
| </Linker> | |||
| <ExtraCommands> | |||
| <Add before="windres -F pe-i386 -O coff -o Debug/jackdummydriver.res jackdummydriver.rc" /> | |||
| </ExtraCommands> | |||
| </Target> | |||
| <Target title="Win32 Profiling 32bits"> | |||
| <Option output="Release\bin\jack\jack_dummy" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Release\" /> | |||
| <Option type="3" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-O2" /> | |||
| <Add option="-Wall" /> | |||
| <Add option="-m32" /> | |||
| <Add option="-DBUILD_DLL" /> | |||
| <Add option="-DJACK_MONITOR" /> | |||
| <Add option="-DSERVER_SIDE" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add option="-m32" /> | |||
| <Add library="libjackserver" /> | |||
| <Add directory="Release\bin" /> | |||
| </Linker> | |||
| <ExtraCommands> | |||
| <Add before="windres -F pe-i386 -O coff -o Release/jackdummydriver.res jackdummydriver.rc" /> | |||
| </ExtraCommands> | |||
| </Target> | |||
| </Build> | |||
| <Compiler> | |||
| <Add option="-Wall" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add library="kernel32" /> | |||
| <Add library="user32" /> | |||
| <Add library="gdi32" /> | |||
| <Add library="winspool" /> | |||
| <Add library="comdlg32" /> | |||
| <Add library="advapi32" /> | |||
| <Add library="shell32" /> | |||
| <Add library="ole32" /> | |||
| <Add library="oleaut32" /> | |||
| <Add library="uuid" /> | |||
| <Add library="odbc32" /> | |||
| <Add library="odbccp32" /> | |||
| </Linker> | |||
| <Unit filename="..\common\JackDummyDriver.cpp" /> | |||
| <Unit filename="jackdummydriver.rc"> | |||
| <Option compilerVar="WINDRES" /> | |||
| </Unit> | |||
| <Extensions> | |||
| <AutoVersioning> | |||
| <Scheme minor_max="10" build_max="0" rev_max="0" rev_rand_max="10" build_times_to_increment_minor="100" /> | |||
| <Settings autoincrement="1" date_declarations="1" do_auto_increment="0" ask_to_increment="0" language="C++" svn="0" svn_directory="" header_path="version.h" /> | |||
| <Changes_Log show_changes_editor="0" app_title="released version %M.%m.%b of %p" changeslog_path="ChangesLog.txt" /> | |||
| </AutoVersioning> | |||
| <code_completion /> | |||
| <envvars /> | |||
| <debugger /> | |||
| </Extensions> | |||
| </Project> | |||
| </CodeBlocks_project_file> | |||
| @@ -1,152 +0,0 @@ | |||
| <?xml version="1.0" encoding="UTF-8" standalone="yes" ?> | |||
| <CodeBlocks_project_file> | |||
| <FileVersion major="1" minor="6" /> | |||
| <Project> | |||
| <Option title="jack_latent_client" /> | |||
| <Option pch_mode="2" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Build> | |||
| <Target title="Win32 Release 64bits"> | |||
| <Option output="Release64\bin\jack_latent_client" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Release64\" /> | |||
| <Option type="1" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-O2" /> | |||
| <Add option="-Wall" /> | |||
| <Add directory="..\example-clients" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add directory="Release64\bin" /> | |||
| <Add library="libjack64" /> | |||
| </Linker> | |||
| </Target> | |||
| <Target title="Win32 Debug 64bits"> | |||
| <Option output="Debug64\bin\jack_latent_client" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Debug64\" /> | |||
| <Option type="1" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-g" /> | |||
| <Add directory="..\example-clients" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add directory="Debug64\bin" /> | |||
| <Add library="libjack64" /> | |||
| </Linker> | |||
| </Target> | |||
| <Target title="Win32 Profiling 64bits"> | |||
| <Option output="Release64\bin\jack_latent_client" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Release64\" /> | |||
| <Option type="1" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-O2" /> | |||
| <Add option="-Wall" /> | |||
| <Add directory="..\example-clients" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add directory="Release64\bin" /> | |||
| <Add library="libjack64" /> | |||
| </Linker> | |||
| </Target> | |||
| <Target title="Win32 Release 32bits"> | |||
| <Option output="Release\bin\jack_latent_client" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Release\" /> | |||
| <Option type="1" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-O2" /> | |||
| <Add option="-Wall" /> | |||
| <Add option="-m32" /> | |||
| <Add directory="..\example-clients" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add option="-m32" /> | |||
| <Add directory="Release\bin" /> | |||
| <Add library="libjack" /> | |||
| </Linker> | |||
| </Target> | |||
| <Target title="Win32 Debug 32bits"> | |||
| <Option output="Debug\bin\jack_latent_client" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Debug\" /> | |||
| <Option type="1" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-g" /> | |||
| <Add option="-m32" /> | |||
| <Add directory="..\example-clients" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add option="-m32" /> | |||
| <Add directory="Debug\bin" /> | |||
| <Add library="libjack" /> | |||
| </Linker> | |||
| </Target> | |||
| <Target title="Win32 Profiling 32bits"> | |||
| <Option output="Release\bin\jack_latent_client" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Release\" /> | |||
| <Option type="1" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-O2" /> | |||
| <Add option="-Wall" /> | |||
| <Add option="-m32" /> | |||
| <Add directory="..\example-clients" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add option="-m32" /> | |||
| <Add directory="Release\bin" /> | |||
| <Add library="libjack" /> | |||
| </Linker> | |||
| </Target> | |||
| </Build> | |||
| <Compiler> | |||
| <Add option="-Wall" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add library="kernel32" /> | |||
| <Add library="user32" /> | |||
| <Add library="gdi32" /> | |||
| <Add library="winspool" /> | |||
| <Add library="comdlg32" /> | |||
| <Add library="shell32" /> | |||
| <Add library="ole32" /> | |||
| <Add library="oleaut32" /> | |||
| <Add library="uuid" /> | |||
| <Add library="odbc32" /> | |||
| <Add library="odbccp32" /> | |||
| </Linker> | |||
| <Unit filename="..\example-clients\latent_client.c"> | |||
| <Option compilerVar="CC" /> | |||
| </Unit> | |||
| <Extensions> | |||
| <code_completion /> | |||
| <envvars /> | |||
| <debugger /> | |||
| <AutoVersioning> | |||
| <Scheme minor_max="10" build_max="0" rev_max="0" rev_rand_max="10" build_times_to_increment_minor="100" /> | |||
| <Settings autoincrement="1" date_declarations="1" do_auto_increment="0" ask_to_increment="0" language="C++" svn="0" svn_directory="" header_path="version.h" /> | |||
| <Changes_Log show_changes_editor="0" app_title="released version %M.%m.%b of %p" changeslog_path="ChangesLog.txt" /> | |||
| </AutoVersioning> | |||
| </Extensions> | |||
| </Project> | |||
| </CodeBlocks_project_file> | |||
| @@ -1,155 +0,0 @@ | |||
| <?xml version="1.0" encoding="UTF-8" standalone="yes" ?> | |||
| <CodeBlocks_project_file> | |||
| <FileVersion major="1" minor="6" /> | |||
| <Project> | |||
| <Option title="jack_load" /> | |||
| <Option pch_mode="2" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Build> | |||
| <Target title="Win32 Release 64bits"> | |||
| <Option output="Release64\bin\jack_load" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Release64\" /> | |||
| <Option type="1" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-O2" /> | |||
| <Add option="-Wall" /> | |||
| <Add directory="..\example-clients" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add directory="Release64\bin" /> | |||
| <Add library="libjack64" /> | |||
| </Linker> | |||
| </Target> | |||
| <Target title="Win32 Debug 64bits"> | |||
| <Option output="Debug64\bin\jack_load" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Debug64\" /> | |||
| <Option type="1" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-g" /> | |||
| <Add directory="..\example-clients" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add directory="Debug64\bin" /> | |||
| <Add library="libjack64" /> | |||
| </Linker> | |||
| </Target> | |||
| <Target title="Win32 Profiling 64bits"> | |||
| <Option output="Release64\bin\jack_load" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Release64\" /> | |||
| <Option type="1" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-O2" /> | |||
| <Add option="-Wall" /> | |||
| <Add option="-DJACK_MONITOR" /> | |||
| <Add directory="..\example-clients" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add directory="Release64\bin" /> | |||
| <Add library="libjack64" /> | |||
| </Linker> | |||
| </Target> | |||
| <Target title="Win32 Release 32bits"> | |||
| <Option output="Release\bin\jack_load" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Release\" /> | |||
| <Option type="1" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-O2" /> | |||
| <Add option="-Wall" /> | |||
| <Add option="-m32" /> | |||
| <Add directory="..\example-clients" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add option="-m32" /> | |||
| <Add directory="Release\bin" /> | |||
| <Add library="libjack" /> | |||
| </Linker> | |||
| </Target> | |||
| <Target title="Win32 Debug 32bits"> | |||
| <Option output="Debug\bin\jack_load" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Debug\" /> | |||
| <Option type="1" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-g" /> | |||
| <Add option="-m32" /> | |||
| <Add directory="..\example-clients" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add option="-m32" /> | |||
| <Add directory="Debug\bin" /> | |||
| <Add library="libjack" /> | |||
| </Linker> | |||
| </Target> | |||
| <Target title="Win32 Profiling 32bits"> | |||
| <Option output="Release\bin\jack_load" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Release\" /> | |||
| <Option type="1" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-O2" /> | |||
| <Add option="-Wall" /> | |||
| <Add option="-m32" /> | |||
| <Add option="-DJACK_MONITOR" /> | |||
| <Add directory="..\example-clients" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add option="-m32" /> | |||
| <Add directory="Release\bin" /> | |||
| <Add library="libjack" /> | |||
| </Linker> | |||
| </Target> | |||
| </Build> | |||
| <Compiler> | |||
| <Add option="-Wall" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add library="kernel32" /> | |||
| <Add library="user32" /> | |||
| <Add library="gdi32" /> | |||
| <Add library="winspool" /> | |||
| <Add library="comdlg32" /> | |||
| <Add library="advapi32" /> | |||
| <Add library="shell32" /> | |||
| <Add library="ole32" /> | |||
| <Add library="oleaut32" /> | |||
| <Add library="uuid" /> | |||
| <Add library="odbc32" /> | |||
| <Add library="odbccp32" /> | |||
| </Linker> | |||
| <Unit filename="..\example-clients\ipload.c"> | |||
| <Option compilerVar="CC" /> | |||
| </Unit> | |||
| <Extensions> | |||
| <code_completion /> | |||
| <envvars /> | |||
| <debugger /> | |||
| <AutoVersioning> | |||
| <Scheme minor_max="10" build_max="0" rev_max="0" rev_rand_max="10" build_times_to_increment_minor="100" /> | |||
| <Settings autoincrement="1" date_declarations="1" do_auto_increment="0" ask_to_increment="0" language="C++" svn="0" svn_directory="" header_path="version.h" /> | |||
| <Changes_Log show_changes_editor="0" app_title="released version %M.%m.%b of %p" changeslog_path="ChangesLog.txt" /> | |||
| </AutoVersioning> | |||
| </Extensions> | |||
| </Project> | |||
| </CodeBlocks_project_file> | |||
| @@ -1,173 +0,0 @@ | |||
| <?xml version="1.0" encoding="UTF-8" standalone="yes" ?> | |||
| <CodeBlocks_project_file> | |||
| <FileVersion major="1" minor="6" /> | |||
| <Project> | |||
| <Option title="jack_loopback" /> | |||
| <Option pch_mode="2" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Build> | |||
| <Target title="Win32 Release 64bits"> | |||
| <Option output="Release64\bin\jack\jack_loopback" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Release64\" /> | |||
| <Option type="3" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-O2" /> | |||
| <Add option="-Wall" /> | |||
| <Add option="-DBUILD_DLL" /> | |||
| <Add option="-DSERVER_SIDE" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add directory="Release64\bin" /> | |||
| <Add library="libjackserver64" /> | |||
| </Linker> | |||
| </Target> | |||
| <Target title="Win32 Debug 64bits"> | |||
| <Option output="Debug64\bin\jack\jack_loopback" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Debug64\" /> | |||
| <Option type="3" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-Wall" /> | |||
| <Add option="-g" /> | |||
| <Add option="-DBUILD_DLL" /> | |||
| <Add option="-DSERVER_SIDE" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add directory="Debug64\bin" /> | |||
| <Add library="libjackserver64" /> | |||
| </Linker> | |||
| </Target> | |||
| <Target title="Win32 Profiling 64bits"> | |||
| <Option output="Release64\bin\jack\jack_loopback" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Release64\" /> | |||
| <Option type="3" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-O2" /> | |||
| <Add option="-Wall" /> | |||
| <Add option="-DBUILD_DLL" /> | |||
| <Add option="-DJACK_MONITOR" /> | |||
| <Add option="-DSERVER_SIDE" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add directory="Release64\bin" /> | |||
| <Add library="libjackserver64" /> | |||
| </Linker> | |||
| </Target> | |||
| <Target title="Win32 Release 32bits"> | |||
| <Option output="Release\bin\jack\jack_loopback" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Release\" /> | |||
| <Option type="3" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-O2" /> | |||
| <Add option="-Wall" /> | |||
| <Add option="-m32" /> | |||
| <Add option="-DBUILD_DLL" /> | |||
| <Add option="-DSERVER_SIDE" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add option="-m32" /> | |||
| <Add directory="Release\bin" /> | |||
| <Add library="libjackserver" /> | |||
| </Linker> | |||
| <ExtraCommands> | |||
| <Add before="windres -F pe-i386 -O coff -o Release/jackloopbackdriver.res jackloopbackdriver.rc" /> | |||
| </ExtraCommands> | |||
| </Target> | |||
| <Target title="Win32 Debug 32bits"> | |||
| <Option output="Debug\bin\jack\jack_loopback" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Debug\" /> | |||
| <Option type="3" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-Wall" /> | |||
| <Add option="-g" /> | |||
| <Add option="-m32" /> | |||
| <Add option="-DBUILD_DLL" /> | |||
| <Add option="-DSERVER_SIDE" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add option="-m32" /> | |||
| <Add directory="Debug\bin" /> | |||
| <Add library="libjackserver" /> | |||
| </Linker> | |||
| <ExtraCommands> | |||
| <Add before="windres -F pe-i386 -O coff -o Debug/jackloopbackdriver.res jackloopbackdriver.rc" /> | |||
| </ExtraCommands> | |||
| </Target> | |||
| <Target title="Win32 Profiling 32bits"> | |||
| <Option output="Release\bin\jack\jack_loopback" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Release\" /> | |||
| <Option type="3" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-O2" /> | |||
| <Add option="-Wall" /> | |||
| <Add option="-m32" /> | |||
| <Add option="-DBUILD_DLL" /> | |||
| <Add option="-DJACK_MONITOR" /> | |||
| <Add option="-DSERVER_SIDE" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add option="-m32" /> | |||
| <Add directory="Release\bin" /> | |||
| <Add library="libjackserver" /> | |||
| </Linker> | |||
| <ExtraCommands> | |||
| <Add before="windres -F pe-i386 -O coff -o Release/jackloopbackdriver.res jackloopbackdriver.rc" /> | |||
| </ExtraCommands> | |||
| </Target> | |||
| </Build> | |||
| <Compiler> | |||
| <Add option="-Wall" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add library="kernel32" /> | |||
| <Add library="user32" /> | |||
| <Add library="gdi32" /> | |||
| <Add library="winspool" /> | |||
| <Add library="comdlg32" /> | |||
| <Add library="advapi32" /> | |||
| <Add library="shell32" /> | |||
| <Add library="ole32" /> | |||
| <Add library="oleaut32" /> | |||
| <Add library="uuid" /> | |||
| <Add library="odbc32" /> | |||
| <Add library="odbccp32" /> | |||
| </Linker> | |||
| <Unit filename="jackloopbackdriver.rc"> | |||
| <Option compilerVar="WINDRES" /> | |||
| </Unit> | |||
| <Unit filename="..\common\JackLoopbackDriver.cpp" /> | |||
| <Extensions> | |||
| <AutoVersioning> | |||
| <Scheme minor_max="10" build_max="0" rev_max="0" rev_rand_max="10" build_times_to_increment_minor="100" /> | |||
| <Settings autoincrement="1" date_declarations="1" do_auto_increment="0" ask_to_increment="0" language="C++" svn="0" svn_directory="" header_path="version.h" /> | |||
| <Changes_Log show_changes_editor="0" app_title="released version %M.%m.%b of %p" changeslog_path="ChangesLog.txt" /> | |||
| </AutoVersioning> | |||
| <code_completion /> | |||
| <envvars /> | |||
| <debugger /> | |||
| </Extensions> | |||
| </Project> | |||
| </CodeBlocks_project_file> | |||
| @@ -1,152 +0,0 @@ | |||
| <?xml version="1.0" encoding="UTF-8" standalone="yes" ?> | |||
| <CodeBlocks_project_file> | |||
| <FileVersion major="1" minor="6" /> | |||
| <Project> | |||
| <Option title="jack_lsp" /> | |||
| <Option pch_mode="2" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Build> | |||
| <Target title="Win32 Release 64bits"> | |||
| <Option output="Release64\bin\jack_lsp" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Release64\" /> | |||
| <Option type="1" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-O2" /> | |||
| <Add option="-Wall" /> | |||
| <Add directory="..\example-clients" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add library="libjack64" /> | |||
| <Add directory="Release64\bin" /> | |||
| </Linker> | |||
| </Target> | |||
| <Target title="Win32 Debug 64bits"> | |||
| <Option output="Debug64\bin\jack_lsp" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Debug64\" /> | |||
| <Option type="1" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-g" /> | |||
| <Add directory="..\example-clients" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add library="libjack64" /> | |||
| <Add directory="Debug64\bin" /> | |||
| </Linker> | |||
| </Target> | |||
| <Target title="Win32 Profiling 64bits"> | |||
| <Option output="Release64\bin\jack_lsp" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Release64\" /> | |||
| <Option type="1" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-O2" /> | |||
| <Add option="-Wall" /> | |||
| <Add directory="..\example-clients" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add library="libjack64" /> | |||
| <Add directory="Release64\bin" /> | |||
| </Linker> | |||
| </Target> | |||
| <Target title="Win32 Release 32bits"> | |||
| <Option output="Release\bin\jack_lsp" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Release\" /> | |||
| <Option type="1" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-O2" /> | |||
| <Add option="-Wall" /> | |||
| <Add option="-m32" /> | |||
| <Add directory="..\example-clients" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add option="-m32" /> | |||
| <Add library="libjack" /> | |||
| <Add directory="Release\bin" /> | |||
| </Linker> | |||
| </Target> | |||
| <Target title="Win32 Debug 32bits"> | |||
| <Option output="Debug\bin\jack_lsp" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Debug\" /> | |||
| <Option type="1" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-g" /> | |||
| <Add option="-m32" /> | |||
| <Add directory="..\example-clients" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add option="-m32" /> | |||
| <Add library="libjack" /> | |||
| <Add directory="Debug\bin" /> | |||
| </Linker> | |||
| </Target> | |||
| <Target title="Win32 Profiling 32bits"> | |||
| <Option output="Release\bin\jack_lsp" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Release\" /> | |||
| <Option type="1" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-O2" /> | |||
| <Add option="-Wall" /> | |||
| <Add option="-m32" /> | |||
| <Add directory="..\example-clients" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add option="-m32" /> | |||
| <Add library="libjack" /> | |||
| <Add directory="Release\bin" /> | |||
| </Linker> | |||
| </Target> | |||
| </Build> | |||
| <Compiler> | |||
| <Add option="-Wall" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add library="kernel32" /> | |||
| <Add library="user32" /> | |||
| <Add library="gdi32" /> | |||
| <Add library="winspool" /> | |||
| <Add library="comdlg32" /> | |||
| <Add library="shell32" /> | |||
| <Add library="ole32" /> | |||
| <Add library="oleaut32" /> | |||
| <Add library="uuid" /> | |||
| <Add library="odbc32" /> | |||
| <Add library="odbccp32" /> | |||
| </Linker> | |||
| <Unit filename="..\example-clients\lsp.c"> | |||
| <Option compilerVar="CC" /> | |||
| </Unit> | |||
| <Extensions> | |||
| <code_completion /> | |||
| <envvars /> | |||
| <debugger /> | |||
| <AutoVersioning> | |||
| <Scheme minor_max="10" build_max="0" rev_max="0" rev_rand_max="10" build_times_to_increment_minor="100" /> | |||
| <Settings autoincrement="1" date_declarations="1" do_auto_increment="0" ask_to_increment="0" language="C++" svn="0" svn_directory="" header_path="version.h" /> | |||
| <Changes_Log show_changes_editor="0" app_title="released version %M.%m.%b of %p" changeslog_path="ChangesLog.txt" /> | |||
| </AutoVersioning> | |||
| </Extensions> | |||
| </Project> | |||
| </CodeBlocks_project_file> | |||
| @@ -1,158 +0,0 @@ | |||
| <?xml version="1.0" encoding="UTF-8" standalone="yes" ?> | |||
| <CodeBlocks_project_file> | |||
| <FileVersion major="1" minor="6" /> | |||
| <Project> | |||
| <Option title="jack_metro" /> | |||
| <Option pch_mode="2" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Build> | |||
| <Target title="Win32 Release 64bits"> | |||
| <Option output="Release64\bin\jack_metro" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Release64\" /> | |||
| <Option type="1" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-O2" /> | |||
| <Add option="-Wall" /> | |||
| <Add directory="..\example-clients" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add directory="Release64\bin" /> | |||
| <Add library="libjack64" /> | |||
| </Linker> | |||
| </Target> | |||
| <Target title="Win32 Debug 64bits"> | |||
| <Option output="Debug64\bin\jack_metro" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Debug64\" /> | |||
| <Option type="1" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-Wall" /> | |||
| <Add option="-g" /> | |||
| <Add directory="..\example-clients" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add directory="Debug64\bin" /> | |||
| <Add library="libjack64" /> | |||
| </Linker> | |||
| </Target> | |||
| <Target title="Win32 Profiling 64bits"> | |||
| <Option output="Release64\bin\jack_metro" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Release64\" /> | |||
| <Option type="1" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-O2" /> | |||
| <Add option="-Wall" /> | |||
| <Add option="-DJACK_MONITOR" /> | |||
| <Add directory="..\example-clients" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add directory="Release64\bin" /> | |||
| <Add library="libjack64" /> | |||
| </Linker> | |||
| </Target> | |||
| <Target title="Win32 Release 32bits"> | |||
| <Option output="Release\bin\jack_metro" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Release\" /> | |||
| <Option type="1" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-O2" /> | |||
| <Add option="-Wall" /> | |||
| <Add option="-m32" /> | |||
| <Add directory="..\example-clients" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add directory="Release\bin" /> | |||
| <Add option="-m32" /> | |||
| <Add library="libjack" /> | |||
| </Linker> | |||
| </Target> | |||
| <Target title="Win32 Debug 32bits"> | |||
| <Option output="Debug\bin\jack_metro" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Debug\" /> | |||
| <Option type="1" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-Wall" /> | |||
| <Add option="-g" /> | |||
| <Add option="-m32" /> | |||
| <Add directory="..\example-clients" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add directory="Debug\bin" /> | |||
| <Add option="-m32" /> | |||
| <Add library="libjack" /> | |||
| </Linker> | |||
| </Target> | |||
| <Target title="Win32 Profiling 32bits"> | |||
| <Option output="Release\bin\jack_metro" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Release\" /> | |||
| <Option type="1" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-O2" /> | |||
| <Add option="-Wall" /> | |||
| <Add option="-m32" /> | |||
| <Add option="-DJACK_MONITOR" /> | |||
| <Add directory="..\example-clients" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add directory="Release\bin" /> | |||
| <Add option="-m32" /> | |||
| <Add library="libjack" /> | |||
| </Linker> | |||
| </Target> | |||
| </Build> | |||
| <Compiler> | |||
| <Add option="-Wall" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add library="kernel32" /> | |||
| <Add library="user32" /> | |||
| <Add library="gdi32" /> | |||
| <Add library="winspool" /> | |||
| <Add library="comdlg32" /> | |||
| <Add library="advapi32" /> | |||
| <Add library="shell32" /> | |||
| <Add library="ole32" /> | |||
| <Add library="oleaut32" /> | |||
| <Add library="uuid" /> | |||
| <Add library="odbc32" /> | |||
| <Add library="odbccp32" /> | |||
| </Linker> | |||
| <Unit filename="..\example-clients\metro.c"> | |||
| <Option compilerVar="CC" /> | |||
| </Unit> | |||
| <Extensions> | |||
| <code_completion /> | |||
| <envvars /> | |||
| <debugger /> | |||
| <lib_finder disable_auto="1" /> | |||
| <AutoVersioning> | |||
| <Scheme minor_max="10" build_max="0" rev_max="0" rev_rand_max="10" build_times_to_increment_minor="100" /> | |||
| <Settings autoincrement="1" date_declarations="1" do_auto_increment="0" ask_to_increment="0" language="C++" svn="0" svn_directory="" header_path="version.h" /> | |||
| <Changes_Log show_changes_editor="0" app_title="released version %M.%m.%b of %p" changeslog_path="ChangesLog.txt" /> | |||
| </AutoVersioning> | |||
| </Extensions> | |||
| </Project> | |||
| </CodeBlocks_project_file> | |||
| @@ -1,114 +0,0 @@ | |||
| <?xml version="1.0" encoding="UTF-8" standalone="yes" ?> | |||
| <CodeBlocks_project_file> | |||
| <FileVersion major="1" minor="6" /> | |||
| <Project> | |||
| <Option title="jack_midi_dump" /> | |||
| <Option pch_mode="2" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Build> | |||
| <Target title="Win32 Debug 64bits"> | |||
| <Option output="Debug64\bin\jack_midi_dump" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Debug64\" /> | |||
| <Option type="1" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-g" /> | |||
| <Add directory="..\example-clients" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add library="libjack64" /> | |||
| <Add directory="Debug64\bin" /> | |||
| </Linker> | |||
| </Target> | |||
| <Target title="Win32 Profiling 64bits"> | |||
| <Option output="Release64\bin\jack_midi_dump" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Release64\" /> | |||
| <Option type="1" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-O2" /> | |||
| <Add option="-Wall" /> | |||
| <Add directory="..\example-clients" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add library="libjack64" /> | |||
| <Add directory="Release64\bin" /> | |||
| </Linker> | |||
| </Target> | |||
| <Target title="Win32 Debug 32bits"> | |||
| <Option output="Debug\bin\jack_midi_dump" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Debug\" /> | |||
| <Option type="1" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-g" /> | |||
| <Add option="-m32" /> | |||
| <Add directory="..\example-clients" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add option="-m32" /> | |||
| <Add library="libjack" /> | |||
| <Add directory="Debug\bin" /> | |||
| </Linker> | |||
| </Target> | |||
| <Target title="Win32 Profiling 32bits"> | |||
| <Option output="Release\bin\jack_midi_dump" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Release\" /> | |||
| <Option type="1" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-O2" /> | |||
| <Add option="-Wall" /> | |||
| <Add option="-m32" /> | |||
| <Add directory="..\example-clients" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add option="-m32" /> | |||
| <Add library="libjack" /> | |||
| <Add directory="Release\bin" /> | |||
| </Linker> | |||
| </Target> | |||
| </Build> | |||
| <Compiler> | |||
| <Add option="-Wall" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add library="kernel32" /> | |||
| <Add library="user32" /> | |||
| <Add library="gdi32" /> | |||
| <Add library="winspool" /> | |||
| <Add library="comdlg32" /> | |||
| <Add library="shell32" /> | |||
| <Add library="ole32" /> | |||
| <Add library="oleaut32" /> | |||
| <Add library="uuid" /> | |||
| <Add library="odbc32" /> | |||
| <Add library="odbccp32" /> | |||
| </Linker> | |||
| <Unit filename="..\example-clients\midi_dump.c"> | |||
| <Option compilerVar="CC" /> | |||
| </Unit> | |||
| <Extensions> | |||
| <code_completion /> | |||
| <envvars /> | |||
| <debugger /> | |||
| <AutoVersioning> | |||
| <Scheme minor_max="10" build_max="0" rev_max="0" rev_rand_max="10" build_times_to_increment_minor="100" /> | |||
| <Settings autoincrement="1" date_declarations="1" do_auto_increment="0" ask_to_increment="0" language="C++" svn="0" svn_directory="" header_path="version.h" /> | |||
| <Changes_Log show_changes_editor="0" app_title="released version %M.%m.%b of %p" changeslog_path="ChangesLog.txt" /> | |||
| </AutoVersioning> | |||
| </Extensions> | |||
| </Project> | |||
| </CodeBlocks_project_file> | |||
| @@ -1,152 +0,0 @@ | |||
| <?xml version="1.0" encoding="UTF-8" standalone="yes" ?> | |||
| <CodeBlocks_project_file> | |||
| <FileVersion major="1" minor="6" /> | |||
| <Project> | |||
| <Option title="jack_midi_latency_test" /> | |||
| <Option pch_mode="2" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Build> | |||
| <Target title="Win32 Release 64bits"> | |||
| <Option output="Release64\bin\jack_midi_latency_test" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Release64\" /> | |||
| <Option type="1" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-O2" /> | |||
| <Add option="-Wall" /> | |||
| <Add directory="..\example-clients" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add library="libjack64" /> | |||
| <Add directory="Release64\bin" /> | |||
| </Linker> | |||
| </Target> | |||
| <Target title="Win32 Debug 64bits"> | |||
| <Option output="Debug64\bin\jack_midi_latency_test" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Debug64\" /> | |||
| <Option type="1" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-g" /> | |||
| <Add directory="..\example-clients" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add library="libjack64" /> | |||
| <Add directory="Debug64\bin" /> | |||
| </Linker> | |||
| </Target> | |||
| <Target title="Win32 Profiling 64bits"> | |||
| <Option output="Release64\bin\jack_midi_latency_test" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Release64\" /> | |||
| <Option type="1" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-O2" /> | |||
| <Add option="-Wall" /> | |||
| <Add directory="..\example-clients" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add library="libjack64" /> | |||
| <Add directory="Release64\bin" /> | |||
| </Linker> | |||
| </Target> | |||
| <Target title="Win32 Release 32bits"> | |||
| <Option output="Release\bin\jack_midi_latency_test" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Release\" /> | |||
| <Option type="1" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-O2" /> | |||
| <Add option="-Wall" /> | |||
| <Add option="-m32" /> | |||
| <Add directory="..\example-clients" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add option="-m32" /> | |||
| <Add library="libjack" /> | |||
| <Add directory="Release\bin" /> | |||
| </Linker> | |||
| </Target> | |||
| <Target title="Win32 Debug 32bits"> | |||
| <Option output="Debug\bin\jack_midi_latency_test" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Debug\" /> | |||
| <Option type="1" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-g" /> | |||
| <Add option="-m32" /> | |||
| <Add directory="..\example-clients" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add option="-m32" /> | |||
| <Add library="libjack" /> | |||
| <Add directory="Debug\bin" /> | |||
| </Linker> | |||
| </Target> | |||
| <Target title="Win32 Profiling 32bits"> | |||
| <Option output="Release\bin\jack_midi_latency_test" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Release\" /> | |||
| <Option type="1" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-O2" /> | |||
| <Add option="-Wall" /> | |||
| <Add option="-m32" /> | |||
| <Add directory="..\example-clients" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add option="-m32" /> | |||
| <Add library="libjack" /> | |||
| <Add directory="Release\bin" /> | |||
| </Linker> | |||
| </Target> | |||
| </Build> | |||
| <Compiler> | |||
| <Add option="-Wall" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add library="kernel32" /> | |||
| <Add library="user32" /> | |||
| <Add library="gdi32" /> | |||
| <Add library="winspool" /> | |||
| <Add library="comdlg32" /> | |||
| <Add library="shell32" /> | |||
| <Add library="ole32" /> | |||
| <Add library="oleaut32" /> | |||
| <Add library="uuid" /> | |||
| <Add library="odbc32" /> | |||
| <Add library="odbccp32" /> | |||
| </Linker> | |||
| <Unit filename="..\example-clients\midi_latency_test.c"> | |||
| <Option compilerVar="CC" /> | |||
| </Unit> | |||
| <Extensions> | |||
| <code_completion /> | |||
| <envvars /> | |||
| <debugger /> | |||
| <AutoVersioning> | |||
| <Scheme minor_max="10" build_max="0" rev_max="0" rev_rand_max="10" build_times_to_increment_minor="100" /> | |||
| <Settings autoincrement="1" date_declarations="1" do_auto_increment="0" ask_to_increment="0" language="C++" svn="0" svn_directory="" header_path="version.h" /> | |||
| <Changes_Log show_changes_editor="0" app_title="released version %M.%m.%b of %p" changeslog_path="ChangesLog.txt" /> | |||
| </AutoVersioning> | |||
| </Extensions> | |||
| </Project> | |||
| </CodeBlocks_project_file> | |||
| @@ -1,187 +0,0 @@ | |||
| <?xml version="1.0" encoding="UTF-8" standalone="yes" ?> | |||
| <CodeBlocks_project_file> | |||
| <FileVersion major="1" minor="6" /> | |||
| <Project> | |||
| <Option title="jack_netadapter" /> | |||
| <Option pch_mode="2" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Build> | |||
| <Target title="Win32 Release 64bits"> | |||
| <Option output="Release64\bin\jack\netadapter" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Release64\" /> | |||
| <Option type="3" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-O2" /> | |||
| <Add option="-Wall" /> | |||
| <Add option="-DBUILD_DLL" /> | |||
| <Add option="-DSERVER_SIDE" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add library="libjackserver64" /> | |||
| <Add library="libsamplerate_x86_64.a" /> | |||
| <Add directory="Release64\bin" /> | |||
| </Linker> | |||
| </Target> | |||
| <Target title="Win32 Debug 64bits"> | |||
| <Option output="Debug64\bin\jack\netadapter" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Debug64\" /> | |||
| <Option type="3" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-Wall" /> | |||
| <Add option="-g" /> | |||
| <Add option="-DBUILD_DLL" /> | |||
| <Add option="-DSERVER_SIDE" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add library="libjackserver64" /> | |||
| <Add library="libsamplerate_x86_64.a" /> | |||
| <Add directory="Debug64\bin" /> | |||
| </Linker> | |||
| </Target> | |||
| <Target title="Win32 Profiling 64bits"> | |||
| <Option output="Release64\bin\jack\netadapter" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Release64\" /> | |||
| <Option type="3" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-O2" /> | |||
| <Add option="-Wall" /> | |||
| <Add option="-DBUILD_DLL" /> | |||
| <Add option="-DJACK_MONITOR" /> | |||
| <Add option="-DSERVER_SIDE" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add library="libjackserver64" /> | |||
| <Add library="libsamplerate_x86_64.a" /> | |||
| <Add directory="Release64\bin" /> | |||
| </Linker> | |||
| </Target> | |||
| <Target title="Win32 Release 32bits"> | |||
| <Option output="Release\bin\jack\netadapter" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Release\" /> | |||
| <Option type="3" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-O2" /> | |||
| <Add option="-Wall" /> | |||
| <Add option="-m32" /> | |||
| <Add option="-DBUILD_DLL" /> | |||
| <Add option="-DSERVER_SIDE" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add option="-m32" /> | |||
| <Add library="libjackserver" /> | |||
| <Add library="libsamplerate_x86.a" /> | |||
| <Add directory="Release\bin" /> | |||
| </Linker> | |||
| <ExtraCommands> | |||
| <Add before="windres -F pe-i386 -O coff -o Release/jacknetadapter.res jacknetadapter.rc" /> | |||
| </ExtraCommands> | |||
| </Target> | |||
| <Target title="Win32 Debug 32bits"> | |||
| <Option output="Debug\bin\jack\netadapter" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Debug\" /> | |||
| <Option type="3" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-Wall" /> | |||
| <Add option="-g" /> | |||
| <Add option="-m32" /> | |||
| <Add option="-DBUILD_DLL" /> | |||
| <Add option="-DSERVER_SIDE" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add option="-m32" /> | |||
| <Add library="libjackserver" /> | |||
| <Add library="libsamplerate_x86.a" /> | |||
| <Add directory="Debug\bin" /> | |||
| </Linker> | |||
| <ExtraCommands> | |||
| <Add before="windres -F pe-i386 -O coff -o Debug/jacknetadapter.res jacknetadapter.rc" /> | |||
| </ExtraCommands> | |||
| </Target> | |||
| <Target title="Win32 Profiling 32bits"> | |||
| <Option output="Release\bin\jack\netadapter" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Release\" /> | |||
| <Option type="3" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-O2" /> | |||
| <Add option="-Wall" /> | |||
| <Add option="-m32" /> | |||
| <Add option="-DBUILD_DLL" /> | |||
| <Add option="-DJACK_MONITOR" /> | |||
| <Add option="-DSERVER_SIDE" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add option="-m32" /> | |||
| <Add library="libjackserver" /> | |||
| <Add library="libsamplerate_x86.a" /> | |||
| <Add directory="Release\bin" /> | |||
| </Linker> | |||
| <ExtraCommands> | |||
| <Add before="windres -F pe-i386 -O coff -o Release/jacknetadapter.res jacknetadapter.rc" /> | |||
| </ExtraCommands> | |||
| </Target> | |||
| </Build> | |||
| <Compiler> | |||
| <Add option="-Wall" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add option="-enable-auto-import" /> | |||
| <Add library="kernel32" /> | |||
| <Add library="user32" /> | |||
| <Add library="gdi32" /> | |||
| <Add library="winspool" /> | |||
| <Add library="comdlg32" /> | |||
| <Add library="advapi32" /> | |||
| <Add library="shell32" /> | |||
| <Add library="ole32" /> | |||
| <Add library="oleaut32" /> | |||
| <Add library="uuid" /> | |||
| <Add library="odbc32" /> | |||
| <Add library="odbccp32" /> | |||
| </Linker> | |||
| <Unit filename="..\common\JackAudioAdapter.cpp" /> | |||
| <Unit filename="..\common\JackAudioAdapterInterface.cpp" /> | |||
| <Unit filename="..\common\JackLibSampleRateResampler.cpp" /> | |||
| <Unit filename="..\common\JackNetAdapter.cpp" /> | |||
| <Unit filename="..\common\JackResampler.cpp" /> | |||
| <Unit filename="jacknetadapter.rc"> | |||
| <Option compilerVar="WINDRES" /> | |||
| </Unit> | |||
| <Extensions> | |||
| <AutoVersioning> | |||
| <Scheme minor_max="10" build_max="0" rev_max="0" rev_rand_max="10" build_times_to_increment_minor="100" /> | |||
| <Settings autoincrement="1" date_declarations="1" do_auto_increment="0" ask_to_increment="0" language="C++" svn="0" svn_directory="" header_path="version.h" /> | |||
| <Changes_Log show_changes_editor="0" app_title="released version %M.%m.%b of %p" changeslog_path="ChangesLog.txt" /> | |||
| </AutoVersioning> | |||
| <code_completion /> | |||
| <envvars /> | |||
| <debugger /> | |||
| </Extensions> | |||
| </Project> | |||
| </CodeBlocks_project_file> | |||
| @@ -1,176 +0,0 @@ | |||
| <?xml version="1.0" encoding="UTF-8" standalone="yes" ?> | |||
| <CodeBlocks_project_file> | |||
| <FileVersion major="1" minor="6" /> | |||
| <Project> | |||
| <Option title="jack_netdriver" /> | |||
| <Option pch_mode="2" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Build> | |||
| <Target title="Win32 Release 64bits"> | |||
| <Option output="Release64\bin\jack\jack_net" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Release64\" /> | |||
| <Option type="3" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-O2" /> | |||
| <Add option="-Wall" /> | |||
| <Add option="-DBUILD_DLL" /> | |||
| <Add option="-DSERVER_SIDE" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add library="libjackserver64" /> | |||
| <Add directory="Release64\bin" /> | |||
| </Linker> | |||
| </Target> | |||
| <Target title="Win32 Debug 64bits"> | |||
| <Option output="Debug64\bin\jack\jack_net" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Debug64\" /> | |||
| <Option type="3" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-Wall" /> | |||
| <Add option="-g" /> | |||
| <Add option="-DBUILD_DLL" /> | |||
| <Add option="-DSERVER_SIDE" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add library="libjackserver64" /> | |||
| <Add directory="Debug64\bin" /> | |||
| </Linker> | |||
| </Target> | |||
| <Target title="Win32 Profiling 64bits"> | |||
| <Option output="Release64\bin\jack\jack_net" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Release64\" /> | |||
| <Option type="3" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-O2" /> | |||
| <Add option="-Wall" /> | |||
| <Add option="-DBUILD_DLL" /> | |||
| <Add option="-DJACK_MONITOR" /> | |||
| <Add option="-DSERVER_SIDE" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add library="libjackserver64" /> | |||
| <Add directory="Release64\bin" /> | |||
| </Linker> | |||
| </Target> | |||
| <Target title="Win32 Release 32bits"> | |||
| <Option output="Release\bin\jack\jack_net" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Release\" /> | |||
| <Option type="3" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-O2" /> | |||
| <Add option="-Wall" /> | |||
| <Add option="-m32" /> | |||
| <Add option="-DBUILD_DLL" /> | |||
| <Add option="-DSERVER_SIDE" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add option="-m32" /> | |||
| <Add library="libjackserver" /> | |||
| <Add directory="Release\bin" /> | |||
| </Linker> | |||
| <ExtraCommands> | |||
| <Add before="windres -F pe-i386 -O coff -o Release/jacknetdriver.res jacknetdriver.rc" /> | |||
| </ExtraCommands> | |||
| </Target> | |||
| <Target title="Win32 Debug 32bits"> | |||
| <Option output="Debug\bin\jack\jack_net" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Debug\" /> | |||
| <Option type="3" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-Wall" /> | |||
| <Add option="-g" /> | |||
| <Add option="-m32" /> | |||
| <Add option="-DBUILD_DLL" /> | |||
| <Add option="-DSERVER_SIDE" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add option="-m32" /> | |||
| <Add library="libjackserver" /> | |||
| <Add directory="Debug\bin" /> | |||
| </Linker> | |||
| <ExtraCommands> | |||
| <Add before="windres -F pe-i386 -O coff -o Debug/jacknetdriver.res jacknetdriver.rc" /> | |||
| </ExtraCommands> | |||
| </Target> | |||
| <Target title="Win32 Profiling 32bits"> | |||
| <Option output="Release\bin\jack\jack_net" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Release\" /> | |||
| <Option type="3" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-O2" /> | |||
| <Add option="-Wall" /> | |||
| <Add option="-m32" /> | |||
| <Add option="-DBUILD_DLL" /> | |||
| <Add option="-DJACK_MONITOR" /> | |||
| <Add option="-DSERVER_SIDE" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add option="-m32" /> | |||
| <Add library="libjackserver" /> | |||
| <Add directory="Release\bin" /> | |||
| </Linker> | |||
| <ExtraCommands> | |||
| <Add before="windres -F pe-i386 -O coff -o Release/jacknetdriver.res jacknetdriver.rc" /> | |||
| </ExtraCommands> | |||
| </Target> | |||
| </Build> | |||
| <Compiler> | |||
| <Add option="-Wall" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add option="-enable-auto-import" /> | |||
| <Add library="kernel32" /> | |||
| <Add library="user32" /> | |||
| <Add library="gdi32" /> | |||
| <Add library="winspool" /> | |||
| <Add library="comdlg32" /> | |||
| <Add library="advapi32" /> | |||
| <Add library="shell32" /> | |||
| <Add library="ole32" /> | |||
| <Add library="oleaut32" /> | |||
| <Add library="uuid" /> | |||
| <Add library="odbc32" /> | |||
| <Add library="odbccp32" /> | |||
| <Add library="ws2_32" /> | |||
| </Linker> | |||
| <Unit filename="..\common\JackNetDriver.cpp" /> | |||
| <Unit filename="jacknetdriver.rc"> | |||
| <Option compilerVar="WINDRES" /> | |||
| </Unit> | |||
| <Extensions> | |||
| <code_completion /> | |||
| <envvars /> | |||
| <debugger /> | |||
| <lib_finder disable_auto="1" /> | |||
| <AutoVersioning> | |||
| <Scheme minor_max="10" build_max="0" rev_max="0" rev_rand_max="10" build_times_to_increment_minor="100" /> | |||
| <Settings autoincrement="1" date_declarations="1" do_auto_increment="0" ask_to_increment="0" language="C++" svn="0" svn_directory="" header_path="version.h" /> | |||
| <Changes_Log show_changes_editor="0" app_title="released version %M.%m.%b of %p" changeslog_path="ChangesLog.txt" /> | |||
| </AutoVersioning> | |||
| </Extensions> | |||
| </Project> | |||
| </CodeBlocks_project_file> | |||
| @@ -1,169 +0,0 @@ | |||
| <?xml version="1.0" encoding="UTF-8" standalone="yes" ?> | |||
| <CodeBlocks_project_file> | |||
| <FileVersion major="1" minor="6" /> | |||
| <Project> | |||
| <Option title="jack_netmanager" /> | |||
| <Option pch_mode="2" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Build> | |||
| <Target title="Win32 Release 64bits"> | |||
| <Option output="Release64\bin\jack\netmanager" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Release64\" /> | |||
| <Option type="3" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-O2" /> | |||
| <Add option="-Wall" /> | |||
| <Add option="-DSERVER_SIDE" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add directory="Release64\bin" /> | |||
| <Add library="libjackserver64" /> | |||
| </Linker> | |||
| </Target> | |||
| <Target title="Win32 Debug 64bits"> | |||
| <Option output="Debug64\bin\jack\netmanager" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Debug64\" /> | |||
| <Option type="3" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-Wall" /> | |||
| <Add option="-g" /> | |||
| <Add option="-DSERVER_SIDE" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add directory="Debug64\bin" /> | |||
| <Add library="libjackserver64" /> | |||
| </Linker> | |||
| </Target> | |||
| <Target title="Win32 Profiling 64bits"> | |||
| <Option output="Release64\bin\jack\netmanager" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Release64\" /> | |||
| <Option type="3" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-O2" /> | |||
| <Add option="-Wall" /> | |||
| <Add option="-DJACK_MONITOR" /> | |||
| <Add option="-DSERVER_SIDE" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add directory="Release64\bin" /> | |||
| <Add library="libjackserver64" /> | |||
| </Linker> | |||
| </Target> | |||
| <Target title="Win32 Release 32bits"> | |||
| <Option output="Release\bin\jack\netmanager" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Release\" /> | |||
| <Option type="3" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-O2" /> | |||
| <Add option="-Wall" /> | |||
| <Add option="-m32" /> | |||
| <Add option="-DSERVER_SIDE" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add directory="Release\bin" /> | |||
| <Add option="-m32" /> | |||
| <Add library="libjackserver" /> | |||
| </Linker> | |||
| <ExtraCommands> | |||
| <Add before="windres -F pe-i386 -O coff -o Release/jacknetmanager.res jacknetmanager.rc" /> | |||
| </ExtraCommands> | |||
| </Target> | |||
| <Target title="Win32 Debug 32bits"> | |||
| <Option output="Debug\bin\jack\netmanager" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Debug\" /> | |||
| <Option type="3" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-Wall" /> | |||
| <Add option="-g" /> | |||
| <Add option="-m32" /> | |||
| <Add option="-DSERVER_SIDE" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add directory="Debug\bin" /> | |||
| <Add option="-m32" /> | |||
| <Add library="libjackserver" /> | |||
| </Linker> | |||
| <ExtraCommands> | |||
| <Add before="windres -F pe-i386 -O coff -o Debug/jacknetmanager.res jacknetmanager.rc" /> | |||
| </ExtraCommands> | |||
| </Target> | |||
| <Target title="Win32 Profiling 32bits"> | |||
| <Option output="Release\bin\jack\netmanager" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Release\" /> | |||
| <Option type="3" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-O2" /> | |||
| <Add option="-Wall" /> | |||
| <Add option="-m32" /> | |||
| <Add option="-DJACK_MONITOR" /> | |||
| <Add option="-DSERVER_SIDE" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add directory="Release\bin" /> | |||
| <Add option="-m32" /> | |||
| <Add library="libjackserver" /> | |||
| </Linker> | |||
| <ExtraCommands> | |||
| <Add before="windres -F pe-i386 -O coff -o Release/jacknetmanager.res jacknetmanager.rc" /> | |||
| </ExtraCommands> | |||
| </Target> | |||
| </Build> | |||
| <Compiler> | |||
| <Add option="-Wall" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add option="-enable-auto-import" /> | |||
| <Add library="kernel32" /> | |||
| <Add library="user32" /> | |||
| <Add library="gdi32" /> | |||
| <Add library="winspool" /> | |||
| <Add library="comdlg32" /> | |||
| <Add library="advapi32" /> | |||
| <Add library="shell32" /> | |||
| <Add library="ole32" /> | |||
| <Add library="oleaut32" /> | |||
| <Add library="uuid" /> | |||
| <Add library="odbc32" /> | |||
| <Add library="odbccp32" /> | |||
| <Add library="ws2_32" /> | |||
| </Linker> | |||
| <Unit filename="..\common\JackNetManager.cpp" /> | |||
| <Unit filename="jacknetmanager.rc"> | |||
| <Option compilerVar="WINDRES" /> | |||
| </Unit> | |||
| <Extensions> | |||
| <code_completion /> | |||
| <envvars /> | |||
| <debugger /> | |||
| <AutoVersioning> | |||
| <Scheme minor_max="10" build_max="0" rev_max="0" rev_rand_max="10" build_times_to_increment_minor="100" /> | |||
| <Settings autoincrement="1" date_declarations="1" do_auto_increment="0" ask_to_increment="0" language="C++" svn="0" svn_directory="" header_path="version.h" /> | |||
| <Changes_Log show_changes_editor="0" app_title="released version %M.%m.%b of %p" changeslog_path="ChangesLog.txt" /> | |||
| </AutoVersioning> | |||
| </Extensions> | |||
| </Project> | |||
| </CodeBlocks_project_file> | |||
| @@ -1,182 +0,0 @@ | |||
| <?xml version="1.0" encoding="UTF-8" standalone="yes" ?> | |||
| <CodeBlocks_project_file> | |||
| <FileVersion major="1" minor="6" /> | |||
| <Project> | |||
| <Option title="jack_netonedriver" /> | |||
| <Option pch_mode="2" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Build> | |||
| <Target title="Win32 Release 64bits"> | |||
| <Option output="Release64\bin\jack\jack_netone" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Release64\" /> | |||
| <Option type="3" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-O2" /> | |||
| <Add option="-Wall" /> | |||
| <Add option="-DBUILD_DLL" /> | |||
| <Add option="-DSERVER_SIDE" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add library="libjackserver64" /> | |||
| <Add directory="Release64\bin" /> | |||
| </Linker> | |||
| </Target> | |||
| <Target title="Win32 Debug 64bits"> | |||
| <Option output="Debug64\bin\jack\jack_netone" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Debug64\" /> | |||
| <Option type="3" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-Wall" /> | |||
| <Add option="-g" /> | |||
| <Add option="-DBUILD_DLL" /> | |||
| <Add option="-DSERVER_SIDE" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add library="libjackserver64" /> | |||
| <Add directory="Debug64\bin" /> | |||
| </Linker> | |||
| </Target> | |||
| <Target title="Win32 Profiling 64bits"> | |||
| <Option output="Release64\bin\jack\jack_netone" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Release64\" /> | |||
| <Option type="3" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-O2" /> | |||
| <Add option="-Wall" /> | |||
| <Add option="-DBUILD_DLL" /> | |||
| <Add option="-DJACK_MONITOR" /> | |||
| <Add option="-DSERVER_SIDE" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add library="libjackserver64" /> | |||
| <Add directory="Release64\bin" /> | |||
| </Linker> | |||
| </Target> | |||
| <Target title="Win32 Release 32bits"> | |||
| <Option output="Release\bin\jack\jack_netone" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Release\" /> | |||
| <Option type="3" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-O2" /> | |||
| <Add option="-Wall" /> | |||
| <Add option="-m32" /> | |||
| <Add option="-DBUILD_DLL" /> | |||
| <Add option="-DSERVER_SIDE" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add option="-m32" /> | |||
| <Add library="libjackserver" /> | |||
| <Add directory="Release\bin" /> | |||
| </Linker> | |||
| <ExtraCommands> | |||
| <Add before="windres -F pe-i386 -O coff -o Release/jacknetonedriver.res jacknetonedriver.rc" /> | |||
| </ExtraCommands> | |||
| </Target> | |||
| <Target title="Win32 Debug 32bits"> | |||
| <Option output="Debug\bin\jack\jack_netone" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Debug\" /> | |||
| <Option type="3" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-Wall" /> | |||
| <Add option="-g" /> | |||
| <Add option="-m32" /> | |||
| <Add option="-DBUILD_DLL" /> | |||
| <Add option="-DSERVER_SIDE" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add option="-m32" /> | |||
| <Add library="libjackserver" /> | |||
| <Add directory="Debug\bin" /> | |||
| </Linker> | |||
| <ExtraCommands> | |||
| <Add before="windres -F pe-i386 -O coff -o Debug/jacknetonedriver.res jacknetonedriver.rc" /> | |||
| </ExtraCommands> | |||
| </Target> | |||
| <Target title="Win32 Profiling 32bits"> | |||
| <Option output="Release\bin\jack\jack_netone" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Release\" /> | |||
| <Option type="3" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-O2" /> | |||
| <Add option="-Wall" /> | |||
| <Add option="-m32" /> | |||
| <Add option="-DBUILD_DLL" /> | |||
| <Add option="-DJACK_MONITOR" /> | |||
| <Add option="-DSERVER_SIDE" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add option="-m32" /> | |||
| <Add library="libjackserver" /> | |||
| <Add directory="Release\bin" /> | |||
| </Linker> | |||
| <ExtraCommands> | |||
| <Add before="windres -F pe-i386 -O coff -o Debug/jacknetonedriver.res jacknetonedriver.rc" /> | |||
| </ExtraCommands> | |||
| </Target> | |||
| </Build> | |||
| <Compiler> | |||
| <Add option="-Wall" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add option="-enable-auto-import" /> | |||
| <Add library="kernel32" /> | |||
| <Add library="user32" /> | |||
| <Add library="gdi32" /> | |||
| <Add library="winspool" /> | |||
| <Add library="comdlg32" /> | |||
| <Add library="advapi32" /> | |||
| <Add library="shell32" /> | |||
| <Add library="ole32" /> | |||
| <Add library="oleaut32" /> | |||
| <Add library="uuid" /> | |||
| <Add library="odbc32" /> | |||
| <Add library="odbccp32" /> | |||
| <Add library="ws2_32" /> | |||
| </Linker> | |||
| <Unit filename="..\common\JackNetOneDriver.cpp" /> | |||
| <Unit filename="..\common\netjack.c"> | |||
| <Option compilerVar="CC" /> | |||
| </Unit> | |||
| <Unit filename="..\common\netjack_packet.c"> | |||
| <Option compilerVar="CC" /> | |||
| </Unit> | |||
| <Unit filename="jacknetonedriver.rc"> | |||
| <Option compilerVar="WINDRES" /> | |||
| </Unit> | |||
| <Extensions> | |||
| <code_completion /> | |||
| <envvars /> | |||
| <debugger /> | |||
| <lib_finder disable_auto="1" /> | |||
| <AutoVersioning> | |||
| <Scheme minor_max="10" build_max="0" rev_max="0" rev_rand_max="10" build_times_to_increment_minor="100" /> | |||
| <Settings autoincrement="1" date_declarations="1" do_auto_increment="0" ask_to_increment="0" language="C++" svn="0" svn_directory="" header_path="version.h" /> | |||
| <Changes_Log show_changes_editor="0" app_title="released version %M.%m.%b of %p" changeslog_path="ChangesLog.txt" /> | |||
| </AutoVersioning> | |||
| </Extensions> | |||
| </Project> | |||
| </CodeBlocks_project_file> | |||
| @@ -1,183 +0,0 @@ | |||
| <?xml version="1.0" encoding="UTF-8" standalone="yes" ?> | |||
| <CodeBlocks_project_file> | |||
| <FileVersion major="1" minor="6" /> | |||
| <Project> | |||
| <Option title="jack_netsource" /> | |||
| <Option pch_mode="2" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Build> | |||
| <Target title="Win32 Release 64bits"> | |||
| <Option output="Release64\bin\jack_netsource" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Release64\netsource" /> | |||
| <Option type="1" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-O2" /> | |||
| <Add option="-Wall" /> | |||
| <Add option="-DNO_JACK_ERROR" /> | |||
| <Add directory="..\example-clients" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add library="libjack64" /> | |||
| <Add library="libsamplerate_x86_64" /> | |||
| <Add directory="Release64\bin" /> | |||
| </Linker> | |||
| </Target> | |||
| <Target title="Win32 Debug 64bits"> | |||
| <Option output="Debug64\bin\jack_netsource" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Debug64\netsource" /> | |||
| <Option type="1" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-Wall" /> | |||
| <Add option="-g" /> | |||
| <Add option="-DNO_JACK_ERROR" /> | |||
| <Add directory="..\example-clients" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add library="libjack64" /> | |||
| <Add library="libsamplerate_x86_64" /> | |||
| <Add directory="Debug64\bin" /> | |||
| </Linker> | |||
| </Target> | |||
| <Target title="Win32 Profiling 64bits"> | |||
| <Option output="Release64\bin\jack_netsource" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Release64\netsource" /> | |||
| <Option type="1" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-O2" /> | |||
| <Add option="-Wall" /> | |||
| <Add option="-DJACK_MONITOR" /> | |||
| <Add option="-DNO_JACK_ERROR" /> | |||
| <Add directory="..\example-clients" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add library="libjack64" /> | |||
| <Add library="libsamplerate_x86_64" /> | |||
| <Add directory="Release64\bin" /> | |||
| </Linker> | |||
| </Target> | |||
| <Target title="Win32 Release 32bits"> | |||
| <Option output="Release\bin\jack_netsource" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Release\netsource" /> | |||
| <Option type="1" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-O2" /> | |||
| <Add option="-Wall" /> | |||
| <Add option="-m32" /> | |||
| <Add option="-DNO_JACK_ERROR" /> | |||
| <Add directory="..\example-clients" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add option="-m32" /> | |||
| <Add library="libjack" /> | |||
| <Add library="libsamplerate_x86" /> | |||
| <Add directory="Release\bin" /> | |||
| </Linker> | |||
| </Target> | |||
| <Target title="Win32 Debug 32bits"> | |||
| <Option output="Debug\bin\jack_netsource" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Debug\netsource" /> | |||
| <Option type="1" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-Wall" /> | |||
| <Add option="-g" /> | |||
| <Add option="-m32" /> | |||
| <Add option="-DNO_JACK_ERROR" /> | |||
| <Add directory="..\example-clients" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add option="-m32" /> | |||
| <Add library="libjack" /> | |||
| <Add library="libsamplerate_x86" /> | |||
| <Add directory="Debug\bin" /> | |||
| </Linker> | |||
| </Target> | |||
| <Target title="Win32 Profiling 32bits"> | |||
| <Option output="Release\bin\jack_netsource" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Release\netsource" /> | |||
| <Option type="1" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-O2" /> | |||
| <Add option="-Wall" /> | |||
| <Add option="-m32" /> | |||
| <Add option="-DJACK_MONITOR" /> | |||
| <Add option="-DNO_JACK_ERROR" /> | |||
| <Add directory="..\example-clients" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add option="-m32" /> | |||
| <Add library="libjack" /> | |||
| <Add library="libsamplerate_x86" /> | |||
| <Add directory="Release\bin" /> | |||
| </Linker> | |||
| </Target> | |||
| </Build> | |||
| <Compiler> | |||
| <Add option="-Wall" /> | |||
| <Add directory="..\example-clients" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add library="kernel32" /> | |||
| <Add library="user32" /> | |||
| <Add library="gdi32" /> | |||
| <Add library="winspool" /> | |||
| <Add library="comdlg32" /> | |||
| <Add library="advapi32" /> | |||
| <Add library="shell32" /> | |||
| <Add library="ole32" /> | |||
| <Add library="oleaut32" /> | |||
| <Add library="uuid" /> | |||
| <Add library="odbc32" /> | |||
| <Add library="odbccp32" /> | |||
| <Add library="ws2_32" /> | |||
| </Linker> | |||
| <Unit filename="..\common\netjack_packet.c"> | |||
| <Option compilerVar="CC" /> | |||
| </Unit> | |||
| <Unit filename="..\example-clients\netsource.c"> | |||
| <Option compilerVar="CC" /> | |||
| </Unit> | |||
| <Unit filename="getopt.c"> | |||
| <Option compilerVar="CC" /> | |||
| </Unit> | |||
| <Unit filename="getopt1.c"> | |||
| <Option compilerVar="CC" /> | |||
| </Unit> | |||
| <Extensions> | |||
| <code_completion /> | |||
| <envvars /> | |||
| <debugger /> | |||
| <AutoVersioning> | |||
| <Scheme minor_max="10" build_max="0" rev_max="0" rev_rand_max="10" build_times_to_increment_minor="100" /> | |||
| <Settings autoincrement="1" date_declarations="1" do_auto_increment="0" ask_to_increment="0" language="C++" svn="0" svn_directory="" header_path="version.h" /> | |||
| <Changes_Log show_changes_editor="0" app_title="released version %M.%m.%b of %p" changeslog_path="ChangesLog.txt" /> | |||
| </AutoVersioning> | |||
| </Extensions> | |||
| </Project> | |||
| </CodeBlocks_project_file> | |||
| @@ -1,241 +0,0 @@ | |||
| <?xml version="1.0" encoding="UTF-8" standalone="yes" ?> | |||
| <CodeBlocks_project_file> | |||
| <FileVersion major="1" minor="6" /> | |||
| <Project> | |||
| <Option title="jack_portaudio" /> | |||
| <Option pch_mode="2" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Build> | |||
| <Target title="Win32 Release 64bits"> | |||
| <Option output="Release64\bin\jack\jack_portaudio" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Release64" /> | |||
| <Option type="3" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-O2" /> | |||
| <Add option="-Wall" /> | |||
| <Add option="-DWIN32" /> | |||
| <Add option="-DNDEBUG" /> | |||
| <Add option="-D_WINDOWS" /> | |||
| <Add option="-D_MBCS" /> | |||
| <Add option="-D_USRDLL" /> | |||
| <Add option="-DSERVER_SIDE" /> | |||
| <Add option="-DHAVE_ASIO" /> | |||
| <Add directory="." /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| <Add directory="portaudio" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add library="libjackserver64" /> | |||
| <Add library="libportaudio_x86_64.a" /> | |||
| <Add library="winmm" /> | |||
| <Add library="ole32" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="Release64\bin" /> | |||
| </Linker> | |||
| </Target> | |||
| <Target title="Win32 Debug 64bits"> | |||
| <Option output="Debug64\bin\jack\jack_portaudio" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Debug64" /> | |||
| <Option type="3" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-g" /> | |||
| <Add option="-W" /> | |||
| <Add option="-DWIN32" /> | |||
| <Add option="-D_DEBUG" /> | |||
| <Add option="-D_CONSOLE" /> | |||
| <Add option="-D_MBCS" /> | |||
| <Add option="-D_USRDLL" /> | |||
| <Add option="-DSERVER_SIDE" /> | |||
| <Add option="-DHAVE_ASIO" /> | |||
| <Add directory="." /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| <Add directory="portaudio" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add library="libjackserver64" /> | |||
| <Add library="libportaudio_x86_64.a" /> | |||
| <Add library="winmm" /> | |||
| <Add library="ole32" /> | |||
| <Add directory="Debug64\bin" /> | |||
| <Add directory="..\windows" /> | |||
| </Linker> | |||
| </Target> | |||
| <Target title="Win32 Profiling 64bits"> | |||
| <Option output="Release64\bin\jack\jack_portaudio" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Release64" /> | |||
| <Option type="3" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-O2" /> | |||
| <Add option="-Wall" /> | |||
| <Add option="-DWIN32" /> | |||
| <Add option="-DNDEBUG" /> | |||
| <Add option="-D_WINDOWS" /> | |||
| <Add option="-D_MBCS" /> | |||
| <Add option="-D_USRDLL" /> | |||
| <Add option="-DJACK_MONITOR" /> | |||
| <Add option="-DSERVER_SIDE" /> | |||
| <Add option="-DHAVE_ASIO" /> | |||
| <Add directory="." /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| <Add directory="portaudio" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add library="libjackserver64" /> | |||
| <Add library="libportaudio_x86_64.a" /> | |||
| <Add library="winmm" /> | |||
| <Add library="ole32" /> | |||
| <Add directory="Release64\bin" /> | |||
| <Add directory="..\windows" /> | |||
| </Linker> | |||
| </Target> | |||
| <Target title="Win32 Release 32bits"> | |||
| <Option output="Release\bin\jack\jack_portaudio" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Release" /> | |||
| <Option type="3" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-O2" /> | |||
| <Add option="-Wall" /> | |||
| <Add option="-m32" /> | |||
| <Add option="-DWIN32" /> | |||
| <Add option="-DNDEBUG" /> | |||
| <Add option="-D_WINDOWS" /> | |||
| <Add option="-D_MBCS" /> | |||
| <Add option="-D_USRDLL" /> | |||
| <Add option="-DSERVER_SIDE" /> | |||
| <Add option="-DHAVE_ASIO" /> | |||
| <Add directory="." /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| <Add directory="portaudio" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add option="-m32" /> | |||
| <Add library="libjackserver" /> | |||
| <Add library="libportaudio_x86.a" /> | |||
| <Add library="winmm" /> | |||
| <Add library="ole32" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="Release\bin" /> | |||
| </Linker> | |||
| <ExtraCommands> | |||
| <Add before="windres -F pe-i386 -O coff -o Release/jackportaudio.res jackportaudio.rc" /> | |||
| </ExtraCommands> | |||
| </Target> | |||
| <Target title="Win32 Debug 32bits"> | |||
| <Option output="Debug\bin\jack\jack_portaudio" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Debug" /> | |||
| <Option type="3" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-g" /> | |||
| <Add option="-W" /> | |||
| <Add option="-m32" /> | |||
| <Add option="-DWIN32" /> | |||
| <Add option="-D_DEBUG" /> | |||
| <Add option="-D_CONSOLE" /> | |||
| <Add option="-D_MBCS" /> | |||
| <Add option="-D_USRDLL" /> | |||
| <Add option="-DSERVER_SIDE" /> | |||
| <Add option="-DHAVE_ASIO" /> | |||
| <Add directory="." /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| <Add directory="portaudio" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add option="-m32" /> | |||
| <Add library="libjackserver" /> | |||
| <Add library="libportaudio_x86.a" /> | |||
| <Add library="winmm" /> | |||
| <Add library="ole32" /> | |||
| <Add directory="Debug\bin" /> | |||
| <Add directory="..\windows" /> | |||
| </Linker> | |||
| <ExtraCommands> | |||
| <Add before="windres -F pe-i386 -O coff -o Debug/jackportaudio.res jackportaudio.rc" /> | |||
| </ExtraCommands> | |||
| </Target> | |||
| <Target title="Win32 Profiling 32bits"> | |||
| <Option output="Release\bin\jack\jack_portaudio" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Release" /> | |||
| <Option type="3" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-O2" /> | |||
| <Add option="-Wall" /> | |||
| <Add option="-m32" /> | |||
| <Add option="-DWIN32" /> | |||
| <Add option="-DNDEBUG" /> | |||
| <Add option="-D_WINDOWS" /> | |||
| <Add option="-D_MBCS" /> | |||
| <Add option="-D_USRDLL" /> | |||
| <Add option="-DJACK_MONITOR" /> | |||
| <Add option="-DSERVER_SIDE" /> | |||
| <Add option="-DHAVE_ASIO" /> | |||
| <Add directory="." /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| <Add directory="portaudio" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add option="-m32" /> | |||
| <Add library="libjackserver" /> | |||
| <Add library="libportaudio_x86.a" /> | |||
| <Add library="winmm" /> | |||
| <Add library="ole32" /> | |||
| <Add directory="Release\bin" /> | |||
| <Add directory="..\windows" /> | |||
| </Linker> | |||
| <ExtraCommands> | |||
| <Add before="windres -F pe-i386 -O coff -o Release/jackportaudio.res jackportaudio.rc" /> | |||
| </ExtraCommands> | |||
| </Target> | |||
| </Build> | |||
| <Compiler> | |||
| <Add option="-Wall" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add library="kernel32" /> | |||
| <Add library="user32" /> | |||
| <Add library="gdi32" /> | |||
| <Add library="winspool" /> | |||
| <Add library="comdlg32" /> | |||
| <Add library="advapi32" /> | |||
| <Add library="shell32" /> | |||
| <Add library="ole32" /> | |||
| <Add library="oleaut32" /> | |||
| <Add library="uuid" /> | |||
| <Add library="odbc32" /> | |||
| <Add library="odbccp32" /> | |||
| </Linker> | |||
| <Unit filename="jackportaudio.rc"> | |||
| <Option compilerVar="WINDRES" /> | |||
| </Unit> | |||
| <Unit filename="portaudio\JackPortAudioDevices.cpp" /> | |||
| <Unit filename="portaudio\JackPortAudioDriver.cpp" /> | |||
| <Extensions> | |||
| <code_completion /> | |||
| <envvars /> | |||
| <debugger /> | |||
| <lib_finder disable_auto="1" /> | |||
| <AutoVersioning> | |||
| <Scheme minor_max="10" build_max="0" rev_max="0" rev_rand_max="10" build_times_to_increment_minor="100" /> | |||
| <Settings autoincrement="1" date_declarations="1" do_auto_increment="0" ask_to_increment="0" language="C++" svn="0" svn_directory="" header_path="version.h" /> | |||
| <Changes_Log show_changes_editor="0" app_title="released version %M.%m.%b of %p" changeslog_path="ChangesLog.txt" /> | |||
| </AutoVersioning> | |||
| </Extensions> | |||
| </Project> | |||
| </CodeBlocks_project_file> | |||
| @@ -1,158 +0,0 @@ | |||
| <?xml version="1.0" encoding="UTF-8" standalone="yes" ?> | |||
| <CodeBlocks_project_file> | |||
| <FileVersion major="1" minor="6" /> | |||
| <Project> | |||
| <Option title="jack_test" /> | |||
| <Option pch_mode="2" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Build> | |||
| <Target title="Win32 Release 64bits"> | |||
| <Option output="Release64\bin\jack_test" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Release64\" /> | |||
| <Option type="1" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-O2" /> | |||
| <Add option="-Wall" /> | |||
| <Add directory="..\example-clients" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add directory="Release64\bin" /> | |||
| <Add library="libjack64" /> | |||
| </Linker> | |||
| </Target> | |||
| <Target title="Win32 Debug 64bits"> | |||
| <Option output="Debug64\bin\jack_test" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Debug64\" /> | |||
| <Option type="1" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-Wall" /> | |||
| <Add option="-g" /> | |||
| <Add directory="..\example-clients" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add directory="Debug64\bin" /> | |||
| <Add library="libjack64" /> | |||
| </Linker> | |||
| </Target> | |||
| <Target title="Win32 Profiling 64bits"> | |||
| <Option output="Release64\bin\jack_test" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Release64\" /> | |||
| <Option type="1" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-O2" /> | |||
| <Add option="-Wall" /> | |||
| <Add option="-DJACK_MONITOR" /> | |||
| <Add directory="..\example-clients" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add directory="Release64\bin" /> | |||
| <Add library="libjack64" /> | |||
| </Linker> | |||
| </Target> | |||
| <Target title="Win32 Release 32bits"> | |||
| <Option output="Release\bin\jack_test" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Release\" /> | |||
| <Option type="1" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-O2" /> | |||
| <Add option="-Wall" /> | |||
| <Add option="-m32" /> | |||
| <Add directory="..\example-clients" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add option="-m32" /> | |||
| <Add directory="Release\bin" /> | |||
| <Add library="libjack" /> | |||
| </Linker> | |||
| </Target> | |||
| <Target title="Win32 Debug 32bits"> | |||
| <Option output="Debug\bin\jack_test" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Debug\" /> | |||
| <Option type="1" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-Wall" /> | |||
| <Add option="-g" /> | |||
| <Add option="-m32" /> | |||
| <Add directory="..\example-clients" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add option="-m32" /> | |||
| <Add directory="Debug\bin" /> | |||
| <Add library="libjack" /> | |||
| </Linker> | |||
| </Target> | |||
| <Target title="Win32 Profiling 32bits"> | |||
| <Option output="Release\bin\jack_test" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Release\" /> | |||
| <Option type="1" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-O2" /> | |||
| <Add option="-Wall" /> | |||
| <Add option="-m32" /> | |||
| <Add option="-DJACK_MONITOR" /> | |||
| <Add directory="..\example-clients" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add option="-m32" /> | |||
| <Add directory="Release\bin" /> | |||
| <Add library="libjack" /> | |||
| </Linker> | |||
| </Target> | |||
| </Build> | |||
| <Compiler> | |||
| <Add option="-Wall" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add library="kernel32" /> | |||
| <Add library="user32" /> | |||
| <Add library="gdi32" /> | |||
| <Add library="winspool" /> | |||
| <Add library="comdlg32" /> | |||
| <Add library="advapi32" /> | |||
| <Add library="shell32" /> | |||
| <Add library="ole32" /> | |||
| <Add library="oleaut32" /> | |||
| <Add library="uuid" /> | |||
| <Add library="odbc32" /> | |||
| <Add library="odbccp32" /> | |||
| </Linker> | |||
| <Unit filename="..\tests\test.cpp"> | |||
| <Option compilerVar="CC" /> | |||
| </Unit> | |||
| <Extensions> | |||
| <code_completion /> | |||
| <envvars /> | |||
| <debugger /> | |||
| <lib_finder disable_auto="1" /> | |||
| <AutoVersioning> | |||
| <Scheme minor_max="10" build_max="0" rev_max="0" rev_rand_max="10" build_times_to_increment_minor="100" /> | |||
| <Settings autoincrement="1" date_declarations="1" do_auto_increment="0" ask_to_increment="0" language="C++" svn="0" svn_directory="" header_path="version.h" /> | |||
| <Changes_Log show_changes_editor="0" app_title="released version %M.%m.%b of %p" changeslog_path="ChangesLog.txt" /> | |||
| </AutoVersioning> | |||
| </Extensions> | |||
| </Project> | |||
| </CodeBlocks_project_file> | |||
| @@ -1,152 +0,0 @@ | |||
| <?xml version="1.0" encoding="UTF-8" standalone="yes" ?> | |||
| <CodeBlocks_project_file> | |||
| <FileVersion major="1" minor="6" /> | |||
| <Project> | |||
| <Option title="jack_unload" /> | |||
| <Option pch_mode="2" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Build> | |||
| <Target title="Win32 Release 64bits"> | |||
| <Option output="Release64\bin\jack_unload" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Release64\" /> | |||
| <Option type="1" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-O2" /> | |||
| <Add option="-Wall" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add library="libjack64" /> | |||
| <Add directory="Release64\bin" /> | |||
| </Linker> | |||
| </Target> | |||
| <Target title="Win32 Debug 64bits"> | |||
| <Option output="Debug64\bin\jack_unload" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Debug64\" /> | |||
| <Option type="1" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-Wall" /> | |||
| <Add option="-g" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add library="libjack64" /> | |||
| <Add directory="Debug64\bin" /> | |||
| </Linker> | |||
| </Target> | |||
| <Target title="Win32 Profiling 64bits"> | |||
| <Option output="Release64\bin\jack_unload" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Release64\" /> | |||
| <Option type="1" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-O2" /> | |||
| <Add option="-Wall" /> | |||
| <Add option="-DJACK_MONITOR" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add library="libjack64" /> | |||
| <Add directory="Release64\bin" /> | |||
| </Linker> | |||
| </Target> | |||
| <Target title="Win32 Release 32bits"> | |||
| <Option output="Release\bin\jack_unload" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Release\" /> | |||
| <Option type="1" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-O2" /> | |||
| <Add option="-Wall" /> | |||
| <Add option="-m32" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add option="-m32" /> | |||
| <Add library="libjack" /> | |||
| <Add directory="Release\bin" /> | |||
| </Linker> | |||
| </Target> | |||
| <Target title="Win32 Debug 32bits"> | |||
| <Option output="Debug\bin\jack_unload" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Debug\" /> | |||
| <Option type="1" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-Wall" /> | |||
| <Add option="-g" /> | |||
| <Add option="-m32" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add option="-m32" /> | |||
| <Add library="libjack" /> | |||
| <Add directory="Debug\bin" /> | |||
| </Linker> | |||
| </Target> | |||
| <Target title="Win32 Profiling 32bits"> | |||
| <Option output="Release\bin\jack_unload" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Release\" /> | |||
| <Option type="1" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-O2" /> | |||
| <Add option="-Wall" /> | |||
| <Add option="-m32" /> | |||
| <Add option="-DJACK_MONITOR" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add option="-m32" /> | |||
| <Add library="libjack" /> | |||
| <Add directory="Release\bin" /> | |||
| </Linker> | |||
| </Target> | |||
| </Build> | |||
| <Compiler> | |||
| <Add option="-Wall" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add library="kernel32" /> | |||
| <Add library="user32" /> | |||
| <Add library="gdi32" /> | |||
| <Add library="winspool" /> | |||
| <Add library="comdlg32" /> | |||
| <Add library="advapi32" /> | |||
| <Add library="shell32" /> | |||
| <Add library="ole32" /> | |||
| <Add library="oleaut32" /> | |||
| <Add library="uuid" /> | |||
| <Add library="odbc32" /> | |||
| <Add library="odbccp32" /> | |||
| </Linker> | |||
| <Unit filename="..\example-clients\ipunload.c"> | |||
| <Option compilerVar="CC" /> | |||
| </Unit> | |||
| <Extensions> | |||
| <code_completion /> | |||
| <envvars /> | |||
| <debugger /> | |||
| <lib_finder disable_auto="1" /> | |||
| <AutoVersioning> | |||
| <Scheme minor_max="10" build_max="0" rev_max="0" rev_rand_max="10" build_times_to_increment_minor="100" /> | |||
| <Settings autoincrement="1" date_declarations="1" do_auto_increment="0" ask_to_increment="0" language="C++" svn="0" svn_directory="" header_path="version.h" /> | |||
| <Changes_Log show_changes_editor="0" app_title="released version %M.%m.%b of %p" changeslog_path="ChangesLog.txt" /> | |||
| </AutoVersioning> | |||
| </Extensions> | |||
| </Project> | |||
| </CodeBlocks_project_file> | |||
| @@ -1,223 +0,0 @@ | |||
| <?xml version="1.0" encoding="UTF-8" standalone="yes" ?> | |||
| <CodeBlocks_project_file> | |||
| <FileVersion major="1" minor="6" /> | |||
| <Project> | |||
| <Option title="jack_winmme" /> | |||
| <Option pch_mode="2" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Build> | |||
| <Target title="Win32 Release 64bits"> | |||
| <Option output="Release64\bin\jack\jack_winmme" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Release64" /> | |||
| <Option type="3" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-O2" /> | |||
| <Add option="-Wall" /> | |||
| <Add option="-DWIN32" /> | |||
| <Add option="-DNDEBUG" /> | |||
| <Add option="-D_WINDOWS" /> | |||
| <Add option="-D_MBCS" /> | |||
| <Add option="-D_USRDLL" /> | |||
| <Add option="-DSERVER_SIDE" /> | |||
| <Add directory="." /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| <Add directory="winmme" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="Release64\bin" /> | |||
| <Add library="libjackserver64" /> | |||
| </Linker> | |||
| </Target> | |||
| <Target title="Win32 Debug 64bits"> | |||
| <Option output="Debug64\bin\jack\jack_winmme" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Debug64" /> | |||
| <Option type="3" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-W" /> | |||
| <Add option="-g" /> | |||
| <Add option="-DWIN32" /> | |||
| <Add option="-D_DEBUG" /> | |||
| <Add option="-D_CONSOLE" /> | |||
| <Add option="-D_MBCS" /> | |||
| <Add option="-D_USRDLL" /> | |||
| <Add option="-DSERVER_SIDE" /> | |||
| <Add directory="." /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| <Add directory="winmme" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add directory="Debug64\bin" /> | |||
| <Add directory="..\windows" /> | |||
| <Add library="libjackserver64" /> | |||
| </Linker> | |||
| </Target> | |||
| <Target title="Win32 Profiling 64bits"> | |||
| <Option output="Release64\bin\jack\jack_winmme" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Release64" /> | |||
| <Option type="3" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-O2" /> | |||
| <Add option="-Wall" /> | |||
| <Add option="-DWIN32" /> | |||
| <Add option="-DNDEBUG" /> | |||
| <Add option="-D_WINDOWS" /> | |||
| <Add option="-D_MBCS" /> | |||
| <Add option="-D_USRDLL" /> | |||
| <Add option="-DJACK_MONITOR" /> | |||
| <Add option="-DSERVER_SIDE" /> | |||
| <Add directory="." /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| <Add directory="winmme" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add directory="Release64\bin" /> | |||
| <Add directory="..\windows" /> | |||
| <Add library="libjackserver64" /> | |||
| </Linker> | |||
| </Target> | |||
| <Target title="Win32 Release 32bits"> | |||
| <Option output="Release\bin\jack\jack_winmme" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Release" /> | |||
| <Option type="3" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-O2" /> | |||
| <Add option="-Wall" /> | |||
| <Add option="-m32" /> | |||
| <Add option="-DWIN32" /> | |||
| <Add option="-DNDEBUG" /> | |||
| <Add option="-D_WINDOWS" /> | |||
| <Add option="-D_MBCS" /> | |||
| <Add option="-D_USRDLL" /> | |||
| <Add option="-DSERVER_SIDE" /> | |||
| <Add directory="." /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| <Add directory="winmme" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="Release\bin" /> | |||
| <Add option="-m32" /> | |||
| <Add library="libjackserver" /> | |||
| </Linker> | |||
| <ExtraCommands> | |||
| <Add before="windres -F pe-i386 -O coff -o Release/jackwinmme.res jackwinmme.rc" /> | |||
| </ExtraCommands> | |||
| </Target> | |||
| <Target title="Win32 Debug 32bits"> | |||
| <Option output="Debug\bin\jack\jack_winmme" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Debug" /> | |||
| <Option type="3" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-W" /> | |||
| <Add option="-g" /> | |||
| <Add option="-m32" /> | |||
| <Add option="-DWIN32" /> | |||
| <Add option="-D_DEBUG" /> | |||
| <Add option="-D_CONSOLE" /> | |||
| <Add option="-D_MBCS" /> | |||
| <Add option="-D_USRDLL" /> | |||
| <Add option="-DSERVER_SIDE" /> | |||
| <Add directory="." /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| <Add directory="winmme" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add directory="Debug\bin" /> | |||
| <Add directory="..\windows" /> | |||
| <Add option="-m32" /> | |||
| <Add library="libjackserver" /> | |||
| </Linker> | |||
| <ExtraCommands> | |||
| <Add before="windres -F pe-i386 -O coff -o Debug/jackwinmme.res jackwinmme.rc" /> | |||
| </ExtraCommands> | |||
| </Target> | |||
| <Target title="Win32 Profiling 32bits"> | |||
| <Option output="Release\bin\jack\jack_winmme" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Release" /> | |||
| <Option type="3" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-O2" /> | |||
| <Add option="-Wall" /> | |||
| <Add option="-m32" /> | |||
| <Add option="-DWIN32" /> | |||
| <Add option="-DNDEBUG" /> | |||
| <Add option="-D_WINDOWS" /> | |||
| <Add option="-D_MBCS" /> | |||
| <Add option="-D_USRDLL" /> | |||
| <Add option="-DJACK_MONITOR" /> | |||
| <Add option="-DSERVER_SIDE" /> | |||
| <Add directory="." /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| <Add directory="winmme" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add directory="Release\bin" /> | |||
| <Add directory="..\windows" /> | |||
| <Add option="-m32" /> | |||
| <Add library="libjackserver" /> | |||
| </Linker> | |||
| <ExtraCommands> | |||
| <Add before="windres -F pe-i386 -O coff -o Debug/jackwinmme.res jackwinmme.rc" /> | |||
| </ExtraCommands> | |||
| </Target> | |||
| </Build> | |||
| <Compiler> | |||
| <Add option="-Wall" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add library="kernel32" /> | |||
| <Add library="user32" /> | |||
| <Add library="gdi32" /> | |||
| <Add library="winspool" /> | |||
| <Add library="comdlg32" /> | |||
| <Add library="advapi32" /> | |||
| <Add library="shell32" /> | |||
| <Add library="ole32" /> | |||
| <Add library="oleaut32" /> | |||
| <Add library="uuid" /> | |||
| <Add library="odbc32" /> | |||
| <Add library="odbccp32" /> | |||
| <Add library="winmm" /> | |||
| </Linker> | |||
| <Unit filename="jackwinmme.rc"> | |||
| <Option compilerVar="WINDRES" /> | |||
| </Unit> | |||
| <Unit filename="winmme\JackWinMMEDriver.cpp" /> | |||
| <Unit filename="winmme\JackWinMMEDriver.h" /> | |||
| <Unit filename="winmme\JackWinMMEInputPort.cpp" /> | |||
| <Unit filename="winmme\JackWinMMEInputPort.h" /> | |||
| <Unit filename="winmme\JackWinMMEOutputPort.cpp" /> | |||
| <Unit filename="winmme\JackWinMMEOutputPort.h" /> | |||
| <Unit filename="winmme\JackWinMMEPort.cpp" /> | |||
| <Extensions> | |||
| <code_completion /> | |||
| <envvars /> | |||
| <debugger /> | |||
| <lib_finder disable_auto="1" /> | |||
| <AutoVersioning> | |||
| <Scheme minor_max="10" build_max="0" rev_max="0" rev_rand_max="10" build_times_to_increment_minor="100" /> | |||
| <Settings autoincrement="1" date_declarations="1" do_auto_increment="0" ask_to_increment="0" language="C++" svn="0" svn_directory="" header_path="version.h" /> | |||
| <Changes_Log show_changes_editor="0" app_title="released version %M.%m.%b of %p" changeslog_path="ChangesLog.txt" /> | |||
| </AutoVersioning> | |||
| </Extensions> | |||
| </Project> | |||
| </CodeBlocks_project_file> | |||
| @@ -1,215 +0,0 @@ | |||
| <?xml version="1.0" encoding="UTF-8" standalone="yes" ?> | |||
| <CodeBlocks_project_file> | |||
| <FileVersion major="1" minor="6" /> | |||
| <Project> | |||
| <Option title="jackd" /> | |||
| <Option pch_mode="2" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Build> | |||
| <Target title="Win32 Release 64bits"> | |||
| <Option output="Release64\bin\jackd" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Release64" /> | |||
| <Option type="1" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Option parameters="-R -S -d net" /> | |||
| <Option host_application="jackdmp.exe" /> | |||
| <Compiler> | |||
| <Add option="-O2" /> | |||
| <Add option="-Wall" /> | |||
| <Add option="-Wl,-subsystem,windows" /> | |||
| <Add option="-DWIN32" /> | |||
| <Add option="-DNDEBUG" /> | |||
| <Add option="-D_WINDOWS" /> | |||
| <Add option="-D_MBCS" /> | |||
| <Add option="-D_POSIX" /> | |||
| <Add directory="." /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add library="libjackserver64" /> | |||
| <Add directory="Release64\bin" /> | |||
| </Linker> | |||
| </Target> | |||
| <Target title="Win32 Debug 64bits"> | |||
| <Option output="Debug64\bin\jackd" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Debug64" /> | |||
| <Option type="1" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Option parameters="-R -S -d net" /> | |||
| <Compiler> | |||
| <Add option="-Wall" /> | |||
| <Add option="-g" /> | |||
| <Add option="-DWIN32" /> | |||
| <Add option="-D_DEBUG" /> | |||
| <Add option="-D_CONSOLE" /> | |||
| <Add option="-D_MBCS" /> | |||
| <Add option="-D_POSIX" /> | |||
| <Add directory="." /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add library="libjackserver64" /> | |||
| <Add directory="Debug64\bin" /> | |||
| </Linker> | |||
| </Target> | |||
| <Target title="Win32 Profiling 64bits"> | |||
| <Option output="Release64\bin\jackd" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Release64" /> | |||
| <Option type="1" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Option parameters="-R -S -d net" /> | |||
| <Option host_application="jackdmp.exe" /> | |||
| <Compiler> | |||
| <Add option="-O2" /> | |||
| <Add option="-Wall" /> | |||
| <Add option="-DWIN32" /> | |||
| <Add option="-DNDEBUG" /> | |||
| <Add option="-D_WINDOWS" /> | |||
| <Add option="-D_MBCS" /> | |||
| <Add option="-DJACK_MONITOR" /> | |||
| <Add option="-D_POSIX" /> | |||
| <Add directory="." /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add library="libjackserver64" /> | |||
| <Add directory="Release64\bin" /> | |||
| </Linker> | |||
| </Target> | |||
| <Target title="Win32 Release 32bits"> | |||
| <Option output="Release\bin\jackd" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Release" /> | |||
| <Option type="1" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Option parameters="-R -S -d net" /> | |||
| <Option host_application="jackdmp.exe" /> | |||
| <Compiler> | |||
| <Add option="-O2" /> | |||
| <Add option="-Wall" /> | |||
| <Add option="-m32" /> | |||
| <Add option="-Wl,-subsystem,windows" /> | |||
| <Add option="-DWIN32" /> | |||
| <Add option="-DNDEBUG" /> | |||
| <Add option="-D_WINDOWS" /> | |||
| <Add option="-D_MBCS" /> | |||
| <Add option="-D_POSIX" /> | |||
| <Add directory="." /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add option="-m32" /> | |||
| <Add library="libjackserver" /> | |||
| <Add directory="Release\bin" /> | |||
| </Linker> | |||
| <ExtraCommands> | |||
| <Add before="windres -F pe-i386 -O coff -o Release/jackd.res jackd.rc" /> | |||
| </ExtraCommands> | |||
| </Target> | |||
| <Target title="Win32 Debug 32bits"> | |||
| <Option output="Debug\bin\jackd" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Debug" /> | |||
| <Option type="1" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Option parameters="-R -S -d net" /> | |||
| <Compiler> | |||
| <Add option="-Wall" /> | |||
| <Add option="-g" /> | |||
| <Add option="-m32" /> | |||
| <Add option="-DWIN32" /> | |||
| <Add option="-D_DEBUG" /> | |||
| <Add option="-D_CONSOLE" /> | |||
| <Add option="-D_MBCS" /> | |||
| <Add option="-D_POSIX" /> | |||
| <Add directory="." /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add option="-m32" /> | |||
| <Add library="libjackserver" /> | |||
| <Add directory="Debug\bin" /> | |||
| </Linker> | |||
| <ExtraCommands> | |||
| <Add before="windres -F pe-i386 -O coff -o Debug/jackd.res jackd.rc" /> | |||
| </ExtraCommands> | |||
| </Target> | |||
| <Target title="Win32 Profiling 32bits"> | |||
| <Option output="Release\bin\jackd" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Release" /> | |||
| <Option type="1" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Option parameters="-R -S -d net" /> | |||
| <Option host_application="jackdmp.exe" /> | |||
| <Compiler> | |||
| <Add option="-O2" /> | |||
| <Add option="-Wall" /> | |||
| <Add option="-m32" /> | |||
| <Add option="-DWIN32" /> | |||
| <Add option="-DNDEBUG" /> | |||
| <Add option="-D_WINDOWS" /> | |||
| <Add option="-D_MBCS" /> | |||
| <Add option="-DJACK_MONITOR" /> | |||
| <Add option="-D_POSIX" /> | |||
| <Add directory="." /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add option="-m32" /> | |||
| <Add library="libjackserver" /> | |||
| <Add directory="Release\bin" /> | |||
| </Linker> | |||
| <ExtraCommands> | |||
| <Add before="windres -F pe-i386 -O coff -o Release/jackd.res jackd.rc" /> | |||
| </ExtraCommands> | |||
| </Target> | |||
| </Build> | |||
| <Compiler> | |||
| <Add option="-Wall" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add library="kernel32" /> | |||
| <Add library="user32" /> | |||
| <Add library="gdi32" /> | |||
| <Add library="winspool" /> | |||
| <Add library="comdlg32" /> | |||
| <Add library="advapi32" /> | |||
| <Add library="shell32" /> | |||
| <Add library="ole32" /> | |||
| <Add library="oleaut32" /> | |||
| <Add library="uuid" /> | |||
| <Add library="odbc32" /> | |||
| <Add library="odbccp32" /> | |||
| </Linker> | |||
| <Unit filename="..\common\Jackdmp.cpp" /> | |||
| <Unit filename="getopt.c"> | |||
| <Option compilerVar="CC" /> | |||
| </Unit> | |||
| <Unit filename="getopt1.c"> | |||
| <Option compilerVar="CC" /> | |||
| </Unit> | |||
| <Unit filename="jackd.rc"> | |||
| <Option compilerVar="WINDRES" /> | |||
| </Unit> | |||
| <Extensions> | |||
| <code_completion /> | |||
| <envvars /> | |||
| <debugger /> | |||
| <AutoVersioning> | |||
| <Scheme minor_max="10" build_max="0" rev_max="0" rev_rand_max="10" build_times_to_increment_minor="100" /> | |||
| <Settings autoincrement="1" date_declarations="1" do_auto_increment="0" ask_to_increment="0" language="C++" svn="0" svn_directory="" header_path="version.h" /> | |||
| <Changes_Log show_changes_editor="0" app_title="released version %M.%m.%b of %p" changeslog_path="ChangesLog.txt" /> | |||
| </AutoVersioning> | |||
| </Extensions> | |||
| </Project> | |||
| </CodeBlocks_project_file> | |||
| @@ -1,30 +0,0 @@ | |||
| <?xml version="1.0" encoding="UTF-8" standalone="yes" ?> | |||
| <CodeBlocks_workspace_file> | |||
| <Workspace title="jack"> | |||
| <Project filename="libjack.cbp" /> | |||
| <Project filename="libjacknet.cbp" /> | |||
| <Project filename="libjackserver.cbp" /> | |||
| <Project filename="jack_portaudio.cbp" /> | |||
| <Project filename="jack_netdriver.cbp" /> | |||
| <Project filename="jack_netonedriver.cbp" /> | |||
| <Project filename="jack_dummy.cbp" /> | |||
| <Project filename="jack_netmanager.cbp" /> | |||
| <Project filename="jack_audioadapter.cbp" /> | |||
| <Project filename="jack_load.cbp" /> | |||
| <Project filename="jack_unload.cbp" /> | |||
| <Project filename="jack_lsp.cbp" /> | |||
| <Project filename="jack_latent_client.cbp" /> | |||
| <Project filename="jack_metro.cbp" /> | |||
| <Project filename="jack_connect.cbp" /> | |||
| <Project filename="jack_disconnect.cbp" /> | |||
| <Project filename="jack_test.cbp" /> | |||
| <Project filename="multiple_metro.cbp" /> | |||
| <Project filename="jack_winmme.cbp" /> | |||
| <Project filename="jack_loopback.cbp" /> | |||
| <Project filename="jackd.cbp" /> | |||
| <Project filename="jack_midi_latency_test.cbp" /> | |||
| <Project filename="jack_netadapter.cbp" active="1" /> | |||
| <Project filename="jack_netsource.cbp" /> | |||
| <Project filename="jack_midi_dump.cbp" /> | |||
| </Workspace> | |||
| </CodeBlocks_workspace_file> | |||
| @@ -1,403 +0,0 @@ | |||
| <?xml version="1.0" encoding="UTF-8" standalone="yes" ?> | |||
| <CodeBlocks_project_file> | |||
| <FileVersion major="1" minor="6" /> | |||
| <Project> | |||
| <Option title="libjack" /> | |||
| <Option pch_mode="2" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Build> | |||
| <Target title="Win32 Release 64bits"> | |||
| <Option output="Release64\bin\libjack64" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Release64\libjack" /> | |||
| <Option type="3" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Option createDefFile="1" /> | |||
| <Option createStaticLib="1" /> | |||
| <Compiler> | |||
| <Add option="-O2" /> | |||
| <Add option="-Wall" /> | |||
| <Add option="-DWIN32" /> | |||
| <Add option="-DNDEBUG" /> | |||
| <Add option="-D_WINDOWS" /> | |||
| <Add option="-D_MBCS" /> | |||
| <Add option="-D_USRDLL" /> | |||
| <Add option="-DREGEX_MALLOC" /> | |||
| <Add option="-DSTDC_HEADERS" /> | |||
| <Add option="-D__SMP__" /> | |||
| <Add option="-DHAVE_CONFIG_H" /> | |||
| <Add directory="." /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| <Add directory="tre-0.8.0\win32" /> | |||
| <Add directory="tre-0.8.0\lib" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add library="kernel32" /> | |||
| <Add library="user32" /> | |||
| <Add library="gdi32" /> | |||
| <Add library="winspool" /> | |||
| <Add library="comdlg32" /> | |||
| <Add library="advapi32" /> | |||
| <Add library="shell32" /> | |||
| <Add library="ole32" /> | |||
| <Add library="oleaut32" /> | |||
| <Add library="uuid" /> | |||
| <Add library="odbc32" /> | |||
| <Add library="odbccp32" /> | |||
| <Add library="psapi" /> | |||
| </Linker> | |||
| </Target> | |||
| <Target title="Win32 Debug 64bits"> | |||
| <Option output="Debug64\bin\libjack64" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Debug64\libjack" /> | |||
| <Option type="3" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Option createDefFile="1" /> | |||
| <Option createStaticLib="1" /> | |||
| <Compiler> | |||
| <Add option="-Wall" /> | |||
| <Add option="-g" /> | |||
| <Add option="-DWIN32" /> | |||
| <Add option="-D_DEBUG" /> | |||
| <Add option="-D_CONSOLE" /> | |||
| <Add option="-D_MBCS" /> | |||
| <Add option="-D_USRDLL" /> | |||
| <Add option="-DREGEX_MALLOC" /> | |||
| <Add option="-DSTDC_HEADERS" /> | |||
| <Add option="-D__SMP__" /> | |||
| <Add option="-DHAVE_CONFIG_H" /> | |||
| <Add directory="." /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| <Add directory="tre-0.8.0\win32" /> | |||
| <Add directory="tre-0.8.0\lib" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add library="kernel32" /> | |||
| <Add library="user32" /> | |||
| <Add library="gdi32" /> | |||
| <Add library="winspool" /> | |||
| <Add library="comdlg32" /> | |||
| <Add library="advapi32" /> | |||
| <Add library="shell32" /> | |||
| <Add library="ole32" /> | |||
| <Add library="oleaut32" /> | |||
| <Add library="uuid" /> | |||
| <Add library="odbc32" /> | |||
| <Add library="odbccp32" /> | |||
| <Add library="psapi" /> | |||
| </Linker> | |||
| </Target> | |||
| <Target title="Win32 Profiling 64bits"> | |||
| <Option output="Release64\bin\libjack64" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Release64\libjack" /> | |||
| <Option type="3" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Option createDefFile="1" /> | |||
| <Option createStaticLib="1" /> | |||
| <Compiler> | |||
| <Add option="-O2" /> | |||
| <Add option="-Wall" /> | |||
| <Add option="-DWIN32" /> | |||
| <Add option="-DNDEBUG" /> | |||
| <Add option="-D_WINDOWS" /> | |||
| <Add option="-D_MBCS" /> | |||
| <Add option="-D_USRDLL" /> | |||
| <Add option="-DREGEX_MALLOC" /> | |||
| <Add option="-DSTDC_HEADERS" /> | |||
| <Add option="-D__SMP__" /> | |||
| <Add option="-DJACK_MONITOR" /> | |||
| <Add option="-DHAVE_CONFIG_H" /> | |||
| <Add directory="." /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| <Add directory="tre-0.8.0\win32" /> | |||
| <Add directory="tre-0.8.0\lib" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add library="kernel32" /> | |||
| <Add library="user32" /> | |||
| <Add library="gdi32" /> | |||
| <Add library="winspool" /> | |||
| <Add library="comdlg32" /> | |||
| <Add library="advapi32" /> | |||
| <Add library="shell32" /> | |||
| <Add library="ole32" /> | |||
| <Add library="oleaut32" /> | |||
| <Add library="uuid" /> | |||
| <Add library="odbc32" /> | |||
| <Add library="odbccp32" /> | |||
| <Add library="psapi" /> | |||
| </Linker> | |||
| </Target> | |||
| <Target title="Win32 Release 32bits"> | |||
| <Option output="Release\bin\libjack" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Release\libjack" /> | |||
| <Option type="3" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Option createDefFile="1" /> | |||
| <Option createStaticLib="1" /> | |||
| <Compiler> | |||
| <Add option="-O2" /> | |||
| <Add option="-Wall" /> | |||
| <Add option="-m32" /> | |||
| <Add option="-DWIN32" /> | |||
| <Add option="-DNDEBUG" /> | |||
| <Add option="-D_WINDOWS" /> | |||
| <Add option="-D_MBCS" /> | |||
| <Add option="-D_USRDLL" /> | |||
| <Add option="-DREGEX_MALLOC" /> | |||
| <Add option="-DSTDC_HEADERS" /> | |||
| <Add option="-D__SMP__" /> | |||
| <Add option="-DHAVE_CONFIG_H" /> | |||
| <Add directory="." /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| <Add directory="tre-0.8.0\win32" /> | |||
| <Add directory="tre-0.8.0\lib" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add option="-m32" /> | |||
| <Add library="kernel32" /> | |||
| <Add library="user32" /> | |||
| <Add library="gdi32" /> | |||
| <Add library="winspool" /> | |||
| <Add library="comdlg32" /> | |||
| <Add library="advapi32" /> | |||
| <Add library="shell32" /> | |||
| <Add library="ole32" /> | |||
| <Add library="oleaut32" /> | |||
| <Add library="uuid" /> | |||
| <Add library="odbc32" /> | |||
| <Add library="odbccp32" /> | |||
| <Add library="psapi" /> | |||
| </Linker> | |||
| <ExtraCommands> | |||
| <Add before="windres -F pe-i386 -O coff -o Release/libjack/libjack.res libjack.rc" /> | |||
| </ExtraCommands> | |||
| </Target> | |||
| <Target title="Win32 Debug 32bits"> | |||
| <Option output="Debug\bin\libjack" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Debug\libjack" /> | |||
| <Option type="3" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Option createDefFile="1" /> | |||
| <Option createStaticLib="1" /> | |||
| <Compiler> | |||
| <Add option="-Wall" /> | |||
| <Add option="-g" /> | |||
| <Add option="-m32" /> | |||
| <Add option="-DWIN32" /> | |||
| <Add option="-D_DEBUG" /> | |||
| <Add option="-D_CONSOLE" /> | |||
| <Add option="-D_MBCS" /> | |||
| <Add option="-D_USRDLL" /> | |||
| <Add option="-DREGEX_MALLOC" /> | |||
| <Add option="-DSTDC_HEADERS" /> | |||
| <Add option="-D__SMP__" /> | |||
| <Add option="-DHAVE_CONFIG_H" /> | |||
| <Add directory="." /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| <Add directory="tre-0.8.0\win32" /> | |||
| <Add directory="tre-0.8.0\lib" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add option="-m32" /> | |||
| <Add library="kernel32" /> | |||
| <Add library="user32" /> | |||
| <Add library="gdi32" /> | |||
| <Add library="winspool" /> | |||
| <Add library="comdlg32" /> | |||
| <Add library="advapi32" /> | |||
| <Add library="shell32" /> | |||
| <Add library="ole32" /> | |||
| <Add library="oleaut32" /> | |||
| <Add library="uuid" /> | |||
| <Add library="odbc32" /> | |||
| <Add library="odbccp32" /> | |||
| <Add library="psapi" /> | |||
| </Linker> | |||
| <ExtraCommands> | |||
| <Add before="windres -F pe-i386 -O coff -o Debug/libjack/libjack.res libjack.rc" /> | |||
| </ExtraCommands> | |||
| </Target> | |||
| <Target title="Win32 Profiling 32bits"> | |||
| <Option output="Release\bin\libjack" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Release\libjack" /> | |||
| <Option type="3" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Option createDefFile="1" /> | |||
| <Option createStaticLib="1" /> | |||
| <Compiler> | |||
| <Add option="-O2" /> | |||
| <Add option="-Wall" /> | |||
| <Add option="-m32" /> | |||
| <Add option="-DWIN32" /> | |||
| <Add option="-DNDEBUG" /> | |||
| <Add option="-D_WINDOWS" /> | |||
| <Add option="-D_MBCS" /> | |||
| <Add option="-D_USRDLL" /> | |||
| <Add option="-DREGEX_MALLOC" /> | |||
| <Add option="-DSTDC_HEADERS" /> | |||
| <Add option="-D__SMP__" /> | |||
| <Add option="-DJACK_MONITOR" /> | |||
| <Add option="-DHAVE_CONFIG_H" /> | |||
| <Add directory="." /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| <Add directory="tre-0.8.0\win32" /> | |||
| <Add directory="tre-0.8.0\lib" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add option="-m32" /> | |||
| <Add library="kernel32" /> | |||
| <Add library="user32" /> | |||
| <Add library="gdi32" /> | |||
| <Add library="winspool" /> | |||
| <Add library="comdlg32" /> | |||
| <Add library="advapi32" /> | |||
| <Add library="shell32" /> | |||
| <Add library="ole32" /> | |||
| <Add library="oleaut32" /> | |||
| <Add library="uuid" /> | |||
| <Add library="odbc32" /> | |||
| <Add library="odbccp32" /> | |||
| <Add library="psapi" /> | |||
| </Linker> | |||
| <ExtraCommands> | |||
| <Add before="windres -F pe-i386 -O coff -o Release/libjack/libjack.res libjack.rc" /> | |||
| </ExtraCommands> | |||
| </Target> | |||
| </Build> | |||
| <Compiler> | |||
| <Add option="-Wall" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add library="kernel32" /> | |||
| <Add library="user32" /> | |||
| <Add library="gdi32" /> | |||
| <Add library="winspool" /> | |||
| <Add library="comdlg32" /> | |||
| <Add library="advapi32" /> | |||
| <Add library="shell32" /> | |||
| <Add library="ole32" /> | |||
| <Add library="oleaut32" /> | |||
| <Add library="uuid" /> | |||
| <Add library="odbc32" /> | |||
| <Add library="odbccp32" /> | |||
| <Add library="winmm" /> | |||
| </Linker> | |||
| <Unit filename="..\common\JackAPI.cpp" /> | |||
| <Unit filename="..\common\JackActivationCount.cpp" /> | |||
| <Unit filename="..\common\JackAudioPort.cpp" /> | |||
| <Unit filename="..\common\JackClient.cpp" /> | |||
| <Unit filename="..\common\JackConnectionManager.cpp" /> | |||
| <Unit filename="..\common\JackDebugClient.cpp"> | |||
| <Option target="Win32 Debug 64bits" /> | |||
| <Option target="Win32 Debug 32bits" /> | |||
| </Unit> | |||
| <Unit filename="..\common\JackEngineControl.cpp" /> | |||
| <Unit filename="..\common\JackEngineProfiling.cpp"> | |||
| <Option target="Win32 Profiling" /> | |||
| </Unit> | |||
| <Unit filename="..\common\JackError.cpp" /> | |||
| <Unit filename="..\common\JackException.cpp" /> | |||
| <Unit filename="..\common\JackFrameTimer.cpp" /> | |||
| <Unit filename="..\common\JackGenericClientChannel.cpp" /> | |||
| <Unit filename="..\common\JackGlobals.cpp" /> | |||
| <Unit filename="..\common\JackGraphManager.cpp" /> | |||
| <Unit filename="..\common\JackLibAPI.cpp" /> | |||
| <Unit filename="..\common\JackLibClient.cpp" /> | |||
| <Unit filename="..\common\JackMessageBuffer.cpp" /> | |||
| <Unit filename="..\common\JackMidiAPI.cpp" /> | |||
| <Unit filename="..\common\JackMidiPort.cpp" /> | |||
| <Unit filename="..\common\JackPort.cpp" /> | |||
| <Unit filename="..\common\JackPortType.cpp" /> | |||
| <Unit filename="..\common\JackShmMem.cpp" /> | |||
| <Unit filename="..\common\JackTools.cpp" /> | |||
| <Unit filename="..\common\JackTransportEngine.cpp" /> | |||
| <Unit filename="..\common\ringbuffer.c"> | |||
| <Option compilerVar="CC" /> | |||
| </Unit> | |||
| <Unit filename="..\common\shm.c"> | |||
| <Option compilerVar="CC" /> | |||
| </Unit> | |||
| <Unit filename="JackMMCSS.cpp" /> | |||
| <Unit filename="JackWinMutex.cpp" /> | |||
| <Unit filename="JackWinNamedPipe.cpp" /> | |||
| <Unit filename="JackWinNamedPipeClientChannel.cpp" /> | |||
| <Unit filename="JackWinProcessSync.cpp" /> | |||
| <Unit filename="JackWinSemaphore.cpp" /> | |||
| <Unit filename="JackWinServerLaunch.cpp" /> | |||
| <Unit filename="JackWinThread.cpp" /> | |||
| <Unit filename="JackWinTime.c"> | |||
| <Option compilerVar="CC" /> | |||
| </Unit> | |||
| <Unit filename="libjack.rc"> | |||
| <Option compilerVar="WINDRES" /> | |||
| </Unit> | |||
| <Unit filename="tre-0.8.0\lib\regcomp.c"> | |||
| <Option compilerVar="CC" /> | |||
| </Unit> | |||
| <Unit filename="tre-0.8.0\lib\regerror.c"> | |||
| <Option compilerVar="CC" /> | |||
| </Unit> | |||
| <Unit filename="tre-0.8.0\lib\regex.h" /> | |||
| <Unit filename="tre-0.8.0\lib\regexec.c"> | |||
| <Option compilerVar="CC" /> | |||
| </Unit> | |||
| <Unit filename="tre-0.8.0\lib\tre-ast.c"> | |||
| <Option compilerVar="CC" /> | |||
| </Unit> | |||
| <Unit filename="tre-0.8.0\lib\tre-ast.h" /> | |||
| <Unit filename="tre-0.8.0\lib\tre-compile.c"> | |||
| <Option compilerVar="CC" /> | |||
| </Unit> | |||
| <Unit filename="tre-0.8.0\lib\tre-compile.h" /> | |||
| <Unit filename="tre-0.8.0\lib\tre-internal.h" /> | |||
| <Unit filename="tre-0.8.0\lib\tre-match-approx.c"> | |||
| <Option compilerVar="CC" /> | |||
| </Unit> | |||
| <Unit filename="tre-0.8.0\lib\tre-match-backtrack.c"> | |||
| <Option compilerVar="CC" /> | |||
| </Unit> | |||
| <Unit filename="tre-0.8.0\lib\tre-match-parallel.c"> | |||
| <Option compilerVar="CC" /> | |||
| </Unit> | |||
| <Unit filename="tre-0.8.0\lib\tre-match-utils.h" /> | |||
| <Unit filename="tre-0.8.0\lib\tre-mem.c"> | |||
| <Option compilerVar="CC" /> | |||
| </Unit> | |||
| <Unit filename="tre-0.8.0\lib\tre-mem.h" /> | |||
| <Unit filename="tre-0.8.0\lib\tre-parse.c"> | |||
| <Option compilerVar="CC" /> | |||
| </Unit> | |||
| <Unit filename="tre-0.8.0\lib\tre-parse.h" /> | |||
| <Unit filename="tre-0.8.0\lib\tre-stack.c"> | |||
| <Option compilerVar="CC" /> | |||
| </Unit> | |||
| <Unit filename="tre-0.8.0\lib\tre-stack.h" /> | |||
| <Unit filename="tre-0.8.0\lib\tre.h" /> | |||
| <Unit filename="tre-0.8.0\lib\xmalloc.c"> | |||
| <Option compilerVar="CC" /> | |||
| </Unit> | |||
| <Unit filename="tre-0.8.0\lib\xmalloc.h" /> | |||
| <Extensions> | |||
| <code_completion /> | |||
| <envvars /> | |||
| <debugger /> | |||
| <AutoVersioning> | |||
| <Scheme minor_max="10" build_max="0" rev_max="0" rev_rand_max="10" build_times_to_increment_minor="100" /> | |||
| <Settings autoincrement="1" date_declarations="1" do_auto_increment="0" ask_to_increment="0" language="C++" svn="0" svn_directory="" header_path="version.h" /> | |||
| <Changes_Log show_changes_editor="0" app_title="released version %M.%m.%b of %p" changeslog_path="ChangesLog.txt" /> | |||
| </AutoVersioning> | |||
| </Extensions> | |||
| </Project> | |||
| </CodeBlocks_project_file> | |||
| @@ -1,254 +0,0 @@ | |||
| <?xml version="1.0" encoding="UTF-8" standalone="yes" ?> | |||
| <CodeBlocks_project_file> | |||
| <FileVersion major="1" minor="6" /> | |||
| <Project> | |||
| <Option title="libjacknet" /> | |||
| <Option pch_mode="2" /> | |||
| <Option compiler="gcc" /> | |||
| <Build> | |||
| <Target title="Win32 Release 64bits"> | |||
| <Option output="Release64\bin\libjacknet64" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Release64\libjacknet" /> | |||
| <Option type="3" /> | |||
| <Option compiler="gcc" /> | |||
| <Option createDefFile="1" /> | |||
| <Option createStaticLib="1" /> | |||
| <Compiler> | |||
| <Add option="-O2" /> | |||
| <Add option="-Wall" /> | |||
| <Add option="-DWIN32" /> | |||
| <Add option="-DNDEBUG" /> | |||
| <Add option="-D_WINDOWS" /> | |||
| <Add option="-D_MBCS" /> | |||
| <Add option="-D_USRDLL" /> | |||
| <Add option="-DLIBJACKDMP_EXPORTS" /> | |||
| <Add option="-DREGEX_MALLOC" /> | |||
| <Add option="-DSTDC_HEADERS" /> | |||
| <Add option="-D__SMP__" /> | |||
| <Add directory="." /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add library="libsamplerate_x86_64.a" /> | |||
| <Add directory="Release64\bin" /> | |||
| </Linker> | |||
| </Target> | |||
| <Target title="Win32 Debug 64bits"> | |||
| <Option output="Debug64\bin\libjacknet64" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Debug64\libjacknet" /> | |||
| <Option type="3" /> | |||
| <Option compiler="gcc" /> | |||
| <Option createDefFile="1" /> | |||
| <Option createStaticLib="1" /> | |||
| <Compiler> | |||
| <Add option="-Wall" /> | |||
| <Add option="-g" /> | |||
| <Add option="-DWIN32" /> | |||
| <Add option="-D_DEBUG" /> | |||
| <Add option="-D_CONSOLE" /> | |||
| <Add option="-D_MBCS" /> | |||
| <Add option="-D_USRDLL" /> | |||
| <Add option="-DLIBJACKDMP_EXPORTS" /> | |||
| <Add option="-DREGEX_MALLOC" /> | |||
| <Add option="-DSTDC_HEADERS" /> | |||
| <Add option="-D__SMP__" /> | |||
| <Add directory="." /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add library="libsamplerate_x86_64.a" /> | |||
| <Add directory="Debug64\bin" /> | |||
| </Linker> | |||
| </Target> | |||
| <Target title="Win32 Profiling 64bits"> | |||
| <Option output="Release64\bin\libjacknet64" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Release64\libjacknet" /> | |||
| <Option type="3" /> | |||
| <Option compiler="gcc" /> | |||
| <Option createDefFile="1" /> | |||
| <Option createStaticLib="1" /> | |||
| <Compiler> | |||
| <Add option="-O2" /> | |||
| <Add option="-Wall" /> | |||
| <Add option="-DWIN32" /> | |||
| <Add option="-DNDEBUG" /> | |||
| <Add option="-D_WINDOWS" /> | |||
| <Add option="-D_MBCS" /> | |||
| <Add option="-D_USRDLL" /> | |||
| <Add option="-DLIBJACKDMP_EXPORTS" /> | |||
| <Add option="-DREGEX_MALLOC" /> | |||
| <Add option="-DSTDC_HEADERS" /> | |||
| <Add option="-D__SMP__" /> | |||
| <Add option="-DJACK_MONITOR" /> | |||
| <Add directory="." /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add library="libsamplerate_x86_64.a" /> | |||
| <Add directory="Release64\bin" /> | |||
| </Linker> | |||
| </Target> | |||
| <Target title="Win32 Release 32bits"> | |||
| <Option output="Release\bin\libjacknet" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Release\libjacknet" /> | |||
| <Option type="3" /> | |||
| <Option compiler="gcc" /> | |||
| <Option createDefFile="1" /> | |||
| <Option createStaticLib="1" /> | |||
| <Compiler> | |||
| <Add option="-O2" /> | |||
| <Add option="-Wall" /> | |||
| <Add option="-m32" /> | |||
| <Add option="-DWIN32" /> | |||
| <Add option="-DNDEBUG" /> | |||
| <Add option="-D_WINDOWS" /> | |||
| <Add option="-D_MBCS" /> | |||
| <Add option="-D_USRDLL" /> | |||
| <Add option="-DLIBJACKDMP_EXPORTS" /> | |||
| <Add option="-DREGEX_MALLOC" /> | |||
| <Add option="-DSTDC_HEADERS" /> | |||
| <Add option="-D__SMP__" /> | |||
| <Add directory="." /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add option="-m32" /> | |||
| <Add library="libsamplerate_x86.a" /> | |||
| <Add directory="Release\bin" /> | |||
| </Linker> | |||
| <ExtraCommands> | |||
| <Add before="windres -F pe-i386 -O coff -o Release/libjacknet/libjacknet.res libjacknet.rc" /> | |||
| </ExtraCommands> | |||
| </Target> | |||
| <Target title="Win32 Debug 32bits"> | |||
| <Option output="Debug\bin\libjacknet" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Debug\libjacknet" /> | |||
| <Option type="3" /> | |||
| <Option compiler="gcc" /> | |||
| <Option createDefFile="1" /> | |||
| <Option createStaticLib="1" /> | |||
| <Compiler> | |||
| <Add option="-Wall" /> | |||
| <Add option="-g" /> | |||
| <Add option="-m32" /> | |||
| <Add option="-DWIN32" /> | |||
| <Add option="-D_DEBUG" /> | |||
| <Add option="-D_CONSOLE" /> | |||
| <Add option="-D_MBCS" /> | |||
| <Add option="-D_USRDLL" /> | |||
| <Add option="-DLIBJACKDMP_EXPORTS" /> | |||
| <Add option="-DREGEX_MALLOC" /> | |||
| <Add option="-DSTDC_HEADERS" /> | |||
| <Add option="-D__SMP__" /> | |||
| <Add directory="." /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add option="-m32" /> | |||
| <Add library="libsamplerate_x86.a" /> | |||
| <Add directory="Debug\bin" /> | |||
| </Linker> | |||
| <ExtraCommands> | |||
| <Add before="windres -F pe-i386 -O coff -o Debug/libjacknet/libjacknet.res libjacknet.rc" /> | |||
| </ExtraCommands> | |||
| </Target> | |||
| <Target title="Win32 Profiling 32bits"> | |||
| <Option output="Release\bin\libjacknet" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Release\libjacknet" /> | |||
| <Option type="3" /> | |||
| <Option compiler="gcc" /> | |||
| <Option createDefFile="1" /> | |||
| <Option createStaticLib="1" /> | |||
| <Compiler> | |||
| <Add option="-O2" /> | |||
| <Add option="-Wall" /> | |||
| <Add option="-m32" /> | |||
| <Add option="-DWIN32" /> | |||
| <Add option="-DNDEBUG" /> | |||
| <Add option="-D_WINDOWS" /> | |||
| <Add option="-D_MBCS" /> | |||
| <Add option="-D_USRDLL" /> | |||
| <Add option="-DLIBJACKDMP_EXPORTS" /> | |||
| <Add option="-DREGEX_MALLOC" /> | |||
| <Add option="-DSTDC_HEADERS" /> | |||
| <Add option="-D__SMP__" /> | |||
| <Add option="-DJACK_MONITOR" /> | |||
| <Add directory="." /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add option="-m32" /> | |||
| <Add library="libsamplerate_x86.a" /> | |||
| <Add directory="Release\bin" /> | |||
| </Linker> | |||
| <ExtraCommands> | |||
| <Add before="windres -F pe-i386 -O coff -o Release/libjacknet/libjacknet.res libjacknet.rc" /> | |||
| </ExtraCommands> | |||
| </Target> | |||
| </Build> | |||
| <Compiler> | |||
| <Add option="-Wall" /> | |||
| <Add directory="." /> | |||
| <Add directory="..\common" /> | |||
| <Add directory="..\common\jack" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add library="kernel32" /> | |||
| <Add library="user32" /> | |||
| <Add library="gdi32" /> | |||
| <Add library="winspool" /> | |||
| <Add library="comdlg32" /> | |||
| <Add library="advapi32" /> | |||
| <Add library="shell32" /> | |||
| <Add library="ole32" /> | |||
| <Add library="oleaut32" /> | |||
| <Add library="uuid" /> | |||
| <Add library="odbc32" /> | |||
| <Add library="odbccp32" /> | |||
| <Add library="ws2_32" /> | |||
| <Add library="winmm" /> | |||
| </Linker> | |||
| <Unit filename="..\common\JackAudioAdapterInterface.cpp" /> | |||
| <Unit filename="..\common\JackException.cpp" /> | |||
| <Unit filename="..\common\JackGlobals.cpp" /> | |||
| <Unit filename="..\common\JackLibSampleRateResampler.cpp" /> | |||
| <Unit filename="..\common\JackNetAPI.cpp" /> | |||
| <Unit filename="..\common\JackNetInterface.cpp" /> | |||
| <Unit filename="..\common\JackNetTool.cpp" /> | |||
| <Unit filename="..\common\JackResampler.cpp" /> | |||
| <Unit filename="..\common\ringbuffer.c"> | |||
| <Option compilerVar="CC" /> | |||
| </Unit> | |||
| <Unit filename="JackMMCSS.cpp" /> | |||
| <Unit filename="JackNetWinSocket.cpp" /> | |||
| <Unit filename="JackWinThread.cpp" /> | |||
| <Unit filename="JackWinTime.c"> | |||
| <Option compilerVar="CC" /> | |||
| </Unit> | |||
| <Unit filename="libjacknet.rc"> | |||
| <Option compilerVar="WINDRES" /> | |||
| </Unit> | |||
| <Extensions> | |||
| <code_completion /> | |||
| <envvars /> | |||
| <debugger /> | |||
| <AutoVersioning> | |||
| <Scheme minor_max="10" build_max="0" rev_max="0" rev_rand_max="10" build_times_to_increment_minor="100" /> | |||
| <Settings autoincrement="0" date_declarations="0" do_auto_increment="0" ask_to_increment="0" language="C++" svn="0" svn_directory="" header_path="version.h" /> | |||
| <Changes_Log show_changes_editor="0" app_title="released version %M.%m.%b of %p" changeslog_path="ChangesLog.txt" /> | |||
| </AutoVersioning> | |||
| </Extensions> | |||
| </Project> | |||
| </CodeBlocks_project_file> | |||
| @@ -1,381 +0,0 @@ | |||
| <?xml version="1.0" encoding="UTF-8" standalone="yes" ?> | |||
| <CodeBlocks_project_file> | |||
| <FileVersion major="1" minor="6" /> | |||
| <Project> | |||
| <Option title="libjackserver" /> | |||
| <Option pch_mode="2" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Build> | |||
| <Target title="Win32 Release 64bits"> | |||
| <Option output="Release64\bin\libjackserver64" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Release64\libjackserver" /> | |||
| <Option type="3" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Option createDefFile="1" /> | |||
| <Option createStaticLib="1" /> | |||
| <Compiler> | |||
| <Add option="-O2" /> | |||
| <Add option="-Wall" /> | |||
| <Add option="-DWIN32" /> | |||
| <Add option="-DNDEBUG" /> | |||
| <Add option="-D_WINDOWS" /> | |||
| <Add option="-D_MBCS" /> | |||
| <Add option="-D_USRDLL" /> | |||
| <Add option="-DREGEX_MALLOC" /> | |||
| <Add option="-DSTDC_HEADERS" /> | |||
| <Add option="-DSERVER_SIDE" /> | |||
| <Add option="-D__SMP__" /> | |||
| <Add option="-DHAVE_CONFIG_H" /> | |||
| <Add directory="." /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| <Add directory="tre-0.8.0\win32" /> | |||
| <Add directory="tre-0.8.0\lib" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add library="psapi" /> | |||
| <Add directory="Release\bin64" /> | |||
| </Linker> | |||
| </Target> | |||
| <Target title="Win32 Debug 64bits"> | |||
| <Option output="Debug64\bin\libjackserver64" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Debug64\libjackserver" /> | |||
| <Option type="3" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Option createDefFile="1" /> | |||
| <Option createStaticLib="1" /> | |||
| <Compiler> | |||
| <Add option="-Wall" /> | |||
| <Add option="-g" /> | |||
| <Add option="-DWIN32" /> | |||
| <Add option="-D_DEBUG" /> | |||
| <Add option="-D_CONSOLE" /> | |||
| <Add option="-D_MBCS" /> | |||
| <Add option="-D_USRDLL" /> | |||
| <Add option="-DREGEX_MALLOC" /> | |||
| <Add option="-DSTDC_HEADERS" /> | |||
| <Add option="-DSERVER_SIDE" /> | |||
| <Add option="-D__SMP__" /> | |||
| <Add option="-DHAVE_CONFIG_H" /> | |||
| <Add directory="." /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| <Add directory="tre-0.8.0\win32" /> | |||
| <Add directory="tre-0.8.0\lib" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add library="psapi" /> | |||
| <Add directory="Debug\bin64" /> | |||
| </Linker> | |||
| </Target> | |||
| <Target title="Win32 Profiling 64bits"> | |||
| <Option output="Release64\bin\libjackserver64" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Release64\libjackserver" /> | |||
| <Option type="3" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Option createDefFile="1" /> | |||
| <Option createStaticLib="1" /> | |||
| <Compiler> | |||
| <Add option="-O2" /> | |||
| <Add option="-Wall" /> | |||
| <Add option="-DWIN32" /> | |||
| <Add option="-DNDEBUG" /> | |||
| <Add option="-D_WINDOWS" /> | |||
| <Add option="-D_MBCS" /> | |||
| <Add option="-D_USRDLL" /> | |||
| <Add option="-DREGEX_MALLOC" /> | |||
| <Add option="-DSTDC_HEADERS" /> | |||
| <Add option="-DSERVER_SIDE" /> | |||
| <Add option="-D__SMP__" /> | |||
| <Add option="-DJACK_MONITOR" /> | |||
| <Add option="-DHAVE_CONFIG_H" /> | |||
| <Add directory="." /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| <Add directory="tre-0.8.0\win32" /> | |||
| <Add directory="tre-0.8.0\lib" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add library="psapi" /> | |||
| <Add directory="Release\bin64" /> | |||
| </Linker> | |||
| </Target> | |||
| <Target title="Win32 Release 32bits"> | |||
| <Option output="Release\bin\libjackserver" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Release\libjackserver" /> | |||
| <Option type="3" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Option createDefFile="1" /> | |||
| <Option createStaticLib="1" /> | |||
| <Compiler> | |||
| <Add option="-O2" /> | |||
| <Add option="-Wall" /> | |||
| <Add option="-m32" /> | |||
| <Add option="-DWIN32" /> | |||
| <Add option="-DNDEBUG" /> | |||
| <Add option="-D_WINDOWS" /> | |||
| <Add option="-D_MBCS" /> | |||
| <Add option="-D_USRDLL" /> | |||
| <Add option="-DREGEX_MALLOC" /> | |||
| <Add option="-DSTDC_HEADERS" /> | |||
| <Add option="-DSERVER_SIDE" /> | |||
| <Add option="-D__SMP__" /> | |||
| <Add option="-DHAVE_CONFIG_H" /> | |||
| <Add directory="." /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| <Add directory="tre-0.8.0\win32" /> | |||
| <Add directory="tre-0.8.0\lib" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add option="-m32" /> | |||
| <Add library="psapi" /> | |||
| <Add directory="Release\bin" /> | |||
| </Linker> | |||
| <ExtraCommands> | |||
| <Add before="windres -F pe-i386 -O coff -o Release/libjackserver/libjackserver.res libjackserver.rc" /> | |||
| </ExtraCommands> | |||
| </Target> | |||
| <Target title="Win32 Debug 32bits"> | |||
| <Option output="Debug\bin\libjackserver" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Debug\libjackserver" /> | |||
| <Option type="3" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Option createDefFile="1" /> | |||
| <Option createStaticLib="1" /> | |||
| <Compiler> | |||
| <Add option="-Wall" /> | |||
| <Add option="-g" /> | |||
| <Add option="-m32" /> | |||
| <Add option="-DWIN32" /> | |||
| <Add option="-D_DEBUG" /> | |||
| <Add option="-D_CONSOLE" /> | |||
| <Add option="-D_MBCS" /> | |||
| <Add option="-D_USRDLL" /> | |||
| <Add option="-DREGEX_MALLOC" /> | |||
| <Add option="-DSTDC_HEADERS" /> | |||
| <Add option="-DSERVER_SIDE" /> | |||
| <Add option="-D__SMP__" /> | |||
| <Add option="-DHAVE_CONFIG_H" /> | |||
| <Add directory="." /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| <Add directory="tre-0.8.0\win32" /> | |||
| <Add directory="tre-0.8.0\lib" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add option="-m32" /> | |||
| <Add library="psapi" /> | |||
| <Add directory="Debug\bin" /> | |||
| </Linker> | |||
| <ExtraCommands> | |||
| <Add before="windres -F pe-i386 -O coff -o Debug/libjackserver/libjackserver.res libjackserver.rc" /> | |||
| </ExtraCommands> | |||
| </Target> | |||
| <Target title="Win32 Profiling 32bits"> | |||
| <Option output="Release\bin\libjackserver" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Release\libjackserver" /> | |||
| <Option type="3" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Option createDefFile="1" /> | |||
| <Option createStaticLib="1" /> | |||
| <Compiler> | |||
| <Add option="-O2" /> | |||
| <Add option="-Wall" /> | |||
| <Add option="-m32" /> | |||
| <Add option="-DWIN32" /> | |||
| <Add option="-DNDEBUG" /> | |||
| <Add option="-D_WINDOWS" /> | |||
| <Add option="-D_MBCS" /> | |||
| <Add option="-D_USRDLL" /> | |||
| <Add option="-DREGEX_MALLOC" /> | |||
| <Add option="-DSTDC_HEADERS" /> | |||
| <Add option="-DSERVER_SIDE" /> | |||
| <Add option="-D__SMP__" /> | |||
| <Add option="-DJACK_MONITOR" /> | |||
| <Add option="-DHAVE_CONFIG_H" /> | |||
| <Add directory="." /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| <Add directory="tre-0.8.0\win32" /> | |||
| <Add directory="tre-0.8.0\lib" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add option="-m32" /> | |||
| <Add library="psapi" /> | |||
| <Add directory="Release\bin" /> | |||
| </Linker> | |||
| <ExtraCommands> | |||
| <Add before="windres -F pe-i386 -O coff -o Release/libjackserver/libjackserver.res libjackserver.rc" /> | |||
| </ExtraCommands> | |||
| </Target> | |||
| </Build> | |||
| <Compiler> | |||
| <Add option="-Wall" /> | |||
| <Add directory="." /> | |||
| <Add directory="..\common" /> | |||
| <Add directory="..\common\jack" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add library="kernel32" /> | |||
| <Add library="user32" /> | |||
| <Add library="gdi32" /> | |||
| <Add library="winspool" /> | |||
| <Add library="comdlg32" /> | |||
| <Add library="advapi32" /> | |||
| <Add library="shell32" /> | |||
| <Add library="ole32" /> | |||
| <Add library="oleaut32" /> | |||
| <Add library="uuid" /> | |||
| <Add library="odbc32" /> | |||
| <Add library="odbccp32" /> | |||
| <Add library="ws2_32" /> | |||
| <Add library="winmm" /> | |||
| </Linker> | |||
| <Unit filename="..\common\JackAPI.cpp" /> | |||
| <Unit filename="..\common\JackActivationCount.cpp" /> | |||
| <Unit filename="..\common\JackArgParser.cpp" /> | |||
| <Unit filename="..\common\JackAudioDriver.cpp" /> | |||
| <Unit filename="..\common\JackAudioPort.cpp" /> | |||
| <Unit filename="..\common\JackClient.cpp" /> | |||
| <Unit filename="..\common\JackConnectionManager.cpp" /> | |||
| <Unit filename="..\common\JackControlAPI.cpp" /> | |||
| <Unit filename="..\common\JackDebugClient.cpp"> | |||
| <Option target="Win32 Debug 64bits" /> | |||
| <Option target="Win32 Debug 32bits" /> | |||
| </Unit> | |||
| <Unit filename="..\common\JackDriver.cpp" /> | |||
| <Unit filename="..\common\JackDriverLoader.cpp" /> | |||
| <Unit filename="..\common\JackEngine.cpp" /> | |||
| <Unit filename="..\common\JackEngineControl.cpp" /> | |||
| <Unit filename="..\common\JackEngineProfiling.cpp"> | |||
| <Option target="Win32 Profiling" /> | |||
| </Unit> | |||
| <Unit filename="..\common\JackError.cpp" /> | |||
| <Unit filename="..\common\JackException.cpp" /> | |||
| <Unit filename="..\common\JackExternalClient.cpp" /> | |||
| <Unit filename="..\common\JackFrameTimer.cpp" /> | |||
| <Unit filename="..\common\JackFreewheelDriver.cpp" /> | |||
| <Unit filename="..\common\JackGenericClientChannel.cpp" /> | |||
| <Unit filename="..\common\JackGlobals.cpp" /> | |||
| <Unit filename="..\common\JackGraphManager.cpp" /> | |||
| <Unit filename="..\common\JackInternalClient.cpp" /> | |||
| <Unit filename="..\common\JackLoopbackDriver.cpp" /> | |||
| <Unit filename="..\common\JackMessageBuffer.cpp" /> | |||
| <Unit filename="..\common\JackMidiAPI.cpp" /> | |||
| <Unit filename="..\common\JackMidiAsyncQueue.cpp" /> | |||
| <Unit filename="..\common\JackMidiBufferReadQueue.cpp" /> | |||
| <Unit filename="..\common\JackMidiBufferWriteQueue.cpp" /> | |||
| <Unit filename="..\common\JackMidiDriver.cpp" /> | |||
| <Unit filename="..\common\JackMidiPort.cpp" /> | |||
| <Unit filename="..\common\JackMidiReadQueue.cpp" /> | |||
| <Unit filename="..\common\JackMidiUtil.cpp" /> | |||
| <Unit filename="..\common\JackMidiWriteQueue.cpp" /> | |||
| <Unit filename="..\common\JackNetInterface.cpp" /> | |||
| <Unit filename="..\common\JackNetTool.cpp" /> | |||
| <Unit filename="..\common\JackPort.cpp" /> | |||
| <Unit filename="..\common\JackPortType.cpp" /> | |||
| <Unit filename="..\common\JackRequestDecoder.cpp" /> | |||
| <Unit filename="..\common\JackRestartThreadedDriver.cpp" /> | |||
| <Unit filename="..\common\JackServer.cpp" /> | |||
| <Unit filename="..\common\JackServerAPI.cpp" /> | |||
| <Unit filename="..\common\JackServerGlobals.cpp" /> | |||
| <Unit filename="..\common\JackShmMem.cpp" /> | |||
| <Unit filename="..\common\JackThreadedDriver.cpp" /> | |||
| <Unit filename="..\common\JackTimedDriver.cpp" /> | |||
| <Unit filename="..\common\JackTools.cpp" /> | |||
| <Unit filename="..\common\JackTransportEngine.cpp" /> | |||
| <Unit filename="..\common\JackWaitThreadedDriver.cpp" /> | |||
| <Unit filename="..\common\ringbuffer.c"> | |||
| <Option compilerVar="CC" /> | |||
| </Unit> | |||
| <Unit filename="..\common\shm.c"> | |||
| <Option compilerVar="CC" /> | |||
| </Unit> | |||
| <Unit filename="JackMMCSS.cpp" /> | |||
| <Unit filename="JackNetWinSocket.cpp" /> | |||
| <Unit filename="JackWinMutex.cpp" /> | |||
| <Unit filename="JackWinNamedPipe.cpp" /> | |||
| <Unit filename="JackWinNamedPipeClientChannel.cpp" /> | |||
| <Unit filename="JackWinNamedPipeNotifyChannel.cpp" /> | |||
| <Unit filename="JackWinNamedPipeServerChannel.cpp" /> | |||
| <Unit filename="JackWinNamedPipeServerNotifyChannel.cpp" /> | |||
| <Unit filename="JackWinProcessSync.cpp" /> | |||
| <Unit filename="JackWinSemaphore.cpp" /> | |||
| <Unit filename="JackWinThread.cpp" /> | |||
| <Unit filename="JackWinTime.c"> | |||
| <Option compilerVar="CC" /> | |||
| </Unit> | |||
| <Unit filename="getopt.c"> | |||
| <Option compilerVar="CC" /> | |||
| </Unit> | |||
| <Unit filename="getopt1.c"> | |||
| <Option compilerVar="CC" /> | |||
| </Unit> | |||
| <Unit filename="libjackserver.rc"> | |||
| <Option compilerVar="WINDRES" /> | |||
| </Unit> | |||
| <Unit filename="tre-0.8.0\lib\regcomp.c"> | |||
| <Option compilerVar="CC" /> | |||
| </Unit> | |||
| <Unit filename="tre-0.8.0\lib\regerror.c"> | |||
| <Option compilerVar="CC" /> | |||
| </Unit> | |||
| <Unit filename="tre-0.8.0\lib\regex.h" /> | |||
| <Unit filename="tre-0.8.0\lib\regexec.c"> | |||
| <Option compilerVar="CC" /> | |||
| </Unit> | |||
| <Unit filename="tre-0.8.0\lib\tre-ast.c"> | |||
| <Option compilerVar="CC" /> | |||
| </Unit> | |||
| <Unit filename="tre-0.8.0\lib\tre-ast.h" /> | |||
| <Unit filename="tre-0.8.0\lib\tre-compile.c"> | |||
| <Option compilerVar="CC" /> | |||
| </Unit> | |||
| <Unit filename="tre-0.8.0\lib\tre-compile.h" /> | |||
| <Unit filename="tre-0.8.0\lib\tre-internal.h" /> | |||
| <Unit filename="tre-0.8.0\lib\tre-match-approx.c"> | |||
| <Option compilerVar="CC" /> | |||
| </Unit> | |||
| <Unit filename="tre-0.8.0\lib\tre-match-backtrack.c"> | |||
| <Option compilerVar="CC" /> | |||
| </Unit> | |||
| <Unit filename="tre-0.8.0\lib\tre-match-parallel.c"> | |||
| <Option compilerVar="CC" /> | |||
| </Unit> | |||
| <Unit filename="tre-0.8.0\lib\tre-match-utils.h" /> | |||
| <Unit filename="tre-0.8.0\lib\tre-mem.c"> | |||
| <Option compilerVar="CC" /> | |||
| </Unit> | |||
| <Unit filename="tre-0.8.0\lib\tre-mem.h" /> | |||
| <Unit filename="tre-0.8.0\lib\tre-parse.c"> | |||
| <Option compilerVar="CC" /> | |||
| </Unit> | |||
| <Unit filename="tre-0.8.0\lib\tre-parse.h" /> | |||
| <Unit filename="tre-0.8.0\lib\tre-stack.c"> | |||
| <Option compilerVar="CC" /> | |||
| </Unit> | |||
| <Unit filename="tre-0.8.0\lib\tre-stack.h" /> | |||
| <Unit filename="tre-0.8.0\lib\tre.h" /> | |||
| <Unit filename="tre-0.8.0\lib\xmalloc.c"> | |||
| <Option compilerVar="CC" /> | |||
| </Unit> | |||
| <Unit filename="tre-0.8.0\lib\xmalloc.h" /> | |||
| <Extensions> | |||
| <code_completion /> | |||
| <envvars /> | |||
| <debugger /> | |||
| <AutoVersioning> | |||
| <Scheme minor_max="10" build_max="0" rev_max="0" rev_rand_max="10" build_times_to_increment_minor="100" /> | |||
| <Settings autoincrement="0" date_declarations="0" do_auto_increment="0" ask_to_increment="0" language="C++" svn="0" svn_directory="" header_path="version.h" /> | |||
| <Changes_Log show_changes_editor="0" app_title="released version %M.%m.%b of %p" changeslog_path="ChangesLog.txt" /> | |||
| </AutoVersioning> | |||
| </Extensions> | |||
| </Project> | |||
| </CodeBlocks_project_file> | |||
| @@ -1,155 +0,0 @@ | |||
| <?xml version="1.0" encoding="UTF-8" standalone="yes" ?> | |||
| <CodeBlocks_project_file> | |||
| <FileVersion major="1" minor="6" /> | |||
| <Project> | |||
| <Option title="multiple_metro" /> | |||
| <Option pch_mode="2" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Build> | |||
| <Target title="Win32 Release 64bits"> | |||
| <Option output="Release64\bin\multiple_metro" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Release64\" /> | |||
| <Option type="1" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-O2" /> | |||
| <Add option="-Wall" /> | |||
| <Add directory="..\example-clients" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add directory="Release64\bin" /> | |||
| <Add library="libjack64" /> | |||
| </Linker> | |||
| </Target> | |||
| <Target title="Win32 Debug 64bits"> | |||
| <Option output="Debug64\bin\multiple_metro" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Debug64\" /> | |||
| <Option type="1" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-g" /> | |||
| <Add directory="..\tests" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add directory="Debug64\bin" /> | |||
| <Add library="libjack64" /> | |||
| </Linker> | |||
| </Target> | |||
| <Target title="Win32 Profiling 64bits"> | |||
| <Option output="Release64\bin\multiple_metro" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Release64\" /> | |||
| <Option type="1" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-O2" /> | |||
| <Add option="-Wall" /> | |||
| <Add option="-DJACK_MONITOR" /> | |||
| <Add directory="..\tests" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add directory="Release64\bin" /> | |||
| <Add library="libjack64" /> | |||
| </Linker> | |||
| </Target> | |||
| <Target title="Win32 Release 32bits"> | |||
| <Option output="Release\bin\multiple_metro" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Release\" /> | |||
| <Option type="1" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-O2" /> | |||
| <Add option="-Wall" /> | |||
| <Add option="-m32" /> | |||
| <Add directory="..\example-clients" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add directory="Release\bin" /> | |||
| <Add option="-m32" /> | |||
| <Add library="libjack" /> | |||
| </Linker> | |||
| </Target> | |||
| <Target title="Win32 Debug 32bits"> | |||
| <Option output="Debug\bin\multiple_metro" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Debug\" /> | |||
| <Option type="1" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-g" /> | |||
| <Add option="-m32" /> | |||
| <Add directory="..\tests" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add directory="Debug\bin" /> | |||
| <Add option="-m32" /> | |||
| <Add library="libjack" /> | |||
| </Linker> | |||
| </Target> | |||
| <Target title="Win32 Profiling 32bits"> | |||
| <Option output="Release\bin\multiple_metro" prefix_auto="1" extension_auto="1" /> | |||
| <Option object_output="Release\" /> | |||
| <Option type="1" /> | |||
| <Option compiler="mingw_64" /> | |||
| <Compiler> | |||
| <Add option="-O2" /> | |||
| <Add option="-Wall" /> | |||
| <Add option="-m32" /> | |||
| <Add option="-DJACK_MONITOR" /> | |||
| <Add directory="..\tests" /> | |||
| <Add directory="..\windows" /> | |||
| <Add directory="..\common\jack" /> | |||
| <Add directory="..\common" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add directory="Release\bin" /> | |||
| <Add option="-m32" /> | |||
| <Add library="libjack" /> | |||
| </Linker> | |||
| </Target> | |||
| </Build> | |||
| <Compiler> | |||
| <Add option="-Wall" /> | |||
| </Compiler> | |||
| <Linker> | |||
| <Add library="kernel32" /> | |||
| <Add library="user32" /> | |||
| <Add library="gdi32" /> | |||
| <Add library="winspool" /> | |||
| <Add library="comdlg32" /> | |||
| <Add library="advapi32" /> | |||
| <Add library="shell32" /> | |||
| <Add library="ole32" /> | |||
| <Add library="oleaut32" /> | |||
| <Add library="uuid" /> | |||
| <Add library="odbc32" /> | |||
| <Add library="odbccp32" /> | |||
| </Linker> | |||
| <Unit filename="..\tests\external_metro.cpp"> | |||
| <Option compilerVar="CC" /> | |||
| </Unit> | |||
| <Extensions> | |||
| <code_completion /> | |||
| <envvars /> | |||
| <debugger /> | |||
| <AutoVersioning> | |||
| <Scheme minor_max="10" build_max="0" rev_max="0" rev_rand_max="10" build_times_to_increment_minor="100" /> | |||
| <Settings autoincrement="1" date_declarations="1" do_auto_increment="0" ask_to_increment="0" language="C++" svn="0" svn_directory="" header_path="version.h" /> | |||
| <Changes_Log show_changes_editor="0" app_title="released version %M.%m.%b of %p" changeslog_path="ChangesLog.txt" /> | |||
| </AutoVersioning> | |||
| </Extensions> | |||
| </Project> | |||
| </CodeBlocks_project_file> | |||
| @@ -26,406 +26,405 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |||
| using Jack::JackWinMMEDriver; | |||
| JackWinMMEDriver::JackWinMMEDriver(const char *name, const char *alias, | |||
| JackLockedEngine *engine, | |||
| JackSynchro *table): | |||
| JackMidiDriver(name, alias, engine, table) | |||
| { | |||
| input_ports = 0; | |||
| output_ports = 0; | |||
| period = 0; | |||
| namespace Jack { | |||
| JackWinMMEDriver::JackWinMMEDriver(char *name, char *alias, JackLockedEngine *engine, JackSynchro *table): JackMidiDriver(name, alias, engine, table) | |||
| { | |||
| input_ports = 0; | |||
| output_ports = 0; | |||
| period = 0; | |||
| } | |||
| JackWinMMEDriver::~JackWinMMEDriver() | |||
| {} | |||
| int | |||
| JackWinMMEDriver::Attach() | |||
| { | |||
| jack_nframes_t buffer_size = fEngineControl->fBufferSize; | |||
| jack_port_id_t index; | |||
| jack_nframes_t latency = buffer_size; | |||
| jack_latency_range_t latency_range; | |||
| const char *name; | |||
| JackPort *port; | |||
| latency_range.max = latency + | |||
| ((jack_nframes_t) std::ceil((period / 1000.0) * | |||
| fEngineControl->fSampleRate)); | |||
| latency_range.min = latency; | |||
| jack_log("JackWinMMEDriver::Attach - fCaptureChannels %d", fCaptureChannels); | |||
| jack_log("JackWinMMEDriver::Attach - fPlaybackChannels %d", fPlaybackChannels); | |||
| // Inputs | |||
| for (int i = 0; i < fCaptureChannels; i++) { | |||
| JackWinMMEInputPort *input_port = input_ports[i]; | |||
| name = input_port->GetName(); | |||
| if (fEngine->PortRegister(fClientControl.fRefNum, name, | |||
| JACK_DEFAULT_MIDI_TYPE, | |||
| CaptureDriverFlags, buffer_size, &index) < 0) { | |||
| jack_error("JackWinMMEDriver::Attach - cannot register input port " | |||
| "with name '%s'.", name); | |||
| // X: Do we need to deallocate ports? | |||
| return -1; | |||
| } | |||
| port = fGraphManager->GetPort(index); | |||
| port->SetAlias(input_port->GetAlias()); | |||
| port->SetLatencyRange(JackCaptureLatency, &latency_range); | |||
| fCapturePortList[i] = index; | |||
| } | |||
| if (! fEngineControl->fSyncMode) { | |||
| latency += buffer_size; | |||
| latency_range.max = latency; | |||
| latency_range.min = latency; | |||
| } | |||
| // Outputs | |||
| for (int i = 0; i < fPlaybackChannels; i++) { | |||
| JackWinMMEOutputPort *output_port = output_ports[i]; | |||
| name = output_port->GetName(); | |||
| if (fEngine->PortRegister(fClientControl.fRefNum, name, | |||
| JACK_DEFAULT_MIDI_TYPE, | |||
| PlaybackDriverFlags, buffer_size, &index) < 0) { | |||
| jack_error("JackWinMMEDriver::Attach - cannot register output " | |||
| "port with name '%s'.", name); | |||
| // X: Do we need to deallocate ports? | |||
| return -1; | |||
| } | |||
| port = fGraphManager->GetPort(index); | |||
| port->SetAlias(output_port->GetAlias()); | |||
| port->SetLatencyRange(JackPlaybackLatency, &latency_range); | |||
| fPlaybackPortList[i] = index; | |||
| } | |||
| return 0; | |||
| } | |||
| int | |||
| JackWinMMEDriver::Close() | |||
| { | |||
| // Generic MIDI driver close | |||
| int result = JackMidiDriver::Close(); | |||
| if (input_ports) { | |||
| for (int i = 0; i < fCaptureChannels; i++) { | |||
| delete input_ports[i]; | |||
| } | |||
| delete[] input_ports; | |||
| input_ports = 0; | |||
| } | |||
| if (output_ports) { | |||
| for (int i = 0; i < fPlaybackChannels; i++) { | |||
| delete output_ports[i]; | |||
| } | |||
| delete[] output_ports; | |||
| output_ports = 0; | |||
| } | |||
| if (period) { | |||
| if (timeEndPeriod(period) != TIMERR_NOERROR) { | |||
| jack_error("JackWinMMEDriver::Close - failed to unset timer " | |||
| "resolution."); | |||
| result = -1; | |||
| } | |||
| } | |||
| return result; | |||
| } | |||
| int | |||
| JackWinMMEDriver::Open(bool capturing, bool playing, int in_channels, | |||
| int out_channels, bool monitor, | |||
| const char* capture_driver_name, | |||
| const char* playback_driver_name, | |||
| jack_nframes_t capture_latency, | |||
| jack_nframes_t playback_latency) | |||
| { | |||
| const char *client_name = fClientControl.fName; | |||
| int input_count = 0; | |||
| int output_count = 0; | |||
| int num_potential_inputs = midiInGetNumDevs(); | |||
| int num_potential_outputs = midiOutGetNumDevs(); | |||
| jack_log("JackWinMMEDriver::Open - num_potential_inputs %d", num_potential_inputs); | |||
| jack_log("JackWinMMEDriver::Open - num_potential_outputs %d", num_potential_outputs); | |||
| period = 0; | |||
| TIMECAPS caps; | |||
| if (timeGetDevCaps(&caps, sizeof(TIMECAPS)) != TIMERR_NOERROR) { | |||
| jack_error("JackWinMMEDriver::Open - could not get timer device " | |||
| "capabilities. Continuing anyway ..."); | |||
| } else { | |||
| period = caps.wPeriodMin; | |||
| if (timeBeginPeriod(period) != TIMERR_NOERROR) { | |||
| jack_error("JackWinMMEDriver::Open - could not set minimum timer " | |||
| "resolution. Continuing anyway ..."); | |||
| period = 0; | |||
| } else { | |||
| jack_log("JackWinMMEDriver::Open - multimedia timer resolution " | |||
| "set to %d milliseconds.", period); | |||
| } | |||
| } | |||
| if (num_potential_inputs) { | |||
| try { | |||
| input_ports = new JackWinMMEInputPort *[num_potential_inputs]; | |||
| } catch (std::exception& e) { | |||
| jack_error("JackWinMMEDriver::Open - while creating input port " | |||
| "array: %s", e.what()); | |||
| goto unset_timer_resolution; | |||
| } | |||
| for (int i = 0; i < num_potential_inputs; i++) { | |||
| try { | |||
| input_ports[input_count] = | |||
| new JackWinMMEInputPort(fAliasName, client_name, | |||
| capture_driver_name, i); | |||
| } catch (std::exception& e) { | |||
| jack_error("JackWinMMEDriver::Open - while creating input " | |||
| "port: %s", e.what()); | |||
| continue; | |||
| } | |||
| input_count++; | |||
| } | |||
| } | |||
| if (num_potential_outputs) { | |||
| try { | |||
| output_ports = new JackWinMMEOutputPort *[num_potential_outputs]; | |||
| } catch (std::exception& e) { | |||
| jack_error("JackWinMMEDriver::Open - while creating output port " | |||
| "array: %s", e.what()); | |||
| goto destroy_input_ports; | |||
| } | |||
| for (int i = 0; i < num_potential_outputs; i++) { | |||
| try { | |||
| output_ports[output_count] = | |||
| new JackWinMMEOutputPort(fAliasName, client_name, | |||
| playback_driver_name, i); | |||
| } catch (std::exception& e) { | |||
| jack_error("JackWinMMEDriver::Open - while creating output " | |||
| "port: %s", e.what()); | |||
| continue; | |||
| } | |||
| output_count++; | |||
| } | |||
| } | |||
| jack_log("JackWinMMEDriver::Open - input_count %d", input_count); | |||
| jack_log("JackWinMMEDriver::Open - output_count %d", output_count); | |||
| if (! (input_count || output_count)) { | |||
| jack_error("JackWinMMEDriver::Open - no WinMME inputs or outputs " | |||
| "allocated."); | |||
| } else if (! JackMidiDriver::Open(capturing, playing, input_count, | |||
| output_count, monitor, | |||
| capture_driver_name, | |||
| playback_driver_name, capture_latency, | |||
| playback_latency)) { | |||
| return 0; | |||
| } | |||
| if (output_ports) { | |||
| for (int i = 0; i < output_count; i++) { | |||
| delete output_ports[i]; | |||
| } | |||
| delete[] output_ports; | |||
| output_ports = 0; | |||
| } | |||
| destroy_input_ports: | |||
| if (input_ports) { | |||
| for (int i = 0; i < input_count; i++) { | |||
| delete input_ports[i]; | |||
| } | |||
| delete[] input_ports; | |||
| input_ports = 0; | |||
| } | |||
| unset_timer_resolution: | |||
| if (period) { | |||
| if (timeEndPeriod(period) != TIMERR_NOERROR) { | |||
| jack_error("JackWinMMEDriver::Open - failed to unset timer " | |||
| "resolution."); | |||
| } | |||
| } | |||
| return -1; | |||
| } | |||
| int | |||
| JackWinMMEDriver::Read() | |||
| { | |||
| jack_nframes_t buffer_size = fEngineControl->fBufferSize; | |||
| for (int i = 0; i < fCaptureChannels; i++) { | |||
| input_ports[i]->ProcessJack(GetInputBuffer(i), buffer_size); | |||
| } | |||
| return 0; | |||
| } | |||
| int | |||
| JackWinMMEDriver::Write() | |||
| { | |||
| jack_nframes_t buffer_size = fEngineControl->fBufferSize; | |||
| for (int i = 0; i < fPlaybackChannels; i++) { | |||
| output_ports[i]->ProcessJack(GetOutputBuffer(i), buffer_size); | |||
| } | |||
| return 0; | |||
| } | |||
| int | |||
| JackWinMMEDriver::Start() | |||
| { | |||
| jack_log("JackWinMMEDriver::Start - Starting driver."); | |||
| JackMidiDriver::Start(); | |||
| int input_count = 0; | |||
| int output_count = 0; | |||
| jack_log("JackWinMMEDriver::Start - Enabling input ports."); | |||
| for (; input_count < fCaptureChannels; input_count++) { | |||
| if (input_ports[input_count]->Start() < 0) { | |||
| jack_error("JackWinMMEDriver::Start - Failed to enable input " | |||
| "port."); | |||
| goto stop_input_ports; | |||
| } | |||
| } | |||
| jack_log("JackWinMMEDriver::Start - Enabling output ports."); | |||
| for (; output_count < fPlaybackChannels; output_count++) { | |||
| if (output_ports[output_count]->Start() < 0) { | |||
| jack_error("JackWinMMEDriver::Start - Failed to enable output " | |||
| "port."); | |||
| goto stop_output_ports; | |||
| } | |||
| } | |||
| jack_log("JackWinMMEDriver::Start - Driver started."); | |||
| return 0; | |||
| stop_output_ports: | |||
| for (int i = 0; i < output_count; i++) { | |||
| if (output_ports[i]->Stop() < 0) { | |||
| jack_error("JackWinMMEDriver::Start - Failed to disable output " | |||
| "port."); | |||
| } | |||
| } | |||
| stop_input_ports: | |||
| for (int i = 0; i < input_count; i++) { | |||
| if (input_ports[i]->Stop() < 0) { | |||
| jack_error("JackWinMMEDriver::Start - Failed to disable input " | |||
| "port."); | |||
| } | |||
| } | |||
| return -1; | |||
| } | |||
| int | |||
| JackWinMMEDriver::Stop() | |||
| { | |||
| int result = 0; | |||
| JackMidiDriver::Stop(); | |||
| jack_log("JackWinMMEDriver::Stop - disabling input ports."); | |||
| for (int i = 0; i < fCaptureChannels; i++) { | |||
| if (input_ports[i]->Stop() < 0) { | |||
| jack_error("JackWinMMEDriver::Stop - Failed to disable input " | |||
| "port."); | |||
| result = -1; | |||
| } | |||
| } | |||
| jack_log("JackWinMMEDriver::Stop - disabling output ports."); | |||
| for (int i = 0; i < fPlaybackChannels; i++) { | |||
| if (output_ports[i]->Stop() < 0) { | |||
| jack_error("JackWinMMEDriver::Stop - Failed to disable output " | |||
| "port."); | |||
| result = -1; | |||
| } | |||
| } | |||
| return result; | |||
| } | |||
| #ifdef __cplusplus | |||
| extern "C" | |||
| { | |||
| #endif | |||
| // singleton kind of driver | |||
| static Jack::JackWinMMEDriver* driver = NULL; | |||
| SERVER_EXPORT jack_driver_desc_t * driver_get_descriptor() | |||
| { | |||
| return jack_driver_descriptor_construct("winmme", JackDriverSlave, "WinMME API based MIDI backend", NULL); | |||
| } | |||
| SERVER_EXPORT Jack::JackDriverClientInterface* driver_initialize(Jack::JackLockedEngine* engine, Jack::JackSynchro* table, const JSList* params) | |||
| { | |||
| /* | |||
| unsigned int capture_ports = 2; | |||
| unsigned int playback_ports = 2; | |||
| unsigned long wait_time = 0; | |||
| const JSList * node; | |||
| const jack_driver_param_t * param; | |||
| bool monitor = false; | |||
| for (node = params; node; node = jack_slist_next (node)) { | |||
| param = (const jack_driver_param_t *) node->data; | |||
| switch (param->character) { | |||
| case 'C': | |||
| capture_ports = param->value.ui; | |||
| break; | |||
| case 'P': | |||
| playback_ports = param->value.ui; | |||
| break; | |||
| case 'r': | |||
| sample_rate = param->value.ui; | |||
| break; | |||
| case 'p': | |||
| period_size = param->value.ui; | |||
| break; | |||
| case 'w': | |||
| wait_time = param->value.ui; | |||
| break; | |||
| case 'm': | |||
| monitor = param->value.i; | |||
| break; | |||
| } | |||
| } | |||
| */ | |||
| // singleton kind of driver | |||
| if (!driver) { | |||
| driver = new Jack::JackWinMMEDriver("system_midi", "winmme", engine, table); | |||
| if (driver->Open(1, 1, 0, 0, false, "in", "out", 0, 0) == 0) { | |||
| return driver; | |||
| } else { | |||
| delete driver; | |||
| return NULL; | |||
| } | |||
| } else { | |||
| jack_info("JackWinMMEDriver already allocated, cannot be loaded twice"); | |||
| return NULL; | |||
| } | |||
| } | |||
| #ifdef __cplusplus | |||
| } | |||
| #endif | |||
| } | |||
| JackWinMMEDriver::~JackWinMMEDriver() | |||
| {} | |||
| int | |||
| JackWinMMEDriver::Attach() | |||
| { | |||
| jack_nframes_t buffer_size = fEngineControl->fBufferSize; | |||
| jack_port_id_t index; | |||
| jack_nframes_t latency = buffer_size; | |||
| jack_latency_range_t latency_range; | |||
| const char *name; | |||
| JackPort *port; | |||
| latency_range.max = latency + | |||
| ((jack_nframes_t) std::ceil((period / 1000.0) * | |||
| fEngineControl->fSampleRate)); | |||
| latency_range.min = latency; | |||
| jack_log("JackWinMMEDriver::Attach - fCaptureChannels %d", fCaptureChannels); | |||
| jack_log("JackWinMMEDriver::Attach - fPlaybackChannels %d", fPlaybackChannels); | |||
| // Inputs | |||
| for (int i = 0; i < fCaptureChannels; i++) { | |||
| JackWinMMEInputPort *input_port = input_ports[i]; | |||
| name = input_port->GetName(); | |||
| if (fEngine->PortRegister(fClientControl.fRefNum, name, | |||
| JACK_DEFAULT_MIDI_TYPE, | |||
| CaptureDriverFlags, buffer_size, &index) < 0) { | |||
| jack_error("JackWinMMEDriver::Attach - cannot register input port " | |||
| "with name '%s'.", name); | |||
| // X: Do we need to deallocate ports? | |||
| return -1; | |||
| } | |||
| port = fGraphManager->GetPort(index); | |||
| port->SetAlias(input_port->GetAlias()); | |||
| port->SetLatencyRange(JackCaptureLatency, &latency_range); | |||
| fCapturePortList[i] = index; | |||
| } | |||
| if (! fEngineControl->fSyncMode) { | |||
| latency += buffer_size; | |||
| latency_range.max = latency; | |||
| latency_range.min = latency; | |||
| } | |||
| // Outputs | |||
| for (int i = 0; i < fPlaybackChannels; i++) { | |||
| JackWinMMEOutputPort *output_port = output_ports[i]; | |||
| name = output_port->GetName(); | |||
| if (fEngine->PortRegister(fClientControl.fRefNum, name, | |||
| JACK_DEFAULT_MIDI_TYPE, | |||
| PlaybackDriverFlags, buffer_size, &index) < 0) { | |||
| jack_error("JackWinMMEDriver::Attach - cannot register output " | |||
| "port with name '%s'.", name); | |||
| // X: Do we need to deallocate ports? | |||
| return -1; | |||
| } | |||
| port = fGraphManager->GetPort(index); | |||
| port->SetAlias(output_port->GetAlias()); | |||
| port->SetLatencyRange(JackPlaybackLatency, &latency_range); | |||
| fPlaybackPortList[i] = index; | |||
| } | |||
| return 0; | |||
| } | |||
| int | |||
| JackWinMMEDriver::Close() | |||
| { | |||
| // Generic MIDI driver close | |||
| int result = JackMidiDriver::Close(); | |||
| if (input_ports) { | |||
| for (int i = 0; i < fCaptureChannels; i++) { | |||
| delete input_ports[i]; | |||
| } | |||
| delete[] input_ports; | |||
| input_ports = 0; | |||
| } | |||
| if (output_ports) { | |||
| for (int i = 0; i < fPlaybackChannels; i++) { | |||
| delete output_ports[i]; | |||
| } | |||
| delete[] output_ports; | |||
| output_ports = 0; | |||
| } | |||
| if (period) { | |||
| if (timeEndPeriod(period) != TIMERR_NOERROR) { | |||
| jack_error("JackWinMMEDriver::Close - failed to unset timer " | |||
| "resolution."); | |||
| result = -1; | |||
| } | |||
| } | |||
| return result; | |||
| } | |||
| int | |||
| JackWinMMEDriver::Open(bool capturing, bool playing, int in_channels, | |||
| int out_channels, bool monitor, | |||
| const char* capture_driver_name, | |||
| const char* playback_driver_name, | |||
| jack_nframes_t capture_latency, | |||
| jack_nframes_t playback_latency) | |||
| { | |||
| const char *client_name = fClientControl.fName; | |||
| int input_count = 0; | |||
| int output_count = 0; | |||
| int num_potential_inputs = midiInGetNumDevs(); | |||
| int num_potential_outputs = midiOutGetNumDevs(); | |||
| jack_log("JackWinMMEDriver::Open - num_potential_inputs %d", num_potential_inputs); | |||
| jack_log("JackWinMMEDriver::Open - num_potential_outputs %d", num_potential_outputs); | |||
| period = 0; | |||
| TIMECAPS caps; | |||
| if (timeGetDevCaps(&caps, sizeof(TIMECAPS)) != TIMERR_NOERROR) { | |||
| jack_error("JackWinMMEDriver::Open - could not get timer device " | |||
| "capabilities. Continuing anyway ..."); | |||
| } else { | |||
| period = caps.wPeriodMin; | |||
| if (timeBeginPeriod(period) != TIMERR_NOERROR) { | |||
| jack_error("JackWinMMEDriver::Open - could not set minimum timer " | |||
| "resolution. Continuing anyway ..."); | |||
| period = 0; | |||
| } else { | |||
| jack_log("JackWinMMEDriver::Open - multimedia timer resolution " | |||
| "set to %d milliseconds.", period); | |||
| } | |||
| } | |||
| if (num_potential_inputs) { | |||
| try { | |||
| input_ports = new JackWinMMEInputPort *[num_potential_inputs]; | |||
| } catch (std::exception& e) { | |||
| jack_error("JackWinMMEDriver::Open - while creating input port " | |||
| "array: %s", e.what()); | |||
| goto unset_timer_resolution; | |||
| } | |||
| for (int i = 0; i < num_potential_inputs; i++) { | |||
| try { | |||
| input_ports[input_count] = | |||
| new JackWinMMEInputPort(fAliasName, client_name, | |||
| capture_driver_name, i); | |||
| } catch (std::exception& e) { | |||
| jack_error("JackWinMMEDriver::Open - while creating input " | |||
| "port: %s", e.what()); | |||
| continue; | |||
| } | |||
| input_count++; | |||
| } | |||
| } | |||
| if (num_potential_outputs) { | |||
| try { | |||
| output_ports = new JackWinMMEOutputPort *[num_potential_outputs]; | |||
| } catch (std::exception& e) { | |||
| jack_error("JackWinMMEDriver::Open - while creating output port " | |||
| "array: %s", e.what()); | |||
| goto destroy_input_ports; | |||
| } | |||
| for (int i = 0; i < num_potential_outputs; i++) { | |||
| try { | |||
| output_ports[output_count] = | |||
| new JackWinMMEOutputPort(fAliasName, client_name, | |||
| playback_driver_name, i); | |||
| } catch (std::exception& e) { | |||
| jack_error("JackWinMMEDriver::Open - while creating output " | |||
| "port: %s", e.what()); | |||
| continue; | |||
| } | |||
| output_count++; | |||
| } | |||
| } | |||
| jack_log("JackWinMMEDriver::Open - input_count %d", input_count); | |||
| jack_log("JackWinMMEDriver::Open - output_count %d", output_count); | |||
| if (! (input_count || output_count)) { | |||
| jack_error("JackWinMMEDriver::Open - no WinMME inputs or outputs " | |||
| "allocated."); | |||
| } else if (! JackMidiDriver::Open(capturing, playing, input_count, | |||
| output_count, monitor, | |||
| capture_driver_name, | |||
| playback_driver_name, capture_latency, | |||
| playback_latency)) { | |||
| return 0; | |||
| } | |||
| if (output_ports) { | |||
| for (int i = 0; i < output_count; i++) { | |||
| delete output_ports[i]; | |||
| } | |||
| delete[] output_ports; | |||
| output_ports = 0; | |||
| } | |||
| destroy_input_ports: | |||
| if (input_ports) { | |||
| for (int i = 0; i < input_count; i++) { | |||
| delete input_ports[i]; | |||
| } | |||
| delete[] input_ports; | |||
| input_ports = 0; | |||
| } | |||
| unset_timer_resolution: | |||
| if (period) { | |||
| if (timeEndPeriod(period) != TIMERR_NOERROR) { | |||
| jack_error("JackWinMMEDriver::Open - failed to unset timer " | |||
| "resolution."); | |||
| } | |||
| } | |||
| return -1; | |||
| } | |||
| int | |||
| JackWinMMEDriver::Read() | |||
| { | |||
| jack_nframes_t buffer_size = fEngineControl->fBufferSize; | |||
| for (int i = 0; i < fCaptureChannels; i++) { | |||
| input_ports[i]->ProcessJack(GetInputBuffer(i), buffer_size); | |||
| } | |||
| return 0; | |||
| } | |||
| int | |||
| JackWinMMEDriver::Write() | |||
| { | |||
| jack_nframes_t buffer_size = fEngineControl->fBufferSize; | |||
| for (int i = 0; i < fPlaybackChannels; i++) { | |||
| output_ports[i]->ProcessJack(GetOutputBuffer(i), buffer_size); | |||
| } | |||
| return 0; | |||
| } | |||
| int | |||
| JackWinMMEDriver::Start() | |||
| { | |||
| jack_log("JackWinMMEDriver::Start - Starting driver."); | |||
| JackMidiDriver::Start(); | |||
| int input_count = 0; | |||
| int output_count = 0; | |||
| jack_log("JackWinMMEDriver::Start - Enabling input ports."); | |||
| for (; input_count < fCaptureChannels; input_count++) { | |||
| if (input_ports[input_count]->Start() < 0) { | |||
| jack_error("JackWinMMEDriver::Start - Failed to enable input " | |||
| "port."); | |||
| goto stop_input_ports; | |||
| } | |||
| } | |||
| jack_log("JackWinMMEDriver::Start - Enabling output ports."); | |||
| for (; output_count < fPlaybackChannels; output_count++) { | |||
| if (output_ports[output_count]->Start() < 0) { | |||
| jack_error("JackWinMMEDriver::Start - Failed to enable output " | |||
| "port."); | |||
| goto stop_output_ports; | |||
| } | |||
| } | |||
| jack_log("JackWinMMEDriver::Start - Driver started."); | |||
| return 0; | |||
| stop_output_ports: | |||
| for (int i = 0; i < output_count; i++) { | |||
| if (output_ports[i]->Stop() < 0) { | |||
| jack_error("JackWinMMEDriver::Start - Failed to disable output " | |||
| "port."); | |||
| } | |||
| } | |||
| stop_input_ports: | |||
| for (int i = 0; i < input_count; i++) { | |||
| if (input_ports[i]->Stop() < 0) { | |||
| jack_error("JackWinMMEDriver::Start - Failed to disable input " | |||
| "port."); | |||
| } | |||
| } | |||
| return -1; | |||
| } | |||
| int | |||
| JackWinMMEDriver::Stop() | |||
| { | |||
| int result = 0; | |||
| JackMidiDriver::Stop(); | |||
| jack_log("JackWinMMEDriver::Stop - disabling input ports."); | |||
| for (int i = 0; i < fCaptureChannels; i++) { | |||
| if (input_ports[i]->Stop() < 0) { | |||
| jack_error("JackWinMMEDriver::Stop - Failed to disable input " | |||
| "port."); | |||
| result = -1; | |||
| } | |||
| } | |||
| jack_log("JackWinMMEDriver::Stop - disabling output ports."); | |||
| for (int i = 0; i < fPlaybackChannels; i++) { | |||
| if (output_ports[i]->Stop() < 0) { | |||
| jack_error("JackWinMMEDriver::Stop - Failed to disable output " | |||
| "port."); | |||
| result = -1; | |||
| } | |||
| } | |||
| return result; | |||
| } | |||
| #ifdef __cplusplus | |||
| extern "C" | |||
| { | |||
| #endif | |||
| // singleton kind of driver | |||
| static Jack::JackWinMMEDriver* driver = NULL; | |||
| SERVER_EXPORT jack_driver_desc_t * driver_get_descriptor() | |||
| { | |||
| return jack_driver_descriptor_construct("winmme", JackDriverSlave, "WinMME API based MIDI backend", NULL); | |||
| } | |||
| SERVER_EXPORT Jack::JackDriverClientInterface* driver_initialize(Jack::JackLockedEngine* engine, Jack::JackSynchro* table, const JSList* params) | |||
| { | |||
| /* | |||
| unsigned int capture_ports = 2; | |||
| unsigned int playback_ports = 2; | |||
| unsigned long wait_time = 0; | |||
| const JSList * node; | |||
| const jack_driver_param_t * param; | |||
| bool monitor = false; | |||
| for (node = params; node; node = jack_slist_next (node)) { | |||
| param = (const jack_driver_param_t *) node->data; | |||
| switch (param->character) { | |||
| case 'C': | |||
| capture_ports = param->value.ui; | |||
| break; | |||
| case 'P': | |||
| playback_ports = param->value.ui; | |||
| break; | |||
| case 'r': | |||
| sample_rate = param->value.ui; | |||
| break; | |||
| case 'p': | |||
| period_size = param->value.ui; | |||
| break; | |||
| case 'w': | |||
| wait_time = param->value.ui; | |||
| break; | |||
| case 'm': | |||
| monitor = param->value.i; | |||
| break; | |||
| } | |||
| } | |||
| */ | |||
| // singleton kind of driver | |||
| if (!driver) { | |||
| driver = new Jack::JackWinMMEDriver("system_midi", "winmme", engine, table); | |||
| if (driver->Open(1, 1, 0, 0, false, "in", "out", 0, 0) == 0) { | |||
| return driver; | |||
| } else { | |||
| delete driver; | |||
| return NULL; | |||
| } | |||
| } else { | |||
| jack_info("JackWinMMEDriver already allocated, cannot be loaded twice"); | |||
| return NULL; | |||
| } | |||
| } | |||
| #ifdef __cplusplus | |||
| } | |||
| #endif | |||
| /* | |||
| jack_connect system:midi_capture_1 system_midi:playback_1 | |||
| jack_connect system:midi_capture_1 system_midi:playback_2 | |||
| @@ -442,4 +441,3 @@ jack_connect system_midi:capture_2 system:midi_playback_1 | |||
| jack_connect system_midi:capture_1 system_midi:playback_1 | |||
| */ | |||
| @@ -37,8 +37,7 @@ namespace Jack { | |||
| public: | |||
| JackWinMMEDriver(const char* name, const char* alias, | |||
| JackLockedEngine* engine, JackSynchro* table); | |||
| JackWinMMEDriver(char* name, char* alias, JackLockedEngine* engine, JackSynchro* table); | |||
| ~JackWinMMEDriver(); | |||
| @@ -24,6 +24,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |||
| #include "JackError.h" | |||
| #include "JackTime.h" | |||
| #include "JackMidiUtil.h" | |||
| #include "JackMidiPort.h" | |||
| #include "JackWinMMEInputPort.h" | |||
| #include "JackMidiWriteQueue.h" | |||
| @@ -176,7 +177,7 @@ JackWinMMEInputPort::GetInErrorString(MMRESULT error, LPTSTR text) | |||
| } | |||
| void | |||
| JackWinMMEInputPort::ProcessJack(JackMidiBuffer *port_buffer, | |||
| JackWinMMEInputPort::ProcessJack(Jack::JackMidiBuffer *port_buffer, | |||
| jack_nframes_t frames) | |||
| { | |||
| write_queue->ResetMidiBuffer(port_buffer, frames); | |||
| @@ -21,6 +21,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |||
| #include <stdexcept> | |||
| #include "JackMidiUtil.h" | |||
| #include "JackMidiPort.h" | |||
| #include "JackTime.h" | |||
| #include "JackWinMMEOutputPort.h" | |||
| #include "JackGlobals.h" | |||
| @@ -285,7 +286,7 @@ JackWinMMEOutputPort::Init() | |||
| } | |||
| void | |||
| JackWinMMEOutputPort::ProcessJack(JackMidiBuffer *port_buffer, | |||
| JackWinMMEOutputPort::ProcessJack(Jack::JackMidiBuffer *port_buffer, | |||
| jack_nframes_t frames) | |||
| { | |||
| read_queue->ResetMidiBuffer(port_buffer); | |||
| @@ -116,10 +116,6 @@ def options(opt): | |||
| help='Enable Portaudio driver', | |||
| conf_dest='BUILD_DRIVER_PORTAUDIO') | |||
| portaudio.check(header_name='windows.h') # only build portaudio on windows | |||
| portaudio.check_cfg( | |||
| package='portaudio-2.0 >= 19', | |||
| uselib_store='PORTAUDIO', | |||
| args='--cflags --libs') | |||
| winmme = opt.add_auto_option( | |||
| 'winmme', | |||
| help='Enable WinMME driver', | |||
| @@ -209,12 +205,19 @@ def configure(conf): | |||
| detect_platform(conf) | |||
| if conf.env['IS_WINDOWS']: | |||
| conf.env.append_unique('CCDEFINES', '_POSIX') | |||
| conf.env.append_unique('CXXDEFINES', '_POSIX') | |||
| conf.env.append_unique('CXXFLAGS', '-Wall') | |||
| conf.env.append_unique('CXXFLAGS', '-std=gnu++11') | |||
| conf.env.append_unique('CFLAGS', '-Wall') | |||
| if conf.env['CC_NAME'] == 'msvc': | |||
| conf.env.append_unique('CXXFLAGS', '/MT') # static linking | |||
| conf.env.append_unique('CXXFLAGS', '/std:c++14') | |||
| conf.env.append_unique('CXXFLAGS', '/EHsc') | |||
| conf.env.append_unique('CXXFLAGS', '/D_WINSOCKAPI_=1') # https://stackoverflow.com/a/1517198 | |||
| conf.env.append_unique('LIBPATH', os.getcwd() + '\\windows\\lib') | |||
| else: | |||
| conf.env.append_unique('CCDEFINES', '_POSIX') | |||
| conf.env.append_unique('CXXDEFINES', '_POSIX') | |||
| else: | |||
| conf.env.append_unique('CXXFLAGS', '-Wall') | |||
| conf.env.append_unique('CXXFLAGS', '-std=gnu++11') | |||
| conf.env.append_unique('CFLAGS', '-Wall') | |||
| if conf.env['IS_MACOSX']: | |||
| conf.check(lib='aften', uselib='AFTEN', define_name='AFTEN') | |||
| @@ -276,14 +279,17 @@ def configure(conf): | |||
| conf.recurse('example-clients') | |||
| # test for the availability of ucontext, and how it should be used | |||
| for t in ['gp_regs', 'uc_regs', 'mc_gregs', 'gregs']: | |||
| fragment = '#include <ucontext.h>\n' | |||
| fragment += 'int main() { ucontext_t *ucontext; return (int) ucontext->uc_mcontext.%s[0]; }' % t | |||
| confvar = 'HAVE_UCONTEXT_%s' % t.upper() | |||
| conf.check_cc(fragment=fragment, define_name=confvar, mandatory=False, | |||
| msg='Checking for ucontext->uc_mcontext.%s' % t) | |||
| if conf.is_defined(confvar): | |||
| conf.define('HAVE_UCONTEXT', 1) | |||
| if conf.env['IS_WINDOWS']: | |||
| conf.define('HAVE_UCONTEXT', 0) | |||
| else: | |||
| for t in ['gp_regs', 'uc_regs', 'mc_gregs', 'gregs']: | |||
| fragment = '#include <ucontext.h>\n' | |||
| fragment += 'int main() { ucontext_t *ucontext; return (int) ucontext->uc_mcontext.%s[0]; }' % t | |||
| confvar = 'HAVE_UCONTEXT_%s' % t.upper() | |||
| conf.check_cc(fragment=fragment, define_name=confvar, mandatory=False, | |||
| msg='Checking for ucontext->uc_mcontext.%s' % t) | |||
| if conf.is_defined(confvar): | |||
| conf.define('HAVE_UCONTEXT', 1) | |||
| fragment = '#include <ucontext.h>\n' | |||
| fragment += 'int main() { return NGREG; }' | |||
| @@ -508,6 +514,10 @@ def build_jackd(bld): | |||
| jackd.use += ['DL', 'PTHREAD'] | |||
| jackd.framework = ['CoreFoundation'] | |||
| if bld.env['IS_WINDOWS']: | |||
| jackd.source += ['windows/getopt.c'] | |||
| jackd.env.append_unique('LDFLAGS', ['/ENTRY:mainCRTStartup', '/SubSystem:console']) | |||
| if bld.env['IS_SUN']: | |||
| jackd.use += ['DL', 'PTHREAD'] | |||
| @@ -515,9 +525,14 @@ def build_jackd(bld): | |||
| return jackd | |||
| def removekey(d, key): | |||
| r = dict(d) | |||
| del r[key] | |||
| return r | |||
| # FIXME: Is SERVER_SIDE needed? | |||
| def create_driver_obj(bld, **kw): | |||
| if bld.env['IS_MACOSX'] or bld.env['IS_WINDOWS']: | |||
| if bld.env['IS_MACOSX']: | |||
| # On MacOSX this is necessary. | |||
| # I do not know if this is necessary on Windows. | |||
| # Note added on 2015-12-13 by karllinden. | |||
| @@ -526,6 +541,11 @@ def create_driver_obj(bld, **kw): | |||
| else: | |||
| kw['use'] = ['serverlib'] | |||
| win_dll = [] | |||
| if 'win_dll' in kw: | |||
| win_dll = kw['win_dll'] | |||
| kw = removekey(kw, 'win_dll') | |||
| driver = bld( | |||
| features = ['c', 'cxx', 'cshlib', 'cxxshlib'], | |||
| defines = ['HAVE_CONFIG_H', 'SERVER_SIDE'], | |||
| @@ -534,7 +554,12 @@ def create_driver_obj(bld, **kw): | |||
| **kw) | |||
| if bld.env['IS_WINDOWS']: | |||
| driver.env['cxxshlib_PATTERN'] = 'jack_%s.dll' | |||
| for dll in win_dll: | |||
| driver.env.append_unique('LDFLAGS', ['/DLL', dll]) | |||
| if bld.env['IS_WIN64']: | |||
| driver.env['cxxshlib_PATTERN'] = 'jack_%s64.dll' | |||
| else: | |||
| driver.env['cxxshlib_PATTERN'] = 'jack_%s.dll' | |||
| else: | |||
| driver.env['cxxshlib_PATTERN'] = 'jack_%s.so' | |||
| @@ -645,28 +670,33 @@ def build_drivers(bld): | |||
| create_driver_obj( | |||
| bld, | |||
| target = 'dummy', | |||
| source = dummy_src) | |||
| source = dummy_src, | |||
| win_dll = ['common\\jackserver.lib']) | |||
| create_driver_obj( | |||
| bld, | |||
| target = 'loopback', | |||
| source = loopback_src) | |||
| source = loopback_src, | |||
| win_dll = ['common\\jackserver.lib']) | |||
| create_driver_obj( | |||
| bld, | |||
| target = 'net', | |||
| source = net_src) | |||
| source = net_src, | |||
| win_dll = ['common\\jackserver.lib']) | |||
| create_driver_obj( | |||
| bld, | |||
| target = 'netone', | |||
| source = netone_src, | |||
| use = ['SAMPLERATE', 'CELT']) | |||
| use = ['SAMPLERATE', 'CELT'], | |||
| win_dll = ['common\\jackserver.lib', 'Ws2_32.lib']) | |||
| create_driver_obj( | |||
| bld, | |||
| target = 'proxy', | |||
| source = proxy_src) | |||
| source = proxy_src, | |||
| win_dll = ['common\\jackserver.lib']) | |||
| # Create hardware driver objects. Lexically sorted after the conditional, | |||
| # e.g. BUILD_DRIVER_ALSA. | |||
| @@ -701,14 +731,16 @@ def build_drivers(bld): | |||
| bld, | |||
| target = 'portaudio', | |||
| source = portaudio_src, | |||
| use = ['PORTAUDIO']) | |||
| use = ['PORTAUDIO'], | |||
| win_dll = ['common\\jackserver.lib', os.getenv('PORTAUDIO_LIBRARY') or 'libportaudio64.lib']) | |||
| if bld.env['BUILD_DRIVER_WINMME']: | |||
| create_driver_obj( | |||
| bld, | |||
| target = 'winmme', | |||
| source = winmme_src, | |||
| use = ['WINMME']) | |||
| use = ['WINMME'], | |||
| win_dll = ['common\\jackserver.lib', 'Winmm.lib']) | |||
| if bld.env['IS_MACOSX']: | |||
| create_driver_obj( | |||
| @@ -773,7 +805,8 @@ def build(bld): | |||
| build_drivers(bld) | |||
| bld.recurse('example-clients') | |||
| if not bld.env['IS_WINDOWS']: | |||
| bld.recurse('example-clients') | |||
| if bld.env['IS_LINUX']: | |||
| bld.recurse('man') | |||
| bld.recurse('systemd') | |||