Commit Graph

86 Commits

Author SHA1 Message Date
Luciano Iam a5093f06ca Rename PortSetDeviceMetadata to PortSetDefaultMetadata 2019-10-28 11:24:12 +01:00
falkTX bb416c7801 Rename `PortSetDeviceName` to `PortSetDeviceMetadata` 2019-09-11 19:13:56 +01:00
Luciano Iam c2ec4b37d4 MIDI port pretty names (#498)
* Set MIDI port pretty names on macOS

* Set MIDI port pretty names on Windows

* Set MIDI port pretty names on Linux/alsarawmidi

* Update alsarawmidi port naming to match CoreMIDI and WinMME

* Rename PortSetPrettyNameProperty to PortSetDeviceName

* Set hardware property to MIDI port names
2019-09-11 19:09:59 +01:00
Filipe Coelho 59550f67ee
Fix client UUID gen, and some warnings (#440)
* Fix generation of client uuid

Signed-off-by: falkTX <falktx@falktx.com>

* Remove all client properties when removed; Cleanup a few things

Signed-off-by: falkTX <falktx@falktx.com>

* Make all uuid function arguments use jack_uuid_t type; Fix warnings

Signed-off-by: falkTX <falktx@falktx.com>

* Rework uuids to never be int, more cleanup

Signed-off-by: falkTX <falktx@falktx.com>
2019-03-18 08:33:50 +01:00
Thomas Brand 655626ac9d NO-OP / trailing whitespace in *.h files 2019-01-20 23:14:23 +01:00
Rui Nuno Capela fed6f1e66d [metadata] Metadata properties implementation. (#383)
* [metadata] Metadata properties implementation.

* [metadata] Fixed for shared server metadata-base accessor; alsofixed coding/naming style.

* [metadata] Fixed a tab for space.

* [metadata] Use of Berkeley DB is now truly optional on configure time.

* [metadata] Fixed tabs for spaces, again.

* [metadata] Fixed for shared metadata-base initialization and external clients.

* [metadata] Blind-fix for windows codebase.

* [metadata] Metadata API moved into client-side library only.

* [metadata] Fixed jack_port_uuid() stubbiness, now returning a proper UUID from port index.

* [metadata] Uniform method names.

* [metadata] Fixed PropertyChangeNotify through server async call.
2018-10-10 16:06:14 +02:00
Nedko Arnaudov c8cac65cad remove the JackSelfConnectMode enum type
It was introduced before the parameter was actually exposed.
The parameter is exposed through a char type in both jackd and
jackdbus, thus a mappnig was required.

This changeset removes the enum and makes the code simpler
at the expense of not allowing arbitrary chars as values.
As it is exposed and used in sessions, it is not arbitrary anyway.
2014-03-10 22:01:13 +02:00
Adrian Knoth f1a5a7dc43 Merge no-self-connect branch
Conflicts:
	common/JackEngine.cpp
	common/JackServer.cpp
2013-04-06 22:19:44 +02:00
Stephane Letz 15950eb1df Rework XRun handling. 2013-01-27 12:29:19 +01:00
Stephane Letz 2f9b93d0eb Rework JackEngine::Shutdown. 2013-01-25 08:42:47 +01:00
Stephane Letz feec982949 Move ClientKill in JackEngine class. 2013-01-13 22:31:06 +01:00
Adrian Knoth 010461ad45 Merge branch 'master' into no-self-connect
Conflicts:
	common/JackEngine.cpp
2012-04-18 22:25:01 +02:00
sletz d03fd1e807 Cleanup.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4764 0c269be4-1314-0410-8aa9-9f06e86f4224
2012-02-01 19:41:21 +00:00
sletz 1acc1db9ef Fix lock management in JackEngine.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4762 0c269be4-1314-0410-8aa9-9f06e86f4224
2012-02-01 15:36:00 +00:00
sletz ddb62d5588 Implement shutdown for in server clients.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4705 0c269be4-1314-0410-8aa9-9f06e86f4224
2012-01-19 13:27:55 +00:00
sletz 0d08aa4d72 More robust server/client protocol.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4697 0c269be4-1314-0410-8aa9-9f06e86f4224
2012-01-13 20:54:52 +00:00
sletz fd8e28a82d Fix on Windows.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4691 0c269be4-1314-0410-8aa9-9f06e86f4224
2012-01-12 15:49:36 +00:00
sletz 9f4df15abb Factorize code the server/client request.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4684 0c269be4-1314-0410-8aa9-9f06e86f4224
2012-01-11 12:51:53 +00:00
Nedko Arnaudov 77fdffaf2f Merge branch 'master' into no-self-connect
Conflicts:
	common/JackControlAPI.cpp
2011-12-15 02:53:58 +02:00
Nedko Arnaudov d9064f5866 Implement session api for internal clients 2011-08-07 05:17:16 +03:00
Stephane Letz 299bc1bfe9 Cleanup. 2011-07-22 11:15:13 +02:00
Stephane Letz 248d1f16e6 Session API for internal clients in progress. 2011-07-21 17:56:41 +02:00
Nedko Arnaudov 1685eec0b0 Merge branch 'master' into no-self-connect
Conflicts:
	common/JackEngine.cpp
	common/JackServerGlobals.cpp
	common/Jackdmp.cpp
2011-03-14 22:13:11 +02:00
sletz 5845be1374 jack_client_has_session_callback implementation.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4158 0c269be4-1314-0410-8aa9-9f06e86f4224
2011-03-09 11:40:37 +00:00
sletz 97c3a441f5 Use of latency range in all backends. ComputeTotalLatencies now a client/server call.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4151 0c269be4-1314-0410-8aa9-9f06e86f4224
2011-03-08 15:31:44 +00:00
sletz d4e51743a0 Compiles again on Windows.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4067 0c269be4-1314-0410-8aa9-9f06e86f4224
2010-10-18 10:38:32 +00:00
Torben Hohn 5cd7b4dedf add uuid parameter to ClientCheck method.
Conflicts:

	common/JackEngine.cpp
2010-08-27 18:59:40 +02:00
Stéphane Letz 72d6964a7c Init engine fields, cleanup. 2010-05-19 13:07:30 +02:00
Stéphane Letz b3ea32ebab Move methods as private. 2010-05-10 14:25:35 +02:00
Torben Hohn 1a44ede470 fix tabs and convert em to spaces. 2010-05-05 12:31:26 +02:00
Torben Hohn 5e7a792f42 add uuid parameter to jack_client_open... 2010-05-05 12:31:26 +02:00
Torben Hohn 4e6b4f13bf uuid mapping and jack_reserve_client_name() 2010-05-05 12:31:25 +02:00
Torben Hohn b57d07ddd0 another step for jack-session... 2010-05-05 12:31:25 +02:00
Torben Hohn 3c0d95db60 some progress on jack-session 2010-05-05 12:31:25 +02:00
Torben Hohn cffa5dfd8e add marshalling for jack_session_notify and session_event. not complete 2010-05-05 12:31:24 +02:00
Nedko Arnaudov f3a8d21b52 Merge branch 'master' into no-self-connect
Conflicts:
	common/JackServer.cpp
	common/JackServer.h
	common/JackServerGlobals.cpp
2010-02-10 21:28:50 +02:00
Stéphane LETZ 49cac8025b Release JackEngine mutex before sending notifications. 2009-12-12 15:32:41 +01:00
sletz a4604f7c78 Use a QUIT notification to properly quit the server channel, the server channel thread can then be 'stopped' instead of 'canceled'
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@3853 0c269be4-1314-0410-8aa9-9f06e86f4224
2009-12-10 16:29:17 +00:00
sletz f1631119f2 Fix port_rename callback : now both old name and new name are given as parameters.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@3835 0c269be4-1314-0410-8aa9-9f06e86f4224
2009-12-01 21:13:09 +00:00
Nedko Arnaudov e418ea102a Merge branch 'master' into no-self-connect
Conflicts:
	common/Jackdmp.cpp
2009-11-19 23:13:20 +02:00
sletz f2085bbd2c Parameter renaming.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@3657 0c269be4-1314-0410-8aa9-9f06e86f4224
2009-10-21 19:20:08 +00:00
sletz ae57b1d033 CoreAudio backend now issue a JackInfoShutdownCallback when an unrecoverable error is detected (sampling rate change, stream configuration change…)
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@3654 0c269be4-1314-0410-8aa9-9f06e86f4224
2009-10-20 16:10:28 +00:00
sletz d09d8c3c82 Add a string parameter to server ==> client notification, add a new InfoShutdown callback.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@3653 0c269be4-1314-0410-8aa9-9f06e86f4224
2009-10-20 11:07:58 +00:00
Nedko Arnaudov aab13501f4 self_connect_mode engine parameter 2009-05-26 14:05:34 +03:00
Nedko Arnaudov cc3496a434 Server side no-self-connect code. still not optional 2009-05-26 05:35:00 +03:00
sletz 32987ca1d2 Merge Solaris branch back on trunk.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@3306 0c269be4-1314-0410-8aa9-9f06e86f4224
2009-02-11 12:31:20 +00:00
sletz 7628f71f59 Cleanup jack_port_id_t/jack_port_t mess, should work again on 64 bits machines.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@2938 0c269be4-1314-0410-8aa9-9f06e86f4224
2008-09-22 10:44:19 +00:00
sletz bfdf50d52d Better symbols export for server and client side libraries.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@2895 0c269be4-1314-0410-8aa9-9f06e86f4224
2008-09-08 14:35:52 +00:00
sletz 3e01068967 Merge Michael Voigt drops branch after reorganization step.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@2880 0c269be4-1314-0410-8aa9-9f06e86f4224
2008-09-05 13:36:28 +00:00
sletz 1274ff1da2 Add new jack_set_port_rename_callback API, jack_port_set_name is now a server request that call port rename callbacks.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@2857 0c269be4-1314-0410-8aa9-9f06e86f4224
2008-09-01 16:57:19 +00:00