mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-12-14 20:19:38 +00:00
More work. Audio driver works enough to play music now.
This commit is contained in:
18
PortabilityLayer/HostAudioDriver.h
Normal file
18
PortabilityLayer/HostAudioDriver.h
Normal file
@@ -0,0 +1,18 @@
|
||||
#pragma once
|
||||
|
||||
namespace PortabilityLayer
|
||||
{
|
||||
class HostAudioChannel;
|
||||
|
||||
class HostAudioDriver
|
||||
{
|
||||
public:
|
||||
virtual HostAudioChannel *CreateChannel() = 0;
|
||||
|
||||
static HostAudioDriver *GetInstance();
|
||||
static void SetInstance(HostAudioDriver *instance);
|
||||
|
||||
private:
|
||||
static HostAudioDriver *ms_instance;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user