Browse Source

Fix build for legacy gcc

tags/v2.1-rc1
falkTX 6 years ago
parent
commit
3dd2982cfc
1 changed files with 9 additions and 1 deletions
  1. +9
    -1
      source/native-plugins/audio-file.cpp

+ 9
- 1
source/native-plugins/audio-file.cpp View File

@@ -352,10 +352,18 @@ private:

InlineDisplay()
: NativeInlineDisplayImageSurfaceCompat(),
#ifdef CARLA_PROPER_CPP11_SUPPORT
lastValuesL{0.0f},
lastValuesR{0.0f},
#endif
writtenValues(0),
pending(false) {}
pending(false)
{
#ifndef CARLA_PROPER_CPP11_SUPPORT
carla_zeroFloats(lastValuesL, 32);
carla_zeroFloats(lastValuesR, 32);
#endif
}

~InlineDisplay()
{


Loading…
Cancel
Save