1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-09 23:34:20 +00:00

ARA Client: Fix GCC warnings

This commit is contained in:
attila 2022-08-09 11:11:08 +02:00
parent 9d73008dc2
commit 997ed696c2
3 changed files with 11 additions and 1 deletions

View file

@ -393,6 +393,8 @@ public:
return success;
}
using ARAPlaybackRenderer::processBlock;
private:
//==============================================================================
// 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:
void configure()
{
@ -683,6 +687,8 @@ public:
processBlockBypassed (buffer, midiMessages);
}
using AudioProcessor::processBlock;
//==============================================================================
const String getName() const override { return "ARAPluginDemo"; }
bool acceptsMidi() const override { return true; }

View file

@ -799,7 +799,7 @@ bool ARAOutputStream::write (const void* dataToWrite, size_t numberOfBytes)
if (! archiveWriter->writeBytesToArchive ((ARA::ARASize) position, numberOfBytes, (const ARA::ARAByte*) dataToWrite))
return false;
position += numberOfBytes;
position += (int64) numberOfBytes;
return true;
}

View file

@ -134,6 +134,8 @@ public:
return false;
}
using ARARenderer::processBlock;
// Shadowing templated getters to default to JUCE versions of the returned classes
/** Returns the PlaybackRegions
*
@ -195,6 +197,8 @@ public:
return true;
}
using ARARenderer::processBlock;
private:
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (ARAEditorRenderer)
};