Audio now works a bit better, but is still broken :/

This commit is contained in:
Ben Vanik
2015-05-28 02:15:30 -07:00
parent a93325434a
commit e419d314b3
4 changed files with 173 additions and 138 deletions

View File

@@ -111,6 +111,9 @@ struct XMAContextData {
static_assert(sizeof(XMAContextData) == 4 * 10, "Must be packed");
class AudioSystem {
protected:
struct XMAContext;
public:
virtual ~AudioSystem();
@@ -147,6 +150,8 @@ class AudioSystem {
void WorkerThreadMain();
void DecoderThreadMain();
void ProcessXmaContext(XMAContext& context, XMAContextData& data);
static uint64_t MMIOReadRegisterThunk(AudioSystem* as, uint32_t addr) {
return as->ReadRegister(addr);
}