mirror of https://github.com/stella-emu/stella.git
Fix compile error when sound support is disabled.
This commit is contained in:
parent
949964bdf6
commit
a20bb6e95d
|
@ -74,6 +74,16 @@ class SoundNull : public Sound
|
||||||
*/
|
*/
|
||||||
void mute(bool state) override { }
|
void mute(bool state) override { }
|
||||||
|
|
||||||
|
/**
|
||||||
|
Get the fragment size.
|
||||||
|
*/
|
||||||
|
uInt32 getFragmentSize() const override { return 512; }
|
||||||
|
|
||||||
|
/**
|
||||||
|
Get the sample rate.
|
||||||
|
*/
|
||||||
|
uInt32 getSampleRate() const override { return 31400; }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Reset the sound device.
|
Reset the sound device.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue