|
|
|
@@ -47,7 +47,8 @@ JUCE_BEGIN_IGNORE_WARNINGS_GCC_LIKE ("-Wshorten-64-to-32", |
|
|
|
"-Wzero-as-null-pointer-constant",
|
|
|
|
"-Wnullable-to-nonnull-conversion",
|
|
|
|
"-Wgnu-zero-variadic-macro-arguments",
|
|
|
|
"-Wformat-pedantic")
|
|
|
|
"-Wformat-pedantic",
|
|
|
|
"-Wdeprecated-anon-enum-enum-conversion")
|
|
|
|
|
|
|
|
#include "../utility/juce_IncludeSystemHeaders.h"
|
|
|
|
|
|
|
|
@@ -354,7 +355,7 @@ public: |
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
err = (busNr == (requestedNumBus - 1) ? noErr : kAudioUnitErr_FormatNotSupported);
|
|
|
|
err = (busNr == (requestedNumBus - 1) ? (OSStatus) noErr : (OSStatus) kAudioUnitErr_FormatNotSupported);
|
|
|
|
}
|
|
|
|
|
|
|
|
// was there an error?
|
|
|
|
@@ -1902,7 +1903,7 @@ private: |
|
|
|
|
|
|
|
return (scope != kAudioUnitScope_Input
|
|
|
|
&& scope != kAudioUnitScope_Output)
|
|
|
|
? kAudioUnitErr_InvalidScope : noErr;
|
|
|
|
? (OSStatus) kAudioUnitErr_InvalidScope : (OSStatus) noErr;
|
|
|
|
}
|
|
|
|
|
|
|
|
OSStatus elementToBusIdx (AudioUnitScope scope, AudioUnitElement element, bool& isInput, int& busIdx) noexcept
|
|
|
|
|