mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-26 02:14:22 +00:00
Better use of intrinsics for FLAC.
This commit is contained in:
parent
1e4ba1b550
commit
afb5904e89
1 changed files with 10 additions and 0 deletions
|
|
@ -51,6 +51,16 @@ namespace FlacNamespace
|
|||
#pragma clang diagnostic ignored "-Wshadow"
|
||||
#endif
|
||||
|
||||
#if JUCE_INTEL
|
||||
#if JUCE_32BIT
|
||||
#define FLAC__CPU_IA32 1
|
||||
#endif
|
||||
#if JUCE_64BIT
|
||||
#define FLAC__CPU_X86_64 1
|
||||
#endif
|
||||
#define FLAC__HAS_X86INTRIN 1
|
||||
#endif
|
||||
|
||||
#define __STDC_LIMIT_MACROS 1
|
||||
#define flac_max jmax
|
||||
#define flac_min jmin
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue