mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Fix some warnings on newer GCC versions on linux
This commit is contained in:
parent
2f94c8019d
commit
f8cffb5949
3 changed files with 8 additions and 8 deletions
|
|
@ -796,10 +796,10 @@ class ALSAAudioIODevice : public AudioIODevice
|
|||
{
|
||||
public:
|
||||
ALSAAudioIODevice (const String& deviceName,
|
||||
const String& typeName,
|
||||
const String& deviceTypeName,
|
||||
const String& inputDeviceID,
|
||||
const String& outputDeviceID)
|
||||
: AudioIODevice (deviceName, typeName),
|
||||
: AudioIODevice (deviceName, deviceTypeName),
|
||||
inputId (inputDeviceID),
|
||||
outputId (outputDeviceID),
|
||||
isOpen_ (false),
|
||||
|
|
@ -924,8 +924,8 @@ private:
|
|||
class ALSAAudioIODeviceType : public AudioIODeviceType
|
||||
{
|
||||
public:
|
||||
ALSAAudioIODeviceType (bool onlySoundcards, const String &typeName)
|
||||
: AudioIODeviceType (typeName),
|
||||
ALSAAudioIODeviceType (bool onlySoundcards, const String &deviceTypeName)
|
||||
: AudioIODeviceType (deviceTypeName),
|
||||
hasScanned (false),
|
||||
listOnlySoundcards (onlySoundcards)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1267,8 +1267,8 @@ private:
|
|||
class MemoryMappedWavReader : public MemoryMappedAudioFormatReader
|
||||
{
|
||||
public:
|
||||
MemoryMappedWavReader (const File& file, const WavAudioFormatReader& reader)
|
||||
: MemoryMappedAudioFormatReader (file, reader, reader.dataChunkStart,
|
||||
MemoryMappedWavReader (const File& wavFile, const WavAudioFormatReader& reader)
|
||||
: MemoryMappedAudioFormatReader (wavFile, reader, reader.dataChunkStart,
|
||||
reader.dataLength, reader.bytesPerFrame)
|
||||
{
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1270,12 +1270,12 @@ void AudioProcessorGraph::reset()
|
|||
nodes.getUnchecked(i)->getProcessor()->reset();
|
||||
}
|
||||
|
||||
void AudioProcessorGraph::setNonRealtime (bool isNonRealtime) noexcept
|
||||
void AudioProcessorGraph::setNonRealtime (bool isProcessingNonRealtime) noexcept
|
||||
{
|
||||
const ScopedLock sl (getCallbackLock());
|
||||
|
||||
for (int i = 0; i < nodes.size(); ++i)
|
||||
nodes.getUnchecked(i)->getProcessor()->setNonRealtime (isNonRealtime);
|
||||
nodes.getUnchecked(i)->getProcessor()->setNonRealtime (isProcessingNonRealtime);
|
||||
}
|
||||
|
||||
void AudioProcessorGraph::setPlayHead (AudioPlayHead* audioPlayHead)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue