mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
AudioUnit (host): Prevent a warning from using bitwise operations with different enum types
This commit is contained in:
parent
29cb346db2
commit
4e106a76e8
1 changed files with 1 additions and 1 deletions
|
|
@ -1098,7 +1098,7 @@ public:
|
|||
AudioStreamBasicDescription newStream{};
|
||||
newStream.mSampleRate = *sampleRate;
|
||||
newStream.mFormatID = kAudioFormatLinearPCM;
|
||||
newStream.mFormatFlags = kAudioFormatFlagsNativeFloatPacked | kAudioFormatFlagIsNonInterleaved | kAudioFormatFlagsNativeEndian;
|
||||
newStream.mFormatFlags = (int) kAudioFormatFlagsNativeFloatPacked | (int) kAudioFormatFlagIsNonInterleaved | (int) kAudioFormatFlagsNativeEndian;
|
||||
newStream.mFramesPerPacket = 1;
|
||||
newStream.mBytesPerPacket = 4;
|
||||
newStream.mBytesPerFrame = 4;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue