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.
2 years ago
Tom Poole
dea3fe60e4
Update copyright banners
3 years ago
ed
fc0f6b1f2f
Tidy up
3 years ago
reuk
7ac6911ccc
Windows: Fix clang/gnu compiler warnings
4 years ago
reuk
900282ccf3
MinGW: Fix warnings and errors emitted when building VST3 plugins
4 years ago
ed
46f5b126d5
Tidied up some template statement whitespace
4 years ago
ed
af69be5346
Windows: Tidied up the usage of the JUCE_COMCALL, JUCE_COMCLASS, and JUCE_IUNKNOWNCLASS macros
4 years ago
ed
3754cadf55
Windows: Removed WinRT::ComSmartPtr and use existing class instead
4 years ago
reuk
c3849041ae
Midi: Use proper PImpl idiom in MidiInput and MidiOutput
4 years ago
ed
b5214a341e
Normalised lambda whitespace
5 years ago
reuk
e13901d912
ClangCl: Silence code which warns when building on Windows with Clang
5 years ago
Tom Poole
894e7d2bd2
Updated all license headers
5 years ago
Tom Poole
2d16374b14
Updated all license headers
5 years ago
ed
a54da0b832
Fixed some more typos
5 years ago
ed
b7c8ac3f3b
Windows: Restored MinGW compatibility
5 years ago
ed
671196f13a
Windows: Added fallbacks for rare occasions when the WinRTWrapper singleton has been deleted before the MidiService singleton
5 years ago
ed
608001811f
Fixed a typo in WinRT MIDI DeviceEnumerationThread
5 years ago
ed
45bc7c1aa1
Windows: Updated SystemStats::getOperatingSystemType() to use RtlGetVersion()
5 years ago
ed
f0ea1c00a6
Updated the MidiInput/Output methods to return unique_ptrs
6 years ago
ed
c50a50d4f2
Windows: Add a fallback for win32 MIDI devices that don't support the DRV_QUERYDEVICEINTERFACE message
6 years ago
ed
d39c33247e
Windows: Fixed a crash in MidiInput::openDevice()
6 years ago
Tom Poole
eaec1c8444
CLion: Fixed an issue building MIDI functions on Windows
6 years ago
ed
09ebd1d257
Added support for ID-based MIDI devices
6 years ago
Tom Poole
d83360a771
Windows: Updated the WinRT MIDI interface
6 years ago
Tom Poole
98def04379
WinRT: Added a dedicated ComPtr class
6 years ago
jules
3b091aa6d3
Tweaked the timeout for win32 shared MIDI device cleanup
7 years ago
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
7 years ago
Tom Poole
ab863a6dc2
Replaced all usage of ScopedPointer with std::unique_ptr
7 years ago
Tom Poole
4229dc0a4f
Made a lot of ScopedPointer usage conform to the std::unique_ptr interface
7 years ago
hogliux
0055d3f8f8
Windows: Fixed a harmless warning in Visual Studio 2013
7 years ago
hogliux
508ba421e8
Windows MIDI: Fixed an issue where opening the same device twice would cause a crash when both devices were deleted
7 years ago
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!
7 years ago
jules
abe86765ce
Workaround for a VS2013 compile error
7 years ago
tpoole
554d055a8f
WinRT MIDI: Increased the maximum size of outgoing messages
7 years ago
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
7 years ago
jules
5d491ee9c7
Added number suffixes to duplicate midi device names on Windows
8 years ago
hogliux
b5afccc37c
Updated file headers and the README with the JUCE 5 license
8 years ago
tpoole
e8adbb118f
Fixed bug in 9f06fabe10
- Fixed a double-free Windows MIDI device bug
8 years ago
tpoole
9400866472
Fixed a crash when detaching WinRT MIDI devices
8 years ago
tpoole
9f06fabe10
Fixed a double-free Windows MIDI device bug
8 years ago
jules
8ed41ed14b
Fixed some whitespace style and cleaned up some code using C++11
8 years ago
tpoole
79bdbc37cc
Fixed some misleading indentation warnings
8 years ago
tpoole
5920bcd20b
Fixed WinRT MIDI static initialisation error
8 years ago
tpoole
112b88f289
Made the WinRT MIDI service run on app startup
8 years ago
tpoole
17bc5740a5
Fixed a bug opening MIDI devices from a Windows plug-in
8 years ago
tpoole
9a38505dad
Added experimental WinRT MIDI support, enabling BLE MIDI on machines with Windows 10 Anniversary Update installed
8 years ago
tpoole
2e84129479
Updated the juce_audio_basics, juce_audio_devices, juce_blocks_basics, juce_core and juce_events modules to a new ISC license
8 years ago
jules
02492b36b9
Lots of small whitespace tweaks.
9 years ago
hogliux
c89f476127
Add getName to MidiOutput devices
9 years ago
Timur Doumler
dca4d77f9d
Fixed compiler warnings on Visual Studio 2015 RTM.
10 years ago