diff options
author | bunnei <bunneidev@gmail.com> | 2019-02-26 00:25:36 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-26 00:25:36 +0100 |
commit | 1cffd3848b15f86da3ba6b7a371602ecffb8cac2 (patch) | |
tree | e39ba2ad2d35a84312dc06e1abc2f1def3c556b1 /src/audio_core/codec.cpp | |
parent | Merge pull request #2159 from lioncash/warn (diff) | |
parent | audio_core/cubeb_sink: Initialize CubebSinkStream's last_frame data member (diff) | |
download | yuzu-1cffd3848b15f86da3ba6b7a371602ecffb8cac2.tar yuzu-1cffd3848b15f86da3ba6b7a371602ecffb8cac2.tar.gz yuzu-1cffd3848b15f86da3ba6b7a371602ecffb8cac2.tar.bz2 yuzu-1cffd3848b15f86da3ba6b7a371602ecffb8cac2.tar.lz yuzu-1cffd3848b15f86da3ba6b7a371602ecffb8cac2.tar.xz yuzu-1cffd3848b15f86da3ba6b7a371602ecffb8cac2.tar.zst yuzu-1cffd3848b15f86da3ba6b7a371602ecffb8cac2.zip |
Diffstat (limited to 'src/audio_core/codec.cpp')
-rw-r--r-- | src/audio_core/codec.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/audio_core/codec.cpp b/src/audio_core/codec.cpp index 454de798b..c5a0d98ce 100644 --- a/src/audio_core/codec.cpp +++ b/src/audio_core/codec.cpp @@ -68,8 +68,8 @@ std::vector<s16> DecodeADPCM(const u8* const data, std::size_t size, const ADPCM } } - state.yn1 = yn1; - state.yn2 = yn2; + state.yn1 = static_cast<s16>(yn1); + state.yn2 = static_cast<s16>(yn2); return ret; } |