diff options
| author | 2018-08-12 19:32:39 +0100 | |
|---|---|---|
| committer | 2018-08-13 11:26:50 +0100 | |
| commit | 4b44b8b4fba5ddfe28e5c6bd418f48ba475eaa79 (patch) | |
| tree | aff40cf37d7946ebff6317f2f715f21075514ebb /src/audio_core/audio_renderer.h | |
| parent | audio_core: Implement low-pass filter (diff) | |
| download | yuzu-4b44b8b4fba5ddfe28e5c6bd418f48ba475eaa79.tar.gz yuzu-4b44b8b4fba5ddfe28e5c6bd418f48ba475eaa79.tar.xz yuzu-4b44b8b4fba5ddfe28e5c6bd418f48ba475eaa79.zip | |
audio_core: Interpolate
Diffstat (limited to 'src/audio_core/audio_renderer.h')
| -rw-r--r-- | src/audio_core/audio_renderer.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/audio_core/audio_renderer.h b/src/audio_core/audio_renderer.h index 13c5d0adc..eba67f28e 100644 --- a/src/audio_core/audio_renderer.h +++ b/src/audio_core/audio_renderer.h | |||
| @@ -8,6 +8,7 @@ | |||
| 8 | #include <memory> | 8 | #include <memory> |
| 9 | #include <vector> | 9 | #include <vector> |
| 10 | 10 | ||
| 11 | #include "audio_core/algorithm/interpolate.h" | ||
| 11 | #include "audio_core/audio_out.h" | 12 | #include "audio_core/audio_out.h" |
| 12 | #include "audio_core/codec.h" | 13 | #include "audio_core/codec.h" |
| 13 | #include "audio_core/stream.h" | 14 | #include "audio_core/stream.h" |
| @@ -194,6 +195,7 @@ private: | |||
| 194 | size_t wave_index{}; | 195 | size_t wave_index{}; |
| 195 | size_t offset{}; | 196 | size_t offset{}; |
| 196 | Codec::ADPCMState adpcm_state{}; | 197 | Codec::ADPCMState adpcm_state{}; |
| 198 | InterpolationState interp_state{}; | ||
| 197 | std::vector<s16> samples; | 199 | std::vector<s16> samples; |
| 198 | VoiceOutStatus out_status{}; | 200 | VoiceOutStatus out_status{}; |
| 199 | VoiceInfo info{}; | 201 | VoiceInfo info{}; |