mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
ARA Client: Fix GCC warnings
This commit is contained in:
parent
9d73008dc2
commit
997ed696c2
3 changed files with 11 additions and 1 deletions
|
|
@ -393,6 +393,8 @@ public:
|
||||||
return success;
|
return success;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
using ARAPlaybackRenderer::processBlock;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
// We're subclassing here only to provide a proper default c'tor for our shared resource
|
// We're subclassing here only to provide a proper default c'tor for our shared resource
|
||||||
|
|
@ -549,6 +551,8 @@ public:
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
using ARAEditorRenderer::processBlock;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void configure()
|
void configure()
|
||||||
{
|
{
|
||||||
|
|
@ -683,6 +687,8 @@ public:
|
||||||
processBlockBypassed (buffer, midiMessages);
|
processBlockBypassed (buffer, midiMessages);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
using AudioProcessor::processBlock;
|
||||||
|
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
const String getName() const override { return "ARAPluginDemo"; }
|
const String getName() const override { return "ARAPluginDemo"; }
|
||||||
bool acceptsMidi() const override { return true; }
|
bool acceptsMidi() const override { return true; }
|
||||||
|
|
|
||||||
|
|
@ -799,7 +799,7 @@ bool ARAOutputStream::write (const void* dataToWrite, size_t numberOfBytes)
|
||||||
if (! archiveWriter->writeBytesToArchive ((ARA::ARASize) position, numberOfBytes, (const ARA::ARAByte*) dataToWrite))
|
if (! archiveWriter->writeBytesToArchive ((ARA::ARASize) position, numberOfBytes, (const ARA::ARAByte*) dataToWrite))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
position += numberOfBytes;
|
position += (int64) numberOfBytes;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -134,6 +134,8 @@ public:
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
using ARARenderer::processBlock;
|
||||||
|
|
||||||
// Shadowing templated getters to default to JUCE versions of the returned classes
|
// Shadowing templated getters to default to JUCE versions of the returned classes
|
||||||
/** Returns the PlaybackRegions
|
/** Returns the PlaybackRegions
|
||||||
*
|
*
|
||||||
|
|
@ -195,6 +197,8 @@ public:
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
using ARARenderer::processBlock;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (ARAEditorRenderer)
|
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (ARAEditorRenderer)
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue