Skip to content

Instantly share code, notes, and snippets.

@standinga
Created May 4, 2019 13:20
Show Gist options
  • Save standinga/610a9ff9e6f403d256dc706bf872d919 to your computer and use it in GitHub Desktop.
Save standinga/610a9ff9e6f403d256dc706bf872d919 to your computer and use it in GitHub Desktop.
VolumePluginAudioUnit properties for busses and instance variable for buffer
// Define parameter addresses.
const AudioUnitParameterID myParam1 = 0;
@interface VolumePluginAudioUnit ()
@property (nonatomic, readwrite) AUParameterTree *parameterTree;
@property AUAudioUnitBus *inputBus;
@property AUAudioUnitBus *outputBus;
@property AUAudioUnitBusArray *inputBusArray;
@property AUAudioUnitBusArray *outputBusArray;
@end
@implementation VolumePluginAudioUnit {
Buffer _buffer;
}
@synthesize parameterTree = _parameterTree;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment