naspro
view naspro-core/src/lv2api.c @ 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 | src/core/lv2api.c@cd3a8040fc02 |
| children | 4f7243a606b1 |
line source
1 /*
2 * NASPRO - NASPRO Architecture for Sound Processing
3 * Core library
4 *
5 * Copyright (C) 2007-2009 Stefano D'Angelo <zanga.mail@gmail.com>
6 *
7 * See the COPYING file for license conditions.
8 */
10 #include <NASPRO/core/lib.h>
12 void
13 nacore_lv2api_fill_desc(LV2_Descriptor *lv2_desc,
14 struct nacore_descriptor *n_desc)
15 {
16 lv2_desc->URI = n_desc->uri;
18 lv2_desc->instantiate = n_desc->instantiate;
19 lv2_desc->connect_port = n_desc->connect_port;
20 lv2_desc->activate = n_desc->activate;
21 lv2_desc->run = n_desc->run;
22 lv2_desc->deactivate = n_desc->deactivate;
23 lv2_desc->cleanup = n_desc->cleanup;
24 lv2_desc->extension_data = n_desc->extension_data;
25 }
