reuk
b0e689eaf4
AudioProcessLoadMeasurer: Fix potential divide by zero due to uninitialised samplesPerBlock
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
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
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
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
ed
a093112c05
Fixed some compiler warnings
5 years ago
ed
e26529d5e9
Added identifier-based MIDI input/output methods to AudioDeviceManager and deprecated the old name-based methods
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
91ef9e2b85
Fixed some layout issues when using an AudioDeviceSelectorComponent with the "advanced" settings hidden
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
jules
93ea3d922f
Added class AudioProcessLoadMeasurer, and a new version of the method AudioDeviceManager::getAudioDeviceSetup()
6 years ago
Tom Poole
cbfcb53274
Tweaked the layout of MidiInputSelectorComponentListBox
7 years ago
Tom Poole
6f7f264d04
Fixed a layout bug in MidiInputSelectorComponentListBox
7 years ago
Tom Poole
ab863a6dc2
Replaced all usage of ScopedPointer with std::unique_ptr
7 years ago
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
7 years ago
jules
1a60fa9765
More ScopedPointer/unique_ptr compatibility work
7 years ago
jules
f9313c8338
Deprecated some old functions roundDoubleToInt and roundFloatToInt - these can both be trivially replaced by roundToInt, and should have been deprecated long ago!
7 years ago
jules
4fcedf7be5
Standardised some lambda syntax
7 years ago
jules
80a7718286
Added some event lambda callbacks for TextEditor and simplified a bit more code using them
7 years ago
jules
e7a5e520c6
Updated Button::onClick and added ComboBox::onChange
7 years ago
jules
ce8b2d865a
Used Button::onClick to simplify a bunch of library classes and demo code
7 years ago
jules
2dc9316420
Misc ScopedPointer changes to start using reset() and get() rather than assignments and casts (part of an ongoing drift towards more std::unique_ptr compatibility)
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
357dd2c9c9
Removed some old compiler bug workarounds
7 years ago
jules
4e5f005421
Added a method Component::getChildren() to allow them to be iterated with a range-based for loop, and used this in appropriate places around the codebase
7 years ago
ed
b0c3531ac3
Improved the layout of the tick boxes in AudioDeviceSelectorComponent when using LookAndFeel_V4
8 years ago
tpoole
2fdff085b6
Fixed a bug when displaying a "None" device in AudioDeviceSelectorComponent
8 years ago
tpoole
e58bdc9c18
Fixed AudioDeviceSelectorComponent resizing bug
8 years ago
hogliux
b5afccc37c
Updated file headers and the README with the JUCE 5 license
8 years ago
hogliux
ef2c63e4e3
Added a new LookAndFeel (V4) and re-skinned the JUCE Demo and examples. Improved the JUCE Demo on mobile devices.
8 years ago
tpoole
7094b04a9b
Changed some text to Title Case in AudioDeviceSelectorComponent
8 years ago
hogliux
c1f7b6dc16
Fixed a possible nullptr dereference in the Android runtime permission code
8 years ago
jules
9fa0d49be7
Added an option JUCE_ALLOW_STATIC_NULL_VARIABLES that can be used to turn off dangerous statics like String::empty, var::null, etc.
8 years ago
jules
4d34212557
Fixed a problem with AudioDeviceSelectorComponent that caused repeated refreshes of the current midi device.
9 years ago
jules
23395691b1
Added a method AudioDeviceSelectorComponent::getMidiInputSelectorListBox()
9 years ago
jules
89ba69ab29
Android Bluetooth MIDI, pro-audio i/o and improved openGL support
9 years ago
hogliux
c7b8e77031
Update copyright notice
9 years ago
jules
5d3e24b7a7
Spelling fix.
10 years ago
jules
aef09a4d5b
Minor layout tweaks to the AudioDeviceSelectorComponent
10 years ago
jules
2d34266125
Fixed a layout bug in AudioDeviceSelectorComponent
10 years ago
jules
6bb134ae89
Made sure that AudioDeviceSelectorComponent reflects the l+f correctly
10 years ago
jules
3bb7e7ebf1
Added a 'reset' button and adjustable item height to the AudioDeviceSelectorComponent
11 years ago
jules
f57cd7bafd
Clarified some badly-defined behaviour in AudioDeviceManager: if a midi callback is added with an empty-string as its target midi input device, it now gets sent incoming events from *all* devices, not just the "default" device (which was never properly defined)
11 years ago
jules
a8f9fdc54b
Optimisation to AudioDeviceSelectorComponent.
11 years ago