comparison projects/heavy/hello-world/HvContext_bbb.h @ 160:5bcf04234f80 heavy-updated

- added -std=c99 to Makefile for user-supplied C files (required for heavy files) - changed heavy core render.cpp file to use latest API and removed all redundant functions (e.g. foleyDesigner/touchkey stuff) - use build_pd.sh to compile and run pd files (-h for usage instructions)
author chnrx <chris.heinrichs@gmail.com>
date Thu, 05 Nov 2015 18:58:26 +0000
parents
children c3e8226a5651
comparison
equal deleted inserted replaced
159:1e7db6610600 160:5bcf04234f80
1
2 /**
3 * Copyright (c) 2014,2015 Enzien Audio, Ltd.
4 *
5 * Permission is hereby granted, free of charge, to any person obtaining a copy
6 * of this software and associated documentation files (the "Software"),
7 * to deal in the Software without restriction, including without limitation
8 * the rights to use, copy, modify, merge, publish, distribute, and/or
9 * sublicense copies of the Software, strictly on a non-commercial basis,
10 * and to permit persons to whom the Software is furnished to do so,
11 * subject to the following conditions:
12 *
13 * The above copyright notice and this permission notice shall be included in
14 * all copies or substantial portions of the Software.
15 *
16 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
22 * IN THE SOFTWARE.
23 *
24 * DO NOT MODIFY. THIS CODE IS MACHINE GENERATED BY THE SECTION6 HEAVY COMPILER.
25 */
26
27 #ifndef _HEAVYCONTEXT_BBB_H_
28 #define _HEAVYCONTEXT_BBB_H_
29
30 #include "HvBase.h"
31
32 #define Context(_x) ((Hv_bbb *) (_x))
33
34 // object includes
35 #include "SignalVar.h"
36 #include "SignalPhasor.h"
37 #include "HeavyMath.h"
38
39 typedef struct Hv_bbb {
40 HvBase base;
41
42 // objects
43 SignalPhasor sPhasor_O587H;
44 } Hv_bbb;
45
46 #endif // _HEAVYCONTEXT_BBB_H_