mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-23 23:00:42 +00:00
This commit contains only the result of `git add --renormalize .` `git show --ignore-space-change` can verify that this commit only changes whitespace.
19 lines
473 B
C++
19 lines
473 B
C++
#pragma once
|
|
|
|
#include "EGpAudioDriverType.h"
|
|
|
|
struct IGpAudioDriver;
|
|
struct GpAudioDriverProperties;
|
|
|
|
class GpAudioDriverFactory
|
|
{
|
|
public:
|
|
typedef IGpAudioDriver *(*FactoryFunc_t)(const GpAudioDriverProperties &properties);
|
|
|
|
static IGpAudioDriver *CreateAudioDriver(const GpAudioDriverProperties &properties);
|
|
static void RegisterAudioDriverFactory(EGpAudioDriverType type, FactoryFunc_t func);
|
|
|
|
private:
|
|
static FactoryFunc_t ms_registry[EGpAudioDriverType_Count];
|
|
};
|