Browse Source

Missing jack_port_uuid. stub/empty implementation complete

tags/v1.9.10
falkTX 11 years ago
parent
commit
f7543f05db
2 changed files with 7 additions and 1 deletions
  1. +6
    -0
      common/JackAPI.cpp
  2. +1
    -1
      common/jack/jack.h

+ 6
- 0
common/JackAPI.cpp View File

@@ -130,6 +130,7 @@ extern "C"
unsigned long buffer_size);
LIB_EXPORT int jack_port_unregister(jack_client_t *, jack_port_t *);
LIB_EXPORT void * jack_port_get_buffer(jack_port_t *, jack_nframes_t);
LIB_EXPORT jack_uuid_t jack_port_uuid(const jack_port_t*, jack_uuid_t);
LIB_EXPORT const char* jack_port_name(const jack_port_t *port);
LIB_EXPORT const char* jack_port_short_name(const jack_port_t *port);
LIB_EXPORT int jack_port_flags(const jack_port_t *port);
@@ -373,6 +374,11 @@ LIB_EXPORT void* jack_port_get_buffer(jack_port_t* port, jack_nframes_t frames)
}
}

LIB_EXPORT jack_uuid_t jack_port_uuid(const jack_port_t*, jack_uuid_t)
{
return 0;
}

LIB_EXPORT const char* jack_port_name(const jack_port_t* port)
{
JackGlobals::CheckContext("jack_port_name");


+ 1
- 1
common/jack/jack.h View File

@@ -778,7 +778,7 @@ void * jack_port_get_buffer (jack_port_t *port, jack_nframes_t) JACK_OPTIONAL_WE
*
* @see jack_uuid_to_string() to convert into a string representation
*/
void jack_port_uuid (const jack_port_t *port, jack_uuid_t) JACK_OPTIONAL_WEAK_EXPORT;
jack_uuid_t jack_port_uuid (const jack_port_t *port, jack_uuid_t) JACK_OPTIONAL_WEAK_EXPORT;

/**
* @return the full name of the jack_port_t (including the @a


Loading…
Cancel
Save