Commit Graph

73 Commits

Author SHA1 Message Date
falkTX 0d730dd356
Fix crash on windows 64bit when receiving winmme MIDI messages
Signed-off-by: falkTX <falktx@falktx.com>
2023-10-28 14:35:08 +02:00
falkTX 230cd6cc64
winmme: allow to activate without any ports, fix some warnings
Signed-off-by: falkTX <falktx@falktx.com>
2020-09-20 15:50:16 +01:00
falkTX 8cfc45ba59 Include winsock2.h before windows.h, for mingw 2020-06-13 23:09:46 +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
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 8f83d5f3a2 Some 'jack_info' messages moved to 'jack_log' messages on Windows. 2015-04-10 17:41:12 +02: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
Stephane Letz dc22edecc9 std::exception used by reference. 2013-07-04 07:52:07 +02:00
sletz 9c6afc5157 Compiles again on Windows.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4678 0c269be4-1314-0410-8aa9-9f06e86f4224
2012-01-07 20:02:23 +00:00
sletz 8a7ab8db14 Compiles again on Windows.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4667 0c269be4-1314-0410-8aa9-9f06e86f4224
2012-01-05 11:09:39 +00:00
sletz f0a9512dd7 Improve some of example-clients, cleanup.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4610 0c269be4-1314-0410-8aa9-9f06e86f4224
2011-11-25 15:53:25 +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 1bad48303a Compiles on Windows again.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4532 0c269be4-1314-0410-8aa9-9f06e86f4224
2011-08-26 16:40:47 +00:00
sletz dd1818ad9c Singleton behaviour for JackCoreMidiDriver and JackWinMMEDriver.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4530 0c269be4-1314-0410-8aa9-9f06e86f4224
2011-08-26 14:59:33 +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 2eb921de73 Cleanup.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4373 0c269be4-1314-0410-8aa9-9f06e86f4224
2011-05-03 13:26:09 +00:00
sletz 6a82de8a0b Use of MMCSS API.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4372 0c269be4-1314-0410-8aa9-9f06e86f4224
2011-05-03 13:21:19 +00:00
sletz 8f1e7b6283 Cleanup JackWinMMEDriver.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4369 0c269be4-1314-0410-8aa9-9f06e86f4224
2011-05-02 11:07:33 +00:00
sletz fe65950221 Use PortRegister/PortUnRegister in WinMME driver.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4368 0c269be4-1314-0410-8aa9-9f06e86f4224
2011-05-02 08:11:15 +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
Devin Anderson 77d7ed5de0 WinMME: Add debugging code to input events in an effort to solve latency and jitter issues. Minor change to output port error message. 2011-04-30 14:24:29 -07: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 3032af19f2 WinMME: Correct silly error. 2011-04-22 01:32:22 -07:00
Devin Anderson a301171e13 WinMME: Fix a possible bug with outgoing MIDI timing. It might not actually be a bug. Either way, it's a better way to convert from jack_time_t to LONGLONG. 2011-04-22 01:21:44 -07:00
Devin Anderson 134def28b6 Merge branch 'master' of ssh://repo.or.cz/srv/git/jack2 into newer-midi 2011-04-22 00:37:27 -07:00
Devin Anderson b6d9e18864 Merge branch 'master' of ssh://repo.or.cz/srv/git/jack2 into newer-midi 2011-04-21 11:23:25 -07:00
Devin Anderson 72a7a8087b Indents. 2011-04-21 11:22:20 -07:00
sletz b01329815c Fix crash bug in JackWinMMEInputPort constructor.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4340 0c269be4-1314-0410-8aa9-9f06e86f4224
2011-04-21 10:18:35 +00:00
sletz d64bf92cc6 Merge branch 'newer-midi'
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4339 0c269be4-1314-0410-8aa9-9f06e86f4224
2011-04-21 08:12:03 +00:00
Devin Anderson 15a862dc9c WinMME: Correct silly mistake. Use sample rate from engine control. 2011-04-20 14:22:19 -07:00
Devin Anderson d2b0c7193e WinMME: Deleted a Windows control character. Minorly obsessive. 2011-04-20 13:46:18 -07:00
Devin Anderson 35a8e298be WinMME: Refined the maximum latency calculation to use the period size retrieved using 'timeBeginPeriod()'. 2011-04-20 13:40:12 -07:00
Devin Anderson c417e4f3a3 WinMME: Set timer resolution using capabilities instead of polling for minimum resolution. 2011-04-19 14:27:42 -07:00
Devin Anderson 7dc3a0fc8c WinMME: Use waitable timers, which have a resolution of 100 ns. Use timeBeginPeriod() and timeEndPeriod() for greater multimedia timer resolution. 2011-04-19 12:04:07 -07:00
sletz 3bbff1f047 WinMME driver compiles again.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4320 0c269be4-1314-0410-8aa9-9f06e86f4224
2011-04-18 09:19:26 +00:00
Devin Anderson 4fa397f2ca WinMME: Silly parameter reference fix for sysex progress callbacks. Removed a bit of unnecessary code. 2011-04-16 20:43:59 -07:00
Devin Anderson 2d4542b24d WinMME: Try to use MIDI in timestamps in the sanest way I can think of. This should eliminate jitter introduced by the code, but might create some latency. 2011-04-16 17:04:02 -07:00
Devin Anderson c8ee6cc1ba WinMME fixes: Fixed issue with not adding period-size frames to the MIDI messages to align with audio. Added code to handle case where WinMME gives us system exclusive header with 0 bytes on exit. Minor format fixes. Removed control characters in file. 2011-04-16 10:27:58 -07:00
sletz 87af94ddfc Update WinMME driver for 64 bits compilation.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4289 0c269be4-1314-0410-8aa9-9f06e86f4224
2011-04-08 12:15:17 +00:00
sletz 172555c9a0 Windows 32 bits targets now compile.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4285 0c269be4-1314-0410-8aa9-9f06e86f4224
2011-04-07 14:11:37 +00: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
sletz a722a218db Really fix auto_ptr issues on Windows.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4264 0c269be4-1314-0410-8aa9-9f06e86f4224
2011-04-04 15:42:18 +00:00