AudioCommon: make SoundLoop() non-virtual and private

This commit is contained in:
Tillmann Karras
2021-08-07 22:15:45 +01:00
parent d14b9a73b2
commit b6d8c111bc
7 changed files with 7 additions and 10 deletions

View File

@ -35,13 +35,14 @@ public:
~WASAPIStream();
bool Init() override;
bool SetRunning(bool running) override;
void SoundLoop() override;
static bool isValid();
static std::vector<std::string> GetAvailableDevices();
static Microsoft::WRL::ComPtr<IMMDevice> GetDeviceByName(std::string_view name);
private:
void SoundLoop();
u32 m_frames_in_buffer = 0;
std::atomic<bool> m_running = false;
std::thread m_thread;