mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-14 00:09:24 +01:00
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__
|
#ifndef __NULLSOUNDSTREAM_H__
|
||||||
#define __NULLSOUNDSTREAM_H__
|
#define __NULLSOUNDSTREAM_H__
|
||||||
|
|
||||||
#include "SoundStream.h"
|
#include "SoundStream.h"
|
||||||
|
|
||||||
class NullSound : public SoundStream
|
class NullSound : public SoundStream
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
NullSound(int _sampleRate, StreamCallback _callback) :
|
||||||
|
SoundStream(_sampleRate, _callback) {}
|
||||||
|
|
||||||
|
virtual ~NullSound() {}
|
||||||
|
|
||||||
NullSound(int _sampleRate, StreamCallback _callback, void *hWnd = NULL) :
|
virtual bool isValid() {
|
||||||
SoundStream(_sampleRate, _callback) {}
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
virtual bool Start() { return true; }
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif //__NULLSOUNDSTREAM_H__
|
#endif //__NULLSOUNDSTREAM_H__
|
||||||
|
Loading…
x
Reference in New Issue
Block a user