mirror of
https://github.com/RetroDECK/Supermodel.git
synced 2024-11-23 06:15:37 +00:00
19 lines
394 B
C++
19 lines
394 B
C++
#ifndef _MPEG_AUDIO_H_
|
|
#define _MPEG_AUDIO_H_
|
|
|
|
#include <cstdint>
|
|
|
|
namespace MpegDec
|
|
{
|
|
void SetMemory(const uint8_t *data, int length, bool loop);
|
|
void UpdateMemory(const uint8_t *data, int length, bool loop);
|
|
int GetPosition();
|
|
void SetPosition(int pos);
|
|
void DecodeAudio(int16_t* left, int16_t* right, int numStereoSamples);
|
|
void Stop();
|
|
bool IsLoaded();
|
|
}
|
|
|
|
#endif
|
|
|