Commit Graph

39 Commits

Author SHA1 Message Date
Nedko Arnaudov 1dcc489e04 linux/alsarawmidi: adjust alsarawmidi driver aliases 2023-07-19 00:56:07 +03:00
Guido Aulisi a71bc0b75a Fix warning: catching polymorphic type ‘class std::exception’ by value 2019-10-28 11:25:42 +01:00
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
falkTX 7dfdbe133a
Cleanup some warnings
Signed-off-by: falkTX <falktx@gmail.com>
2018-11-13 23:01:23 +01:00
Stephane Letz 02f74a659a String management fix. 2016-01-01 20:40:22 +01:00
Stephane Letz a48fea3c01 Correct JackWinMMEDriver and JackALSARawMidiDriver creation. 2014-07-03 16:48:09 +02:00
Stephane Letz 08a2d8a807 Correct JackALSARawMidiDriver and JackWinMMEDriver. 2013-10-16 14:03:35 +02:00
sletz e4dd72272f Compiles again on Linux with ALSA.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4664 0c269be4-1314-0410-8aa9-9f06e86f4224
2012-01-04 19:16:32 +00:00
sletz 022e551350 Cleanup.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4608 0c269be4-1314-0410-8aa9-9f06e86f4224
2011-11-25 12:52:05 +00:00
sletz 496146f6b5 More robust dynamic port management in JACK/CoreMidi bridge.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4604 0c269be4-1314-0410-8aa9-9f06e86f4224
2011-11-25 11:06:38 +00:00
sletz eb6f2830fa Cleanup.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4602 0c269be4-1314-0410-8aa9-9f06e86f4224
2011-11-24 15:00:59 +00:00
sletz 08edac7982 Add jackctl_driver_get_type in Control API.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4529 0c269be4-1314-0410-8aa9-9f06e86f4224
2011-08-26 14:36:40 +00:00
sletz e9c3fee066 Merge branch 'switch-master-port-registration-notifications'
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4366 0c269be4-1314-0410-8aa9-9f06e86f4224
2011-05-02 07:00:40 +00:00
nedko 08876bd6eb fix compile warnings
gcc (Gentoo 4.4.5 p1.2, pie-0.4.5) 4.4.5

git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4363 0c269be4-1314-0410-8aa9-9f06e86f4224
2011-04-30 08:05:09 +00:00
Stephane Letz 07d2c64f39 Use of PortRegister/PortUnRegister in drivers. 2011-04-27 10:42:32 +02:00
Nedko Arnaudov 55557d1f74 Port registration notifications on SwitchMaster 2011-04-24 23:21:28 +03:00
sletz 705058b04a Merge branch 'newer-midi'
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4355 0c269be4-1314-0410-8aa9-9f06e86f4224
2011-04-23 06:46:35 +00:00
Devin Anderson 2b589c803c Swapped 'alias' and 'name' for 'alsarawmidi' port names. Added debugging code to 'WinMME' driver to figure out if the waitable timers are causing jitter. 2011-04-22 12:43:08 -07:00
Nedko Arnaudov a9e4628340 helper functions for jack_driver_desc_t construction
The main goal is to reduce risk of mismatch between allocated
and initialized parameter numbers.
2011-04-22 22:19:13 +03:00
Devin Anderson 5075469072 Reintroduce minimum buffer size usage in 'alsarawmidi'. 2011-04-16 10:46:50 -07:00
Devin Anderson 1c1d94eb84 Minor comment changes. 2011-04-13 22:09:14 -07:00
Devin Anderson 52d0665023 Optimize the 'alsarawmidi' driver for I/O over multiple ports. Make 'GetCurrentFrame' call 'GetMicroSeconds' earlier in the function call. 2011-04-13 20:44:02 -07:00
Devin Anderson 4ae9118fc2 Put 'alsarawmidi' Poll code inline, as it's only called in one place in the driver. Fix potential memory leak with ALSA rawmidi info. Do away with unnecessary auto_ptrs. 2011-04-11 23:40:50 -07:00
Devin Anderson ddfe2bc5f0 Put 'alsarawmidi' Poll code inline, as it's only called in one place in the driver. Fix potential memory leak with ALSA rawmidi info. Do away with unnecessary auto_ptrs. 2011-04-11 23:40:25 -07:00
Devin Anderson 7483c24509 Take away early bytes optimization from JackMidiRawOutputWriteQueue, as some MIDI systems timestamp incoming data using the time the status byte arrives vs. the time the last byte arrives. Also, doing some debugging on the 'alsarawmidi' driver (in progress). 2011-04-10 15:14:11 -07:00
Devin Anderson 20233db13e Oops! Forgot to add port uniqueness changes. 2011-04-08 12:06:06 -07:00
Devin Anderson 71d9f1ca2b Change naming scheme of 'alsarawmidi' ports for uniqueness when two MIDI interfaces with the same name are connected. Change 'alsarawmidi' ALSA port buffer size to 32 (lowest possible - it would be nice to make this lower) so that realtime MIDI messages can be sent ASAP when necessary. 2011-04-08 11:26:25 -07:00
Devin Anderson ccbf581d19 Optimize timing of 'alsarawmiidi' driver. Set parameters on 'rawmidi' ports. Minor fixes to 'jack_midi_latency_test'. Add latency plot to 'jack_midi_latency_test'. 2011-04-05 11:05:42 -07:00
sletz 4f5e3ecd37 Correct driver lifetime management.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4266 0c269be4-1314-0410-8aa9-9f06e86f4224
2011-04-04 20:58:20 +00:00
Devin Anderson df7e4df274 Add license headers to 'alsarawmidi' driver files. 2011-04-01 11:34:03 -07:00
Stephane Letz 69c59f4423 Renaming for Windows compatibility. 2011-03-31 11:34:58 +02:00
Devin Anderson 280bf48a5f Have JackALSARawMidiInputPort use inline 'EnqueueEvent' equivalent. 2011-03-25 18:45:30 -07:00
Devin Anderson 885381fc97 Add error handling to 'alsarawmidi' driver to make driver fail more gracefully if an ALSA error is detected (i.e. device is unplugged, etc.). Add optional frame_offset parameter to JackMidiWriteQueue::EnqueueEvent. 2011-03-24 12:12:16 -07:00
Devin Anderson 6b57fcbc74 Change system to system_midi to avoid simple semaphore name clashes. 2011-03-23 18:23:17 -07:00
Devin Anderson e2683cb024 Fix 'alsarawmidi' driver so that it actually works. Add functionality to 'midi_latency_test'. Fix bug in raw write queue implementation. Output error message when a source MIDI port isn't valid during mixdown. Output error messages for error conditions detected in buffer read and write queues. 2011-03-23 02:44:24 -07:00
Devin Anderson 6e92bd8020 Add 'alsarawmidi' driver, which is a slave MIDI driver that makes ALSA MIDI ports available to JACK. The driver uses the rawmidi devices, and uses the raw MIDI queues to optimize output. 2011-03-22 15:10:59 -07:00