From 8b069b9378fb8ff49cf66f17df237edd1282fa06 Mon Sep 17 00:00:00 2001 From: sletz Date: Sat, 6 Mar 2010 20:59:29 +0000 Subject: [PATCH] Raise JACK_DRIVER_PARAM_STRING_MAX and JACK_PARAM_STRING_MAX to 127 otherwise some audio drivers cannot be loaded on OSX. git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@3946 0c269be4-1314-0410-8aa9-9f06e86f4224 --- ChangeLog | 4 ++++ common/JackControlAPI.h | 2 +- common/driver_interface.h | 2 +- common/jack/control.h | 2 +- 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 882ea74e..6dc53f53 100644 --- a/ChangeLog +++ b/ChangeLog @@ -29,6 +29,10 @@ Mario Lang Jackdmp changes log --------------------------- +2010-03-06 Stephane Letz + + * Raise JACK_DRIVER_PARAM_STRING_MAX and JACK_PARAM_STRING_MAX to 127 otherwise some audio drivers cannot be loaded on OSX. + 2010-03-04 Stephane Letz * Correct JackMachServerChannel::Execute : keep running even in error cases. diff --git a/common/JackControlAPI.h b/common/JackControlAPI.h index cc07dcab..d0b0cbc1 100644 --- a/common/JackControlAPI.h +++ b/common/JackControlAPI.h @@ -47,7 +47,7 @@ typedef enum #define JACK_PARAM_MAX (JackParamBool + 1) /** @brief Max length of string parameter value, excluding terminating nul char */ -#define JACK_PARAM_STRING_MAX 63 +#define JACK_PARAM_STRING_MAX 127 /** @brief Type for parameter value */ /* intentionally similar to jack_driver_param_value_t */ diff --git a/common/driver_interface.h b/common/driver_interface.h index d336f413..6c97099c 100644 --- a/common/driver_interface.h +++ b/common/driver_interface.h @@ -33,7 +33,7 @@ extern "C" #define JACK_DRIVER_NAME_MAX 15 #define JACK_DRIVER_PARAM_NAME_MAX 15 -#define JACK_DRIVER_PARAM_STRING_MAX 63 +#define JACK_DRIVER_PARAM_STRING_MAX 127 #define JACK_DRIVER_PARAM_DESC 255 #define JACK_PATH_MAX 511 diff --git a/common/jack/control.h b/common/jack/control.h index 25b16a3b..caeb931d 100644 --- a/common/jack/control.h +++ b/common/jack/control.h @@ -49,7 +49,7 @@ typedef enum #define JACK_PARAM_MAX (JackParamBool + 1) /** @brief Max length of string parameter value, excluding terminating null char */ -#define JACK_PARAM_STRING_MAX 63 +#define JACK_PARAM_STRING_MAX 127 /** @brief Type for parameter value */ /* intentionally similar to jack_driver_param_value_t */