iPlug2 - C++ Audio Plug-in Framework
Loading...
Searching...
No Matches
IPlugAUPlayer.h
1 /*
2 ==============================================================================
3
4 This file is part of the iPlug 2 library. Copyright (C) the iPlug 2 developers.
5
6 See LICENSE.txt for more info.
7
8 ==============================================================================
9*/
10
11#pragma once
12
13#import <AVFoundation/AVFoundation.h>
14
15@interface IPlugAUPlayer : NSObject
16
17@property (assign) AUAudioUnit* currentAudioUnit;
18
19- (instancetype) initWithComponentType:(UInt32) unitComponentType;
20
21- (void) loadAudioUnitWithComponentDescription:(AudioComponentDescription) desc completion:(void (^) (void)) completionBlock;
22@end