More work. Audio driver works enough to play music now.

This commit is contained in:
elasota
2019-12-11 00:51:42 -05:00
parent b1e8e11a56
commit e368cf7235
141 changed files with 8996 additions and 1117 deletions

View File

@@ -0,0 +1,25 @@
#pragma once
struct ColorTable;
struct CGraf;
struct GDevice;
struct Rect;
namespace PortabilityLayer
{
class QDPort;
struct QDState;
class QDManager
{
public:
virtual void Init() = 0;
virtual void GetPort(QDPort **gw, GDevice ***gdHandle) = 0;
virtual void SetPort(QDPort *gw, GDevice **gdHandle) = 0;
virtual int NewGWorld(CGraf **gw, int depth, const Rect &bounds, ColorTable **colorTable, GDevice **device, int flags) = 0;
virtual QDState *GetState() = 0;
static QDManager *GetInstance();
};
}