mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-02-27 16:21:46 -05:00

subrepo: subdir: "libultraship" merged: "a484cda98" upstream: origin: "https://github.com/HarbourMasters/libultraship.git" branch: "main" commit: "a484cda98" git-subrepo: version: "0.4.1" origin: "???" commit: "???"
16 lines
279 B
C++
16 lines
279 B
C++
#pragma once
|
|
#include "stdint.h"
|
|
|
|
namespace Ship {
|
|
class AudioPlayer {
|
|
|
|
public:
|
|
AudioPlayer() { };
|
|
|
|
virtual bool Init(void) = 0;
|
|
virtual int Buffered(void) = 0;
|
|
virtual int GetDesiredBuffered(void) = 0;
|
|
virtual void Play(const uint8_t* buf, uint32_t len) = 0;
|
|
};
|
|
}
|