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:
parent
b4158a28ee
commit
b89b51c059
|
@ -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__
|
||||
|
|
Loading…
Reference in New Issue