Fixed stop of DSP HLE+LLE and some clean up(reset all variables in DSound creation)

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2760 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
nakeee
2009-03-27 11:06:52 +00:00
parent b5b42746ed
commit bffe311b3e
6 changed files with 117 additions and 103 deletions

View File

@ -64,9 +64,10 @@ class DSound : public SoundStream
DWORD dwSoundBytes);
public:
DSound(CMixer *mixer, void *hWnd = NULL) : SoundStream(mixer) {}
DSound(CMixer *mixer) : SoundStream(mixer) {}
DSound(CMixer *mixer, void *hWnd = NULL) : SoundStream(mixer),
bufferSize(0),
totalRenderedBytes(0),
currentPos(0),lastPos(0) {}
virtual ~DSound() {}