fix for godisgovernment's fix (r2028) (don't upload files you didn't create by guessing, but you were close :) )

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2030 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
XTra.KrazzY 2009-01-29 06:53:31 +00:00
parent b4158a28ee
commit b89b51c059
1 changed files with 11 additions and 3 deletions

View File

@ -17,14 +17,22 @@
#ifndef __NULLSOUNDSTREAM_H__
#define __NULLSOUNDSTREAM_H__
#include "SoundStream.h"
class NullSound : public SoundStream
{
{
public:
NullSound(int _sampleRate, StreamCallback _callback) :
SoundStream(_sampleRate, _callback) {}
virtual ~NullSound() {}
NullSound(int _sampleRate, StreamCallback _callback, void *hWnd = NULL) :
SoundStream(_sampleRate, _callback) {}
virtual bool isValid() {
return true;
}
virtual bool Start() { return true; }
};
#endif //__NULLSOUNDSTREAM_H__