Browse Source

audiofile mp3: disable SIMD for macos-old builds

Signed-off-by: falkTX <falktx@falktx.com>
tags/v2.3.0-RC1
falkTX 3 years ago
parent
commit
650b36eba2
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      source/modules/audio_decoder/ad_minimp3.c

+ 6
- 0
source/modules/audio_decoder/ad_minimp3.c View File

@@ -25,6 +25,12 @@

#include "ad_plugin.h"

// disable SIMD for macos-old builds
#include "CarlaDefines.h"
#if defined(CARLA_OS_MAC) && !defined(CARLA_PROPER_CPP11_SUPPORT)
# define MINIMP3_NO_SIMD
#endif

#define MINIMP3_FLOAT_OUTPUT
#define MINIMP3_IMPLEMENTATION
#include "minimp3_ex.h"


Loading…
Cancel
Save