AudioCommon/WASAPI: Use std::string_view where applicable

This commit is contained in:
Silent 2019-08-17 11:05:33 +02:00
commit 5dbbf36563
No known key found for this signature in database
GPG key ID: AE53149BB0C45AF1
2 changed files with 7 additions and 4 deletions

View file

@ -40,7 +40,7 @@ public:
static bool isValid();
static std::vector<std::string> GetAvailableDevices();
static Microsoft::WRL::ComPtr<IMMDevice> GetDeviceByName(std::string name);
static Microsoft::WRL::ComPtr<IMMDevice> GetDeviceByName(std::string_view name);
private:
u32 m_frames_in_buffer = 0;