forked from Sample-Hold/SimpleEmptyAudioEffect
-
Notifications
You must be signed in to change notification settings - Fork 0
/
MyTestedPlugin.cpp
40 lines (30 loc) · 917 Bytes
/
MyTestedPlugin.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
//
// MyTestedPlugin.cpp
// MyTestedPlugin
//
// Created by Fred G on 24/11/11.
// Copyright (c) 2011 __MyCompanyName__. All rights reserved.
//
#include "MyTestedPlugin.h"
MyTestedPluginKernel::MyTestedPluginKernel(AUEffectBase * inAudioUnit ) : AUKernelBase(inAudioUnit)
{
}
void MyTestedPluginKernel::Process(Float32 const* inSourceP,
Float32 * inDestP,
UInt32 inFramesToProcess,
UInt32 inNumChannels,
bool & ioSilence)
{
//This code will pass-thru the audio data.
//This is usually where you want to process data to produce an effect.
}
MyTestedPlugin::MyTestedPlugin(AudioUnit component) : AUEffectBase(component)
{
}
OSStatus MyTestedPlugin::Initialize()
{
OSStatus result = AUEffectBase::Initialize();
if(result == noErr ) {
}
return result;
}