ape  0.5.0
Audio Programming Environment
CompilerBindings.h
Go to the documentation of this file.
1 /*************************************************************************************
2 
3  Audio Programming Environment - Audio Plugin - v. 0.4.0.
4 
5  Copyright (C) 2017 Janus Lynggaard Thorborg [LightBridge Studios]
6 
7  This program is free software: you can redistribute it and/or modify
8  it under the terms of the GNU General Public License as published by
9  the Free Software Foundation, either version 3 of the License, or
10  (at your option) any later version.
11 
12  This program is distributed in the hope that it will be useful,
13  but WITHOUT ANY WARRANTY; without even the implied warranty of
14  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  GNU General Public License for more details.
16 
17  You should have received a copy of the GNU General Public License
18  along with this program. If not, see <http://www.gnu.org/licenses/>.
19 
20  See \licenses\ for additional details on licenses associated with this program.
21 
22  **************************************************************************************
23 
24  file:CompilerBindings.h
25 
26  Exported C bindings that ape should be able to find.
27 
28 *************************************************************************************/
29 
30 #include "APE.h"
31 #include "Project.h"
32 
33 #ifdef __cplusplus
34 extern "C"
35 {
36 #endif
41  EXPORTED APE_Status APE_API DisableProject(APE_Project * p, int misbehaved);
42  EXPORTED APE_Status APE_API ProcessReplacing(APE_Project * p, const float * const * in, float * const * out, size_t sampleFrames);
43  EXPORTED APE_Status APE_API OnEvent(APE_Project * p, APE_Event * e);
45  // Guaranteed to never be called concurrently with any other command
46  EXPORTED APE_Status APE_API CleanCache();
47 
48 #ifdef __cplusplus
49 }
50 #endif
APE.h
APE_Project
Definition: Project.h:36
Project.h
CreateProject
EXPORTED APE_Status APE_API CreateProject(APE_Project *p)
DisableProject
EXPORTED APE_Status APE_API DisableProject(APE_Project *p, int misbehaved)
ReleaseProject
EXPORTED APE_Status APE_API ReleaseProject(APE_Project *p)
ActivateProject
EXPORTED APE_Status APE_API ActivateProject(APE_Project *p)
CleanCache
EXPORTED APE_Status APE_API CleanCache()
Definition: CppCompilerInterface.cpp:101
OnEvent
EXPORTED APE_Status APE_API OnEvent(APE_Project *p, APE_Event *e)
InitProject
EXPORTED APE_Status APE_API InitProject(APE_Project *p)
CompileProject
EXPORTED APE_Status APE_API CompileProject(APE_Project *p)
ProcessReplacing
EXPORTED APE_Status APE_API ProcessReplacing(APE_Project *p, const float *const *in, float *const *out, size_t sampleFrames)
APE_Event
Definition: Events.h:69
APE_Status
APE_Status
Definition: APE.h:64
APE_API
#define APE_API
Definition: APE.h:48