diff options
Diffstat (limited to 'platform/iphone/audio_driver_iphone.h')
-rw-r--r-- | platform/iphone/audio_driver_iphone.h | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/platform/iphone/audio_driver_iphone.h b/platform/iphone/audio_driver_iphone.h index 4c0cbfcb22..8a0d92e070 100644 --- a/platform/iphone/audio_driver_iphone.h +++ b/platform/iphone/audio_driver_iphone.h @@ -38,19 +38,17 @@ class AudioDriverIphone : 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 "IPhone"; }; @@ -65,4 +63,3 @@ public: AudioDriverIphone(); ~AudioDriverIphone(); }; - |