AEAudioBufferManager.h
Go to the documentation of this file.
1 //
2 // AEAudioBufferManager.h
3 // TheAmazingAudioEngine
4 //
5 // Created by Michael Tyson on 30/11/2015.
6 // Copyright © 2015 A Tasty Pixel. All rights reserved.
7 //
8 
9 #import <Foundation/Foundation.h>
10 #import <AudioToolbox/AudioToolbox.h>
11 #import <pthread.h>
12 
22 @interface AEAudioBufferManager : NSObject
23 
29 - (instancetype)initWithBufferList:(AudioBufferList *)bufferList;
30 
36 AudioBufferList * AEAudioBufferManagerGetBuffer(__unsafe_unretained AEAudioBufferManager * buffer);
37 
46 pthread_rwlock_t * AEAudioBufferManagerGetLock(__unsafe_unretained AEAudioBufferManager * buffer);
47 
48 @end