mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-01 13:48:56 +00:00
Attempt to move mixer to audio common, it's a bit more complicated than I expected
so please check I didn't break anything in hle git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2756 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
d7038fea17
commit
fff663e8c7
35 changed files with 386 additions and 619 deletions
|
@ -64,12 +64,10 @@ class DSound : public SoundStream
|
|||
DWORD dwSoundBytes);
|
||||
|
||||
public:
|
||||
DSound(int _sampleRate, StreamCallback _callback) :
|
||||
SoundStream(_sampleRate, _callback) {}
|
||||
|
||||
DSound(int _sampleRate, StreamCallback _callback, void *_hWnd) :
|
||||
SoundStream(_sampleRate, _callback), hWnd(_hWnd) {}
|
||||
|
||||
DSound(CMixer *mixer, void *hWnd = NULL) : SoundStream(mixer) {}
|
||||
|
||||
DSound(CMixer *mixer) : SoundStream(mixer) {}
|
||||
|
||||
virtual ~DSound() {}
|
||||
|
||||
virtual bool Start();
|
||||
|
@ -81,8 +79,8 @@ public:
|
|||
|
||||
#else
|
||||
public:
|
||||
DSound(int _sampleRate, StreamCallback _callback, void *hWnd = NULL) :
|
||||
SoundStream(_sampleRate, _callback) {}
|
||||
DSound(CMixer *mixer, void *hWnd = NULL) :
|
||||
SoundStream(mixer) {}
|
||||
#endif
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue