mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-03 08:07:45 +00:00
SoundStream: change Start/Stop to Init/SetRunning/destruct
This commit is contained in:
parent
ad4a89d64b
commit
0baddbf9a8
18 changed files with 102 additions and 121 deletions
|
@ -56,15 +56,15 @@ private:
|
|||
static HMODULE m_xaudio2_dll;
|
||||
|
||||
static bool InitLibrary();
|
||||
void Stop();
|
||||
|
||||
public:
|
||||
XAudio2_7();
|
||||
virtual ~XAudio2_7();
|
||||
~XAudio2_7() override;
|
||||
|
||||
bool Start() override;
|
||||
void Stop() override;
|
||||
bool Init() override;
|
||||
|
||||
void SetRunning(bool running) override;
|
||||
bool SetRunning(bool running) override;
|
||||
void SetVolume(int volume) override;
|
||||
|
||||
static bool isValid() { return InitLibrary(); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue