13 lines
366 B
Objective-C
13 lines
366 B
Objective-C
#import <Foundation/Foundation.h>
|
|
#import "CyclicalBuffer.h"
|
|
|
|
/**
|
|
*
|
|
* An AudioCallbackHandler is called when audio is played or recorded.
|
|
*
|
|
**/
|
|
@protocol AudioCallbackHandler <NSObject>
|
|
- (void)handleNewDataRecorded:(CyclicalBuffer *)data;
|
|
- (void)handlePlaybackOccurredWithBytesRequested:(NSUInteger)requested andBytesRemaining:(NSUInteger)bytesRemaining;
|
|
@end
|