mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-23 10:50:01 +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
|
@ -51,15 +51,15 @@ private:
|
|||
static void* PXAudio2Create;
|
||||
|
||||
static bool InitLibrary();
|
||||
void Stop();
|
||||
|
||||
public:
|
||||
XAudio2();
|
||||
virtual ~XAudio2();
|
||||
~XAudio2() 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