Fix compile error when sound support is disabled.

This commit is contained in:
Stephen Anthony 2018-07-20 09:04:21 -02:30
parent 949964bdf6
commit a20bb6e95d
1 changed files with 10 additions and 0 deletions

View File

@ -74,6 +74,16 @@ class SoundNull : public Sound
*/
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.
*/