Browse Source

Add note about unique port-name requirement.

git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4072 0c269be4-1314-0410-8aa9-9f06e86f4224
tags/1.9.7
sletz 14 years ago
parent
commit
f057da671d
2 changed files with 5 additions and 1 deletions
  1. +1
    -0
      ChangeLog
  2. +4
    -1
      common/jack/jack.h

+ 1
- 0
ChangeLog View File

@@ -36,6 +36,7 @@ David Garcia Garzon
2010-10-29 Stephane Letz <letz@grame.fr> 2010-10-29 Stephane Letz <letz@grame.fr>


* Correct lsp.c code. * Correct lsp.c code.
* Add note about unique port-name requirement.


2010-09-08 Stephane Letz <letz@grame.fr> 2010-09-08 Stephane Letz <letz@grame.fr>




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

@@ -625,13 +625,16 @@ float jack_cpu_load (jack_client_t *client) JACK_OPTIONAL_WEAK_EXPORT;
* name. Exceeding that will cause the port registration to fail and * name. Exceeding that will cause the port registration to fail and
* return NULL. * return NULL.
* *
* The @a port_name must be unique among all ports owned by this client.
* If the name is not unique, the registration will fail.
*
* All ports have a type, which may be any non-NULL and non-zero * All ports have a type, which may be any non-NULL and non-zero
* length string, passed as an argument. Some port types are built * length string, passed as an argument. Some port types are built
* into the JACK API, currently only JACK_DEFAULT_AUDIO_TYPE. * into the JACK API, currently only JACK_DEFAULT_AUDIO_TYPE.
* *
* @param client pointer to JACK client structure. * @param client pointer to JACK client structure.
* @param port_name non-empty short name for the new port (not * @param port_name non-empty short name for the new port (not
* including the leading @a "client_name:").
* including the leading @a "client_name:"). Must be unique.
* @param port_type port type name. If longer than * @param port_type port type name. If longer than
* jack_port_type_size(), only that many characters are significant. * jack_port_type_size(), only that many characters are significant.
* @param flags @ref JackPortFlags bit mask. * @param flags @ref JackPortFlags bit mask.


Loading…
Cancel
Save