diff options
| author | 2020-10-15 14:49:45 -0400 | |
|---|---|---|
| committer | 2020-10-17 19:50:39 -0400 | |
| commit | be1954e04cb5a0c3a526f78ed5490a5e65310280 (patch) | |
| tree | 267db7ae4be88dbbc288fa605e35d4a2a13839f6 /src/audio_core/time_stretch.h | |
| parent | Merge pull request #4787 from lioncash/conversion (diff) | |
| download | yuzu-be1954e04cb5a0c3a526f78ed5490a5e65310280.tar.gz yuzu-be1954e04cb5a0c3a526f78ed5490a5e65310280.tar.xz yuzu-be1954e04cb5a0c3a526f78ed5490a5e65310280.zip | |
core: Fix clang build
Recent changes to the build system that made more warnings be flagged as
errors caused building via clang to break.
Fixes #4795
Diffstat (limited to 'src/audio_core/time_stretch.h')
| -rw-r--r-- | src/audio_core/time_stretch.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/audio_core/time_stretch.h b/src/audio_core/time_stretch.h index bb2270b96..3808e554d 100644 --- a/src/audio_core/time_stretch.h +++ b/src/audio_core/time_stretch.h | |||
| @@ -5,9 +5,17 @@ | |||
| 5 | #pragma once | 5 | #pragma once |
| 6 | 6 | ||
| 7 | #include <cstddef> | 7 | #include <cstddef> |
| 8 | #include <SoundTouch.h> | ||
| 9 | #include "common/common_types.h" | 8 | #include "common/common_types.h" |
| 10 | 9 | ||
| 10 | #if defined(__GNUC__) | ||
| 11 | #pragma GCC diagnostic push | ||
| 12 | #pragma GCC diagnostic ignored "-Wsign-conversion" | ||
| 13 | #endif | ||
| 14 | #include <SoundTouch.h> | ||
| 15 | #if defined(__GNUC__) | ||
| 16 | #pragma GCC diagnostic pop | ||
| 17 | #endif | ||
| 18 | |||
| 11 | namespace AudioCore { | 19 | namespace AudioCore { |
| 12 | 20 | ||
| 13 | class TimeStretcher { | 21 | class TimeStretcher { |