mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-12-14 12:09:36 +00:00
More work. Audio driver works enough to play music now.
This commit is contained in:
16
PortabilityLayer/HostAudioDriver.cpp
Normal file
16
PortabilityLayer/HostAudioDriver.cpp
Normal file
@@ -0,0 +1,16 @@
|
||||
#include "HostAudioDriver.h"
|
||||
|
||||
namespace PortabilityLayer
|
||||
{
|
||||
HostAudioDriver *HostAudioDriver::GetInstance()
|
||||
{
|
||||
return ms_instance;
|
||||
}
|
||||
|
||||
void HostAudioDriver::SetInstance(HostAudioDriver *instance)
|
||||
{
|
||||
ms_instance = instance;
|
||||
}
|
||||
|
||||
HostAudioDriver *HostAudioDriver::ms_instance;
|
||||
}
|
||||
Reference in New Issue
Block a user