Add EngineDevice class
This commit is contained in:
@@ -27,17 +27,18 @@
|
||||
#include <rpc.h>
|
||||
|
||||
#include "devicefinder.h"
|
||||
#include "enginedevice.h"
|
||||
|
||||
class DirectSoundDeviceFinder : public DeviceFinder {
|
||||
public:
|
||||
explicit DirectSoundDeviceFinder();
|
||||
|
||||
virtual bool Initialize() { return true; }
|
||||
virtual DeviceList ListDevices();
|
||||
virtual EngineDeviceList ListDevices();
|
||||
|
||||
private:
|
||||
struct State {
|
||||
DeviceList devices;
|
||||
EngineDeviceList devices;
|
||||
};
|
||||
|
||||
static BOOL CALLBACK EnumerateCallback(LPGUID guid, LPCSTR description, LPCSTR module, LPVOID state_voidptr);
|
||||
|
||||
Reference in New Issue
Block a user