reuk
b0e689eaf4
AudioProcessLoadMeasurer: Fix potential divide by zero due to uninitialised samplesPerBlock
3 years ago
reuk
6bf969dab9
AudioThumbnail: Fix thread sanitizer warnings
3 years ago
reuk
eeeeb117a1
MidiKeyboardComponent: Ensure note is not highlighted after mouse leaves component
3 years ago
ed
b9542ccc4c
Update code to use C++14 [[deprecated]] attribute
This commit removes the various compiler-specific JUCE_DEPRECATED macros and replaces them with C++14's deprecated attribute. It also removes the JUCE_CATCH_DEPRECATED_CODE_MISUSE flag as we can rely on the override specifier catching usage of these old virtual methods, and tidies up the DOXYGEN preprocessor checks as they were inconsistent across the codebase.
3 years ago
reuk
ac3d1b7539
MidiKeyboardComponent: Fix potential data race on shouldCheckState data member
3 years ago
reuk
ceae64dd40
AudioDeviceSelectorComponent: Always show the actual samplerate of the device
Previously, the samplerate combo would display as a blank box in the
case that the device's actual samplerate wasn't one of the "available"
samplerates reported by the device.
3 years ago
reuk
61e5f983d9
AudioDeviceSelectorComponent: Make timerCallback declaration private
3 years ago
ed
551d7b9c5b
Add MessageBoxOptions class for specifying a set of AlertWindow and NativeMessageBox options
- Add AlertWindow::show() and showAsync() methods that take a MessageBoxOptions argument
- Add NativeMessageBox::show() and showAsync() methods that take a MessageBoxOptions argument
- Update the DialogsDemo to demonstrate the new methods
- Deprecate AlertWindow::showNativeDialogBox() in favour of the NativeMessageBox methods
- Pass button strings specified in MesssageBoxOptions to native dialog boxes correctly
- Use modern TaskDialog on Windows for the native dialog box where available
3 years ago
Tom Poole
a1a65707f6
Fixed a documentation typo
4 years ago
ed
a8aafed53d
Removed some unnecessary virtual keywords
4 years ago
reuk
ba475a8008
AudioDeviceSelectorComponent: Draw text using TextLayout rather than GlyphArrangement
This fixes an issue where non-ascii characters in channel and MIDI
device names were not drawn correctly.
4 years ago
reuk
394c4fd475
Clang: Fix warnings when building with clang 10
4 years ago
ed
009d685179
Updated all license headers
4 years ago
ed
aad3667e17
Updated MidiKeyboardState to use nested Listener and fixed some thread safety issues
4 years ago
ed
5467c57e23
Updated MidiKeyboardState to use nested Listener and fixed some thread safety issues
4 years ago
reuk
4cf66d6522
Cleanup: Remove redundant inlines
5 years ago
Tom Poole
894e7d2bd2
Updated all license headers
5 years ago
Tom Poole
2d16374b14
Updated all license headers
5 years ago
reuk
327f817b9b
Copyrights: Update commercial/gpl headers to be gpl-only
5 years ago
reuk
5af01b9b16
Demos: Convey proper ownership semantics
5 years ago
ed
a54da0b832
Fixed some more typos
5 years ago
ed
4edb0d2c90
Tidied up some divider comments
5 years ago
Tom Poole
79d3e8b3f5
Windows: Removed some VS2013 workarounds
5 years ago
ed
a093112c05
Fixed some compiler warnings
5 years ago
Tom Poole
d8e07dca91
Fixed a data race in an example
5 years ago
Tom Poole
16dd26649a
Fixed some GCC compiler warnings and removed deprecated functions
6 years ago
ed
e26529d5e9
Added identifier-based MIDI input/output methods to AudioDeviceManager and deprecated the old name-based methods
6 years ago
Tom Poole
1e021b6ed0
Fixed an issue overriding MidiKeyboardComponent::mouseDownOnKey
6 years ago
ed
4fa131f5a7
Delete the current audio device when no inputs or outputs are specified in AudioDeviceManager::setAudioDeviceSetup() and ensure that the AudioDeviceSelectorComponent displays this correctly
6 years ago
ed
fb5cfcd606
Fix some data races flagged when running the AudioPlaybackDemo with Xcode's thread sanitiser enabled
6 years ago
Tom Poole
0828977e5b
macOS: Added a Bluetooth MIDI pairing dialog
6 years ago
ed
290aad89f8
Fixed a potential data race in AudioThumbnail
6 years ago
Tom Poole
43e623661e
Fixed a typo in a comment
6 years ago
ed
91ef9e2b85
Fixed some layout issues when using an AudioDeviceSelectorComponent with the "advanced" settings hidden
6 years ago
ed
a234721110
Added various clang-tidy modernize-* fixes
6 years ago
ed
0ab5e696fe
Reduce the list row height in AudioDeviceSelectorComponent when the item height is reduced
6 years ago
jules
cdb55f70c2
Changes to avoid some clang warnings
6 years ago
Tom Poole
faf7fb1960
Fixed a bug in the AudioDeviceSelectorComponent when selecting zero channels
6 years ago
ed
c3e7c47252
Make sure that the velocity value set in MidiKeyboardComponent::setVelocity() is used when sending notes
6 years ago
jules
5979288706
Added some macros for asserting when functions are called in an unsafe manner outside the message thread.
6 years ago
jules
93ea3d922f
Added class AudioProcessLoadMeasurer, and a new version of the method AudioDeviceManager::getAudioDeviceSetup()
6 years ago
Tom Poole
3c93cfb105
Clarified some Button LookAndFeel parameter names
6 years ago
Tom Poole
934e2995ff
Worked around a VS2013 compiler error
6 years ago
jules
7ab4d1708b
Some misc cleanups, mainly around WeakReference usage and rectangles
6 years ago
jules
974b4a8351
Removed some legacy friend class declarations that are no longer needed with modern compilers
7 years ago
ed
7ce365a319
Fixed a typo in last commit
7 years ago
ed
38e065cb8f
Added methods to get and set the octave scroll button width to MidiKeyboardComponent
7 years ago
Tom Poole
cbfcb53274
Tweaked the layout of MidiInputSelectorComponentListBox
7 years ago
hogliux
0f7c867534
MidiKeyboadComponent: Fixed an assertion when translating the mouse position to a note velocity
7 years ago
Tom Poole
6f7f264d04
Fixed a layout bug in MidiInputSelectorComponentListBox
7 years ago