1 #ifndef DEVICEMANAGER_H
2 #define DEVICEMANAGER_H
8 class DeviceManagerImpl
{
9 Vector
<UniquePtr
<DeviceImpl
>> mDevices
;
15 static ALCboolean (ALC_APIENTRY
*SetThreadContext
)(ALCcontext
*);
17 static DeviceManagerImpl
&get();
19 void removeDevice(DeviceImpl
*dev
);
21 bool queryExtension(const char *name
) const;
23 Vector
<String
> enumerate(DeviceEnumeration type
) const;
24 String
defaultDeviceName(DefaultDeviceType type
) const;
26 Device
openPlayback(const char *name
);
27 Device
openPlayback(const char *name
, const std::nothrow_t
&);
32 #endif /* DEVICEMANAGER_H */