diff options
author | BastiaanOlij <mux213@gmail.com> | 2017-01-16 20:32:44 +1100 |
---|---|---|
committer | BastiaanOlij <mux213@gmail.com> | 2017-01-16 20:32:44 +1100 |
commit | cef0ae5d5de496c26f441f55f22d5b32dc15f7b8 (patch) | |
tree | ef68872893aa8bd5a0bade9fa45cfecf2c6e0d52 /platform/osx/audio_driver_osx.h | |
parent | 2a0ddc1e89ec7b947152c8d0cb132d58f2c00a81 (diff) |
Fix compile errors related to audio on OSX
Diffstat (limited to 'platform/osx/audio_driver_osx.h')
-rw-r--r-- | platform/osx/audio_driver_osx.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/platform/osx/audio_driver_osx.h b/platform/osx/audio_driver_osx.h index 19b396de57..9e9bb63726 100644 --- a/platform/osx/audio_driver_osx.h +++ b/platform/osx/audio_driver_osx.h @@ -31,11 +31,11 @@ #ifndef AUDIO_DRIVER_OSX_H #define AUDIO_DRIVER_OSX_H -#include "servers/audio/audio_server_sw.h" +#include "servers/audio_server.h" #include <AudioUnit/AudioUnit.h> -class AudioDriverOSX : public AudioDriverSW { +class AudioDriverOSX : public AudioDriver { AudioComponentInstance audio_unit; bool active; @@ -61,7 +61,7 @@ public: virtual Error init(); virtual void start(); virtual int get_mix_rate() const; - virtual OutputFormat get_output_format() const; + virtual SpeakerMode get_speaker_mode() const; virtual void lock(); virtual void unlock(); virtual void finish(); |