AudioCommon/WASAPI: Use std::string_view where applicable

This commit is contained in:
Silent
2019-08-17 11:05:33 +02:00
parent 7d59ad262f
commit 5dbbf36563
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;