mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Fixed some compiler warnings
This commit is contained in:
parent
869a9fd994
commit
de13b83ed2
3 changed files with 3 additions and 7 deletions
|
|
@ -877,7 +877,7 @@ public:
|
||||||
visualiserComp (colourPicker)
|
visualiserComp (colourPicker)
|
||||||
{
|
{
|
||||||
#ifndef JUCE_DEMO_RUNNER
|
#ifndef JUCE_DEMO_RUNNER
|
||||||
audioDeviceManager.initialise (0, 2, 0, true, {}, 0);
|
audioDeviceManager.initialise (0, 2, nullptr, true, {}, nullptr);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
audioDeviceManager.addMidiInputDeviceCallback ({}, this);
|
audioDeviceManager.addMidiInputDeviceCallback ({}, this);
|
||||||
|
|
|
||||||
|
|
@ -78,8 +78,6 @@ public:
|
||||||
startTimer (500);
|
startTimer (500);
|
||||||
}
|
}
|
||||||
|
|
||||||
~SurroundEditor() {}
|
|
||||||
|
|
||||||
void resized() override
|
void resized() override
|
||||||
{
|
{
|
||||||
auto r = getLocalBounds();
|
auto r = getLocalBounds();
|
||||||
|
|
@ -222,8 +220,6 @@ public:
|
||||||
.withOutput ("Output", AudioChannelSet::stereo()))
|
.withOutput ("Output", AudioChannelSet::stereo()))
|
||||||
{}
|
{}
|
||||||
|
|
||||||
~SurroundProcessor() {}
|
|
||||||
|
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
void prepareToPlay (double sampleRate, int samplesPerBlock) override
|
void prepareToPlay (double sampleRate, int samplesPerBlock) override
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -89,7 +89,7 @@ public:
|
||||||
startAnalyticsThread (initialPeriodMs);
|
startAnalyticsThread (initialPeriodMs);
|
||||||
}
|
}
|
||||||
|
|
||||||
~GoogleAnalyticsDestination()
|
~GoogleAnalyticsDestination() override
|
||||||
{
|
{
|
||||||
// Here we sleep so that our background thread has a chance to send the
|
// Here we sleep so that our background thread has a chance to send the
|
||||||
// last lot of batched events. Be careful - if your app takes too long to
|
// last lot of batched events. Be careful - if your app takes too long to
|
||||||
|
|
@ -332,7 +332,7 @@ public:
|
||||||
logEventButtonPress.reset (new ButtonTracker (eventButton, "button_press", logButtonPressParameters));
|
logEventButtonPress.reset (new ButtonTracker (eventButton, "button_press", logButtonPressParameters));
|
||||||
}
|
}
|
||||||
|
|
||||||
~AnalyticsCollectionDemo()
|
~AnalyticsCollectionDemo() override
|
||||||
{
|
{
|
||||||
// The event type here should probably be DemoAnalyticsEventTypes::sessionEnd
|
// The event type here should probably be DemoAnalyticsEventTypes::sessionEnd
|
||||||
// in a more advanced app.
|
// in a more advanced app.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue