diff options
author | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2016-09-21 11:29:48 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-21 11:29:48 -0700 |
commit | d5d2ca8058a0f1c00ab7ca9fe2c058ba47546c0a (patch) | |
tree | 8a22ca73ff838f3f0090b29a548ae81087fc90ed /src/audio_core/codec.h | |
parent | 2a910a6d883f2227edc74aacf5b93a58a3dea07c (diff) | |
parent | 0e3f0120a8ec2996e73bb6b7b6c9d7531f7a7eb1 (diff) |
Merge pull request #2086 from linkmauve/clang-format
Add clang-format as part of our {commit,travis}-time checks
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); }; |