summaryrefslogtreecommitdiff
path: root/src/audio_core/codec.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2020-09-29 15:16:24 -0700
committerGitHub <noreply@github.com>2020-09-29 15:16:24 -0700
commit09609dd50ed862a7f1d00b704acbce5bff498994 (patch)
tree903a6d5b566fca0797014c29011f7cf63eb3fd08 /src/audio_core/codec.h
parent2a82f1b08bb0f3f03830bde9afa866f8116775ee (diff)
parent90c61411640c049c6a5c376782b37d94f949f1f5 (diff)
Merge pull request #4721 from lioncash/genfn
codec: Make lookup table static constexpr
Diffstat (limited to 'src/audio_core/codec.h')
-rw-r--r--src/audio_core/codec.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/audio_core/codec.h b/src/audio_core/codec.h
index ef2ce01a8..9507abb1b 100644
--- a/src/audio_core/codec.h
+++ b/src/audio_core/codec.h
@@ -38,7 +38,7 @@ using ADPCM_Coeff = std::array<s16, 16>;
* @param state ADPCM state, this is updated with new state
* @return Decoded stereo signed PCM16 data, sample_count in length
*/
-std::vector<s16> DecodeADPCM(const u8* const data, std::size_t size, const ADPCM_Coeff& coeff,
+std::vector<s16> DecodeADPCM(const u8* data, std::size_t size, const ADPCM_Coeff& coeff,
ADPCMState& state);
}; // namespace AudioCore::Codec