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