diff options
Diffstat (limited to 'platform/osx/audio_driver_osx.h')
-rw-r--r-- | platform/osx/audio_driver_osx.h | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/platform/osx/audio_driver_osx.h b/platform/osx/audio_driver_osx.h index 9e9bb63726..b030570a6e 100644 --- a/platform/osx/audio_driver_osx.h +++ b/platform/osx/audio_driver_osx.h @@ -42,19 +42,17 @@ class AudioDriverOSX : public AudioDriver { Mutex *mutex; int channels; - int32_t* samples_in; - int buffer_frames; + int32_t *samples_in; + int buffer_frames; static OSStatus output_callback(void *inRefCon, - AudioUnitRenderActionFlags * ioActionFlags, - const AudioTimeStamp * inTimeStamp, - UInt32 inBusNumber, UInt32 inNumberFrames, - AudioBufferList * ioData); - + AudioUnitRenderActionFlags *ioActionFlags, + const AudioTimeStamp *inTimeStamp, + UInt32 inBusNumber, UInt32 inNumberFrames, + AudioBufferList *ioData); public: - - const char* get_name() const { + const char *get_name() const { return "AudioUnit"; }; |