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.
2021-09-29 16:14:00 +01:00
reuk
ac3d1b7539
MidiKeyboardComponent: Fix potential data race on shouldCheckState data member
2021-09-28 11:31:48 +01:00
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.
2021-09-22 10:23:05 +01:00
reuk
61e5f983d9
AudioDeviceSelectorComponent: Make timerCallback declaration private
2021-08-04 15:56:53 +01:00
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
2021-07-21 16:34:12 +01:00
Tom Poole
a1a65707f6
Fixed a documentation typo
2021-05-10 11:50:37 +01:00
ed
a8aafed53d
Removed some unnecessary virtual keywords
2021-04-27 15:56:01 +01:00
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.
2021-03-16 17:20:13 +00:00
reuk
394c4fd475
Clang: Fix warnings when building with clang 10
2020-07-01 10:00:43 +01:00
ed
009d685179
Updated all license headers
2020-06-29 08:30:22 +01:00
ed
5467c57e23
Updated MidiKeyboardState to use nested Listener and fixed some thread safety issues
2020-06-12 11:05:55 +01:00
reuk
4cf66d6522
Cleanup: Remove redundant inlines
2020-04-27 10:22:06 +01:00
Tom Poole
894e7d2bd2
Updated all license headers
2020-04-23 17:30:39 +01:00
reuk
327f817b9b
Copyrights: Update commercial/gpl headers to be gpl-only
2020-04-09 15:22:56 +01:00
reuk
5af01b9b16
Demos: Convey proper ownership semantics
2020-03-12 18:30:45 +00:00
ed
a54da0b832
Fixed some more typos
2020-01-07 08:53:23 +00:00
ed
4edb0d2c90
Tidied up some divider comments
2019-09-06 12:00:26 +01:00
Tom Poole
79d3e8b3f5
Windows: Removed some VS2013 workarounds
2019-07-11 15:28:41 +01:00
ed
a093112c05
Fixed some compiler warnings
2019-07-09 12:24:34 +01:00
Tom Poole
d8e07dca91
Fixed a data race in an example
2019-06-28 10:13:06 +01:00
Tom Poole
16dd26649a
Fixed some GCC compiler warnings and removed deprecated functions
2019-06-04 16:48:44 +01:00
ed
e26529d5e9
Added identifier-based MIDI input/output methods to AudioDeviceManager and deprecated the old name-based methods
2019-05-22 15:45:15 +01:00
Tom Poole
1e021b6ed0
Fixed an issue overriding MidiKeyboardComponent::mouseDownOnKey
2019-05-15 16:44:50 +01:00
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
2019-04-03 11:55:20 +01:00
ed
fb5cfcd606
Fix some data races flagged when running the AudioPlaybackDemo with Xcode's thread sanitiser enabled
2019-04-01 15:39:27 +01:00
Tom Poole
0828977e5b
macOS: Added a Bluetooth MIDI pairing dialog
2019-03-29 17:05:34 +00:00
ed
290aad89f8
Fixed a potential data race in AudioThumbnail
2019-03-25 16:24:40 +00:00
Tom Poole
43e623661e
Fixed a typo in a comment
2019-03-11 09:45:57 +00:00
ed
91ef9e2b85
Fixed some layout issues when using an AudioDeviceSelectorComponent with the "advanced" settings hidden
2019-03-07 11:07:05 +00:00
ed
a234721110
Added various clang-tidy modernize-* fixes
2019-01-31 15:15:31 +00:00
ed
0ab5e696fe
Reduce the list row height in AudioDeviceSelectorComponent when the item height is reduced
2019-01-25 12:02:04 +00:00
jules
cdb55f70c2
Changes to avoid some clang warnings
2019-01-18 08:59:28 +00:00
Tom Poole
faf7fb1960
Fixed a bug in the AudioDeviceSelectorComponent when selecting zero channels
2018-12-04 14:47:25 +00:00
ed
c3e7c47252
Make sure that the velocity value set in MidiKeyboardComponent::setVelocity() is used when sending notes
2018-10-19 15:18:14 +01:00
jules
5979288706
Added some macros for asserting when functions are called in an unsafe manner outside the message thread.
2018-10-16 17:39:54 +01:00
jules
93ea3d922f
Added class AudioProcessLoadMeasurer, and a new version of the method AudioDeviceManager::getAudioDeviceSetup()
2018-09-10 11:46:47 +01:00
Tom Poole
3c93cfb105
Clarified some Button LookAndFeel parameter names
2018-07-16 12:26:27 +01:00
Tom Poole
934e2995ff
Worked around a VS2013 compiler error
2018-07-10 12:49:52 +01:00
jules
7ab4d1708b
Some misc cleanups, mainly around WeakReference usage and rectangles
2018-07-09 16:00:45 +01:00
jules
974b4a8351
Removed some legacy friend class declarations that are no longer needed with modern compilers
2018-06-13 17:11:37 +01:00
ed
7ce365a319
Fixed a typo in last commit
2018-05-08 09:22:28 +01:00
ed
38e065cb8f
Added methods to get and set the octave scroll button width to MidiKeyboardComponent
2018-05-08 09:17:57 +01:00
Tom Poole
cbfcb53274
Tweaked the layout of MidiInputSelectorComponentListBox
2018-04-24 07:32:20 +01:00
hogliux
0f7c867534
MidiKeyboadComponent: Fixed an assertion when translating the mouse position to a note velocity
2018-04-23 11:34:22 +01:00
Tom Poole
6f7f264d04
Fixed a layout bug in MidiInputSelectorComponentListBox
2018-04-23 09:10:13 +01:00
Tom Poole
ab863a6dc2
Replaced all usage of ScopedPointer with std::unique_ptr
2018-04-19 20:27:47 +01:00
ed
cdbc28c18b
Add documentation tags
2018-03-15 12:10:32 +00:00
hogliux
8bb56fcad8
Try to re-use the current selected audio device if sharing an AudioDeviceManager with an AudioAppComponent
2018-03-13 15:45:42 +00:00
ed
381f97492a
Added a constructor to AudioAppComponent that takes a reference to a shared AudioDeviceManager
2018-02-23 12:53:50 +00:00
ed
dc96e99738
Made the AudioDeviceManager input/output level getters return a reference-counted struct to ensure that the level processing code is only executed when needed
2018-02-22 10:01:25 +00:00