diff options
Diffstat (limited to 'src/audio_core/codec.h')
-rw-r--r-- | src/audio_core/codec.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/audio_core/codec.h b/src/audio_core/codec.h index e695f2edc..2b0c395e6 100644 --- a/src/audio_core/codec.h +++ b/src/audio_core/codec.h @@ -6,7 +6,6 @@ #include <array> #include <vector> - #include "common/common_types.h" namespace Codec { @@ -29,7 +28,8 @@ struct ADPCMState { * @param state ADPCM state, this is updated with new state * @return Decoded stereo signed PCM16 data, sample_count in length */ -StereoBuffer16 DecodeADPCM(const u8* const data, const size_t sample_count, const std::array<s16, 16>& adpcm_coeff, ADPCMState& state); +StereoBuffer16 DecodeADPCM(const u8* const data, const size_t sample_count, + const std::array<s16, 16>& adpcm_coeff, ADPCMState& state); /** * @param num_channels Number of channels @@ -37,7 +37,8 @@ StereoBuffer16 DecodeADPCM(const u8* const data, const size_t sample_count, cons * @param sample_count Length of buffer in terms of number of samples * @return Decoded stereo signed PCM16 data, sample_count in length */ -StereoBuffer16 DecodePCM8(const unsigned num_channels, const u8* const data, const size_t sample_count); +StereoBuffer16 DecodePCM8(const unsigned num_channels, const u8* const data, + const size_t sample_count); /** * @param num_channels Number of channels @@ -45,6 +46,6 @@ StereoBuffer16 DecodePCM8(const unsigned num_channels, const u8* const data, con * @param sample_count Length of buffer in terms of number of samples * @return Decoded stereo signed PCM16 data, sample_count in length */ -StereoBuffer16 DecodePCM16(const unsigned num_channels, const u8* const data, const size_t sample_count); - +StereoBuffer16 DecodePCM16(const unsigned num_channels, const u8* const data, + const size_t sample_count); }; |