DeviceFinder: Add typedef DeviceList

This commit is contained in:
Jonas Kvinge
2023-06-01 18:43:43 +02:00
parent 8e14ef7c0c
commit a5a29f7ad3
15 changed files with 29 additions and 42 deletions

View File

@@ -33,11 +33,11 @@ class DirectSoundDeviceFinder : public DeviceFinder {
explicit DirectSoundDeviceFinder();
virtual bool Initialize() { return true; }
virtual QList<Device> ListDevices();
virtual DeviceList ListDevices();
private:
struct State {
QList<Device> devices;
DeviceList devices;
};
static BOOL CALLBACK EnumerateCallback(LPGUID guid, LPCSTR description, LPCSTR module, LPVOID state_voidptr);