diff options
Diffstat (limited to 'src/audio_core/codec.h')
| -rw-r--r-- | src/audio_core/codec.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/audio_core/codec.h b/src/audio_core/codec.h index e695f2edc..77bbf98b5 100644 --- a/src/audio_core/codec.h +++ b/src/audio_core/codec.h | |||
| @@ -29,7 +29,8 @@ struct ADPCMState { | |||
| 29 | * @param state ADPCM state, this is updated with new state | 29 | * @param state ADPCM state, this is updated with new state |
| 30 | * @return Decoded stereo signed PCM16 data, sample_count in length | 30 | * @return Decoded stereo signed PCM16 data, sample_count in length |
| 31 | */ | 31 | */ |
| 32 | StereoBuffer16 DecodeADPCM(const u8* const data, const size_t sample_count, const std::array<s16, 16>& adpcm_coeff, ADPCMState& state); | 32 | StereoBuffer16 DecodeADPCM(const u8* const data, const size_t sample_count, |
| 33 | const std::array<s16, 16>& adpcm_coeff, ADPCMState& state); | ||
| 33 | 34 | ||
| 34 | /** | 35 | /** |
| 35 | * @param num_channels Number of channels | 36 | * @param num_channels Number of channels |
| @@ -37,7 +38,8 @@ StereoBuffer16 DecodeADPCM(const u8* const data, const size_t sample_count, cons | |||
| 37 | * @param sample_count Length of buffer in terms of number of samples | 38 | * @param sample_count Length of buffer in terms of number of samples |
| 38 | * @return Decoded stereo signed PCM16 data, sample_count in length | 39 | * @return Decoded stereo signed PCM16 data, sample_count in length |
| 39 | */ | 40 | */ |
| 40 | StereoBuffer16 DecodePCM8(const unsigned num_channels, const u8* const data, const size_t sample_count); | 41 | StereoBuffer16 DecodePCM8(const unsigned num_channels, const u8* const data, |
| 42 | const size_t sample_count); | ||
| 41 | 43 | ||
| 42 | /** | 44 | /** |
| 43 | * @param num_channels Number of channels | 45 | * @param num_channels Number of channels |
| @@ -45,6 +47,6 @@ StereoBuffer16 DecodePCM8(const unsigned num_channels, const u8* const data, con | |||
| 45 | * @param sample_count Length of buffer in terms of number of samples | 47 | * @param sample_count Length of buffer in terms of number of samples |
| 46 | * @return Decoded stereo signed PCM16 data, sample_count in length | 48 | * @return Decoded stereo signed PCM16 data, sample_count in length |
| 47 | */ | 49 | */ |
| 48 | StereoBuffer16 DecodePCM16(const unsigned num_channels, const u8* const data, const size_t sample_count); | 50 | StereoBuffer16 DecodePCM16(const unsigned num_channels, const u8* const data, |
| 49 | 51 | const size_t sample_count); | |
| 50 | }; | 52 | }; |