mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-06-28 01:03:10 -04:00
15 lines
361 B
C++
15 lines
361 B
C++
#ifndef DUSK_ADPCM_HPP
|
|
#define DUSK_ADPCM_HPP
|
|
|
|
#include <dolphin/types.h>
|
|
|
|
namespace dusk::audio {
|
|
constexpr u32 Adpcm4FrameSize = 9;
|
|
constexpr u32 AdpcmSampleCount = 16;
|
|
constexpr u32 Adpcm2FrameSize = 5;
|
|
|
|
void Adpcm4ToPcm16(const u8* adpcm, size_t adpcmLength, s16* pcm, size_t pcmLength, s16& hist1, s16& hist0);
|
|
}
|
|
|
|
#endif // DUSK_ADPCM_HPP
|