Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
falkTX committed Oct 16, 2020
2 parents 198b1a2 + db76dd6 commit 5b78c2e
Show file tree
Hide file tree
Showing 37 changed files with 31 additions and 3,732 deletions.
5 changes: 5 additions & 0 deletions ChangeLog.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
ChangeLog
#########

* 1.9.16 (2020-10-16)

* Fix/revert a change in how meta-data definitions were exposed (regression in 1.9.15)
* Remove jack-router Windows code from the repository

* 1.9.15 (2020-10-15)

* Automated builds for macOS and Windows (see jackaudio/jack2-releases repository)
Expand Down
2 changes: 1 addition & 1 deletion common/JackConstants.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#include "config.h"
#endif

#define VERSION "1.9.15"
#define VERSION "1.9.16"

#define BUFFER_SIZE_MAX 8192

Expand Down
4 changes: 2 additions & 2 deletions common/JackControlAPI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1283,7 +1283,7 @@ SERVER_EXPORT union jackctl_parameter_value jackctl_parameter_get_value(jackctl_
SERVER_EXPORT bool jackctl_parameter_reset(jackctl_parameter *parameter_ptr)
{
if (!parameter_ptr) {
return NULL;
return false;
}

if (!parameter_ptr->is_set)
Expand All @@ -1301,7 +1301,7 @@ SERVER_EXPORT bool jackctl_parameter_reset(jackctl_parameter *parameter_ptr)
SERVER_EXPORT bool jackctl_parameter_set_value(jackctl_parameter *parameter_ptr, const union jackctl_parameter_value * value_ptr)
{
if (!parameter_ptr || !value_ptr) {
return NULL;
return false;
}

parameter_ptr->is_set = true;
Expand Down
4 changes: 2 additions & 2 deletions common/JackEngine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#include "JackChannel.h"
#include "JackError.h"

extern const char JACK_METADATA_HARDWARE[];
extern const char JACK_METADATA_PRETTY_NAME[];
extern const char* JACK_METADATA_HARDWARE;
extern const char* JACK_METADATA_PRETTY_NAME;

namespace Jack
{
Expand Down
20 changes: 10 additions & 10 deletions common/JackMetadata.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,16 @@


#define JACK_METADATA_PREFIX "http://jackaudio.org/metadata/"
LIB_EXPORT extern const char JACK_METADATA_CONNECTED[] = JACK_METADATA_PREFIX "connected";
LIB_EXPORT extern const char JACK_METADATA_EVENT_TYPES[] = JACK_METADATA_PREFIX "event-types";
LIB_EXPORT extern const char JACK_METADATA_HARDWARE[] = JACK_METADATA_PREFIX "hardware";
LIB_EXPORT extern const char JACK_METADATA_ICON_LARGE[] = JACK_METADATA_PREFIX "icon-large";
LIB_EXPORT extern const char JACK_METADATA_ICON_NAME[] = JACK_METADATA_PREFIX "icon-name";
LIB_EXPORT extern const char JACK_METADATA_ICON_SMALL[] = JACK_METADATA_PREFIX "icon-small";
LIB_EXPORT extern const char JACK_METADATA_ORDER[] = JACK_METADATA_PREFIX "order";
LIB_EXPORT extern const char JACK_METADATA_PORT_GROUP[] = JACK_METADATA_PREFIX "port-group";
LIB_EXPORT extern const char JACK_METADATA_PRETTY_NAME[] = JACK_METADATA_PREFIX "pretty-name";
LIB_EXPORT extern const char JACK_METADATA_SIGNAL_TYPE[] = JACK_METADATA_PREFIX "signal-type";
LIB_EXPORT const char* JACK_METADATA_CONNECTED = JACK_METADATA_PREFIX "connected";
LIB_EXPORT const char* JACK_METADATA_EVENT_TYPES = JACK_METADATA_PREFIX "event-types";
LIB_EXPORT const char* JACK_METADATA_HARDWARE = JACK_METADATA_PREFIX "hardware";
LIB_EXPORT const char* JACK_METADATA_ICON_LARGE = JACK_METADATA_PREFIX "icon-large";
LIB_EXPORT const char* JACK_METADATA_ICON_NAME = JACK_METADATA_PREFIX "icon-name";
LIB_EXPORT const char* JACK_METADATA_ICON_SMALL = JACK_METADATA_PREFIX "icon-small";
LIB_EXPORT const char* JACK_METADATA_ORDER = JACK_METADATA_PREFIX "order";
LIB_EXPORT const char* JACK_METADATA_PORT_GROUP = JACK_METADATA_PREFIX "port-group";
LIB_EXPORT const char* JACK_METADATA_PRETTY_NAME = JACK_METADATA_PREFIX "pretty-name";
LIB_EXPORT const char* JACK_METADATA_SIGNAL_TYPE = JACK_METADATA_PREFIX "signal-type";
#undef JACK_METADATA_PREFIX

namespace Jack
Expand Down
20 changes: 10 additions & 10 deletions common/jack/metadata.h
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ int jack_set_property_change_callback (jack_client_t* client,
* A value that identifies what the hardware port is connected to (an external
* device of some kind). Possible values might be "E-Piano" or "Master 2 Track".
*/
extern const char JACK_METADATA_CONNECTED[];
extern const char* JACK_METADATA_CONNECTED;

/**
* The supported event types of an event port.
Expand All @@ -242,21 +242,21 @@ extern const char JACK_METADATA_CONNECTED[];
* status byte will gracefully ignore OSC messages if the user makes an
* inappropriate connection.
*/
extern const char JACK_METADATA_EVENT_TYPES[];
extern const char* JACK_METADATA_EVENT_TYPES;

/**
* A value that should be shown when attempting to identify the
* specific hardware outputs of a client. Typical values might be
* "ADAT1", "S/PDIF L" or "MADI 43".
*/
extern const char JACK_METADATA_HARDWARE[];
extern const char* JACK_METADATA_HARDWARE;

/**
* A value with a MIME type of "image/png;base64" that is an encoding of an
* NxN (with 32 < N <= 128) image to be used when displaying a visual
* representation of that client or port.
*/
extern const char JACK_METADATA_ICON_LARGE[];
extern const char* JACK_METADATA_ICON_LARGE;

/**
* The name of the icon for the subject (typically client).
Expand All @@ -267,14 +267,14 @@ extern const char JACK_METADATA_ICON_LARGE[];
* Theme Specification:
* https://specifications.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html
*/
extern const char JACK_METADATA_ICON_NAME[];
extern const char* JACK_METADATA_ICON_NAME;

/**
* A value with a MIME type of "image/png;base64" that is an encoding of an
* NxN (with N <=32) image to be used when displaying a visual representation
* of that client or port.
*/
extern const char JACK_METADATA_ICON_SMALL[];
extern const char* JACK_METADATA_ICON_SMALL;

/**
* Order for a port.
Expand All @@ -287,18 +287,18 @@ extern const char JACK_METADATA_ICON_SMALL[];
*
* It is encouraged to use http://www.w3.org/2001/XMLSchema#int as the type.
*/
extern const char JACK_METADATA_ORDER[];
extern const char* JACK_METADATA_ORDER;

/**
* A value that should be shown to the user when displaying a port to the user,
* unless the user has explicitly overridden that a request to show the port
* name, or some other key value.
*/
extern const char JACK_METADATA_PRETTY_NAME[];
extern const char* JACK_METADATA_PRETTY_NAME;

/**
*/
extern const char JACK_METADATA_PORT_GROUP[];
extern const char* JACK_METADATA_PORT_GROUP;

/**
* The type of an audio signal.
Expand All @@ -309,7 +309,7 @@ extern const char JACK_METADATA_PORT_GROUP[];
* their output directly to speakers. In particular, CV ports are not
* necessarily periodic at all and may have very high DC.
*/
extern const char JACK_METADATA_SIGNAL_TYPE[];
extern const char* JACK_METADATA_SIGNAL_TYPE;

/**
* @}
Expand Down

0 comments on commit 5b78c2e

Please sign in to comment.