naspro

view naspro-bridges-bad/dssi/lv2api.h @ 163:d7568c8379c1

Initiial DSSI support + reorganization
author Stefano D'Angelo <zanga.mail@gmail.com>
date Fri Sep 11 13:31:52 2009 +0200 (2009-09-11)
parents
children 4f7243a606b1
line source
1 /*
2 * NASPRO - NASPRO Architecture for Sound Processing
3 * DSSI bridge
4 *
5 * Copyright (C) 2007-2009 Stefano D'Angelo <zanga.mail@gmail.com>
6 *
7 * See the COPYING file for license conditions.
8 */
10 #ifndef _NADSSI_LV2API_H
11 #define _NADSSI_LV2API_H
13 #include <stdlib.h>
15 #include <lv2.h>
17 LV2_Handle _nadssi_lv2api_instantiate(const LV2_Descriptor *descriptor,
18 double sample_rate,
19 const char *bundle_path,
20 const LV2_Feature * const *features);
21 void _nadssi_lv2api_connect_port(LV2_Handle instance, uint32_t port,
22 void *data_location);
23 void _nadssi_lv2api_activate(LV2_Handle instance);
24 void _nadssi_lv2api_run(LV2_Handle instance, uint32_t sample_count);
25 void _nadssi_lv2api_deactivate(LV2_Handle instance);
26 void _nadssi_lv2api_cleanup(LV2_Handle instance);
28 int _nadssi_lv2api_generate_descs();
29 void _nadssi_lv2api_free_descs();
31 #endif /* !_NADSSI_LV2API_H */