1 // Copyright 2017-present 650 Industries. All rights reserved. 2 3 #import <AVFoundation/AVFoundation.h> 4 5 #ifdef __cplusplus 6 #import <EXAV/AudioSampleCallbackWrapper.h> 7 #endif 8 9 // Objective-C holder for a C++ callback class 10 @interface EXAudioSampleCallback : NSObject 11 12 #ifdef __cplusplus 13 - (id)initWithCallbackWrapper:(std::unique_ptr<expo::av::AudioSampleCallbackWrapper>)wrapper; 14 #endif 15 16 - (void)callWithAudioBuffer:(AudioBuffer*)buffer andTimestamp:(double)timestamp; 17 @end 18 19