mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 13:49:53 -06: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:
@ -23,8 +23,7 @@
|
||||
class NullSound : public SoundStream
|
||||
{
|
||||
public:
|
||||
NullSound(int _sampleRate, StreamCallback _callback) :
|
||||
SoundStream(_sampleRate, _callback) {}
|
||||
NullSound(CMixer *mixer) : SoundStream(mixer) {}
|
||||
|
||||
virtual ~NullSound() {}
|
||||
|
||||
@ -35,7 +34,8 @@ public:
|
||||
virtual bool Start() { return true; }
|
||||
|
||||
virtual void Update() {
|
||||
(*callback)(NULL, 256 >> 2, 16, sampleRate, 2);
|
||||
m_mixer->Mix(NULL, 256 >> 2);
|
||||
//(*callback)(NULL, 256 >> 2, 16, sampleRate, 2);
|
||||
}
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user