diff options
author | bunnei <bunneidev@gmail.com> | 2018-08-13 18:19:59 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-13 18:19:59 +0200 |
commit | f19b4fab5ff470c060f93eac454bb351e7e37225 (patch) | |
tree | 47eb63b32088feac194e06ed76d028717213ff86 /src/audio_core/audio_renderer.h | |
parent | Merge pull request #1053 from MerryMage/rm-IsExecuting (diff) | |
parent | audio_renderer: samples_remaining counts frames, not samples (diff) | |
download | yuzu-f19b4fab5ff470c060f93eac454bb351e7e37225.tar yuzu-f19b4fab5ff470c060f93eac454bb351e7e37225.tar.gz yuzu-f19b4fab5ff470c060f93eac454bb351e7e37225.tar.bz2 yuzu-f19b4fab5ff470c060f93eac454bb351e7e37225.tar.lz yuzu-f19b4fab5ff470c060f93eac454bb351e7e37225.tar.xz yuzu-f19b4fab5ff470c060f93eac454bb351e7e37225.tar.zst yuzu-f19b4fab5ff470c060f93eac454bb351e7e37225.zip |
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 @@ #include <memory> #include <vector> +#include "audio_core/algorithm/interpolate.h" #include "audio_core/audio_out.h" #include "audio_core/codec.h" #include "audio_core/stream.h" @@ -194,6 +195,7 @@ private: size_t wave_index{}; size_t offset{}; Codec::ADPCMState adpcm_state{}; + InterpolationState interp_state{}; std::vector<s16> samples; VoiceOutStatus out_status{}; VoiceInfo info{}; |