attila
fcb7e0fc20
WinRT midi: Ensure object lifetimes in WinRT async callbacks
...
While the affected callbacks are cancelled before the referenced
state is deleted, we have had user reports that they can still be
accessed by the cancelled callbacks causing crashes. After only
finding warnings that WinRT AsyncCallback cancellation is not a
guaranteed thing, we saw it best to wrap the pointers.
2022-10-05 15:46:09 +02:00
Tom Poole
dea3fe60e4
Update copyright banners
2022-04-04 12:36:32 +01:00
ed
fc0f6b1f2f
Tidy up
2021-12-02 09:24:55 +00:00
reuk
7ac6911ccc
Windows: Fix clang/gnu compiler warnings
2021-06-03 17:30:44 +01:00
reuk
900282ccf3
MinGW: Fix warnings and errors emitted when building VST3 plugins
2021-05-13 12:10:06 +01:00
ed
46f5b126d5
Tidied up some template statement whitespace
2021-01-29 15:40:12 +00:00
ed
af69be5346
Windows: Tidied up the usage of the JUCE_COMCALL, JUCE_COMCLASS, and JUCE_IUNKNOWNCLASS macros
2021-01-29 15:40:12 +00:00
ed
3754cadf55
Windows: Removed WinRT::ComSmartPtr and use existing class instead
2021-01-28 11:26:13 +00:00
reuk
c3849041ae
Midi: Use proper PImpl idiom in MidiInput and MidiOutput
2020-10-02 14:49:49 +01:00
ed
b5214a341e
Normalised lambda whitespace
2020-06-05 09:37:56 +01:00
reuk
e13901d912
ClangCl: Silence code which warns when building on Windows with Clang
2020-04-27 10:22:06 +01:00
Tom Poole
894e7d2bd2
Updated all license headers
2020-04-23 17:30:39 +01:00
ed
a54da0b832
Fixed some more typos
2020-01-07 08:53:23 +00:00
ed
b7c8ac3f3b
Windows: Restored MinGW compatibility
2019-11-05 11:48:50 +00:00
ed
671196f13a
Windows: Added fallbacks for rare occasions when the WinRTWrapper singleton has been deleted before the MidiService singleton
2019-10-22 12:17:53 +01:00
ed
608001811f
Fixed a typo in WinRT MIDI DeviceEnumerationThread
2019-10-21 13:51:16 +01:00
ed
45bc7c1aa1
Windows: Updated SystemStats::getOperatingSystemType() to use RtlGetVersion()
2019-07-19 14:12:02 +01:00
ed
f0ea1c00a6
Updated the MidiInput/Output methods to return unique_ptrs
2019-05-22 15:45:06 +01:00
ed
c50a50d4f2
Windows: Add a fallback for win32 MIDI devices that don't support the DRV_QUERYDEVICEINTERFACE message
2019-03-22 09:19:48 +00:00
ed
d39c33247e
Windows: Fixed a crash in MidiInput::openDevice()
2019-03-06 12:20:49 +00:00
Tom Poole
eaec1c8444
CLion: Fixed an issue building MIDI functions on Windows
2019-03-04 12:09:29 +00:00
ed
09ebd1d257
Added support for ID-based MIDI devices
2019-02-28 16:30:04 +00:00
Tom Poole
d83360a771
Windows: Updated the WinRT MIDI interface
2018-11-02 14:34:05 +00:00
Tom Poole
98def04379
WinRT: Added a dedicated ComPtr class
2018-10-25 16:12:45 +01:00
jules
3b091aa6d3
Tweaked the timeout for win32 shared MIDI device cleanup
2018-04-30 12:39:11 +01:00
jules
a55eaf0154
Made multiple calls to MidiInput::openDevice share the same underlying win32 MIDI handle, and fixed some problems where device indexes could be incorrectly used when deivces are removed
2018-04-30 11:12:28 +01:00
Tom Poole
ab863a6dc2
Replaced all usage of ScopedPointer with std::unique_ptr
2018-04-19 20:27:47 +01:00
Tom Poole
4229dc0a4f
Made a lot of ScopedPointer usage conform to the std::unique_ptr interface
2018-04-10 18:34:20 +01:00
hogliux
0055d3f8f8
Windows: Fixed a harmless warning in Visual Studio 2013
2018-04-09 16:08:49 +01:00
hogliux
508ba421e8
Windows MIDI: Fixed an issue where opening the same device twice would cause a crash when both devices were deleted
2018-04-09 15:16:05 +01:00
jules
58a99ff139
Dragged the singleton macros into the 21st century.. Cleaned up their implementation and gave them new upper-case names to match juce official style. The old names are still defined to avoid breaking old code, but please update before they get deprecated!
2017-12-12 16:24:40 +00:00
jules
abe86765ce
Workaround for a VS2013 compile error
2017-10-03 09:15:25 +01:00
tpoole
554d055a8f
WinRT MIDI: Increased the maximum size of outgoing messages
2017-09-20 10:04:11 +01:00
jules
eda613c6db
Moved all "namespace juce" declarations from module headers to the individual .h and .cpp source files. This makes life a lot easier for Intellisense and other IDE autocompletion tools
2017-09-08 08:59:55 +01:00
jules
5d491ee9c7
Added number suffixes to duplicate midi device names on Windows
2017-05-04 15:21:36 +01:00
hogliux
b5afccc37c
Updated file headers and the README with the JUCE 5 license
2017-04-27 14:43:04 +01:00
tpoole
e8adbb118f
Fixed bug in 9f06fabe10 - Fixed a double-free Windows MIDI device bug
2017-04-18 10:48:37 +01:00
tpoole
9400866472
Fixed a crash when detaching WinRT MIDI devices
2017-04-18 10:42:57 +01:00
tpoole
9f06fabe10
Fixed a double-free Windows MIDI device bug
2017-04-10 10:27:49 +01:00
jules
8ed41ed14b
Fixed some whitespace style and cleaned up some code using C++11
2017-03-27 13:06:42 +01:00
tpoole
79bdbc37cc
Fixed some misleading indentation warnings
2017-03-27 11:57:00 +01:00
tpoole
5920bcd20b
Fixed WinRT MIDI static initialisation error
2017-03-15 17:24:43 +00:00
tpoole
112b88f289
Made the WinRT MIDI service run on app startup
2017-03-14 15:24:32 +00:00
tpoole
17bc5740a5
Fixed a bug opening MIDI devices from a Windows plug-in
2017-02-27 10:38:54 +00:00
tpoole
9a38505dad
Added experimental WinRT MIDI support, enabling BLE MIDI on machines with Windows 10 Anniversary Update installed
2017-02-20 17:36:36 +00:00
tpoole
2e84129479
Updated the juce_audio_basics, juce_audio_devices, juce_blocks_basics, juce_core and juce_events modules to a new ISC license
2016-12-14 10:07:26 +00:00
jules
02492b36b9
Lots of small whitespace tweaks.
2015-12-13 19:32:05 +00:00
hogliux
c89f476127
Add getName to MidiOutput devices
2015-09-16 16:28:31 +01:00
Timur Doumler
dca4d77f9d
Fixed compiler warnings on Visual Studio 2015 RTM.
2015-07-23 15:57:18 +01:00
hogliux
c7b8e77031
Update copyright notice
2015-07-22 15:59:34 +01:00