summaryrefslogtreecommitdiff
path: root/drivers/dummy/audio_driver_dummy.h
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2018-02-25 00:23:52 +0100
committerGitHub <noreply@github.com>2018-02-25 00:23:52 +0100
commit6f322b2aec8cdf80aa8c5420a7f784e52cdffd3e (patch)
tree78d8488d3383eb1238d40962c73bb5d2ccd28d45 /drivers/dummy/audio_driver_dummy.h
parent3647ebc8341ea22dce07d7eb5e47ece8d29c5565 (diff)
parente3c2778d7ecf84d362bae74b93572e7775171cad (diff)
Merge pull request #16993 from bruvzg/fix-missing-returns
Add missing return statements (iOS and server).
Diffstat (limited to 'drivers/dummy/audio_driver_dummy.h')
-rw-r--r--drivers/dummy/audio_driver_dummy.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/dummy/audio_driver_dummy.h b/drivers/dummy/audio_driver_dummy.h
index c3d8e10767..b3f0fcee07 100644
--- a/drivers/dummy/audio_driver_dummy.h
+++ b/drivers/dummy/audio_driver_dummy.h
@@ -43,13 +43,13 @@ public:
virtual Error init() { return OK; }
virtual void start(){};
- virtual int get_mix_rate() const {};
- virtual SpeakerMode get_speaker_mode() const {};
+ virtual int get_mix_rate() const { return DEFAULT_MIX_RATE; };
+ virtual SpeakerMode get_speaker_mode() const { return SPEAKER_MODE_STEREO; };
virtual void lock(){};
virtual void unlock(){};
virtual void finish(){};
- virtual float get_latency(){};
+ virtual float get_latency() { return 0; };
AudioDriverDummy(){};
~AudioDriverDummy(){};