diff options
author | Hanspeter Portner <dev@open-music-kontrollers.ch> | 2015-02-25 15:08:16 +0100 |
---|---|---|
committer | Hanspeter Portner <dev@open-music-kontrollers.ch> | 2015-02-25 15:08:16 +0100 |
commit | e361a4e559738724a35312469c64116441562daf (patch) | |
tree | 2257d5081ce9a26d01ba69b5ad6675cc1ce2f083 /sherlock.c | |
download | sherlock.lv2-e361a4e559738724a35312469c64116441562daf.tar.xz |
initial commit
Diffstat (limited to 'sherlock.c')
-rw-r--r-- | sherlock.c | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/sherlock.c b/sherlock.c new file mode 100644 index 0000000..b1e0636 --- /dev/null +++ b/sherlock.c @@ -0,0 +1,30 @@ +/* + * Copyright (c) 2015 Hanspeter Portner (dev@open-music-kontrollers.ch) + * + * This is free software: you can redistribute it and/or modify + * it under the terms of the Artistic License 2.0 as published by + * The Perl Foundation. + * + * This source is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * Artistic License 2.0 for more details. + * + * You should have received a copy of the Artistic License 2.0 + * along the source as a COPYING file. If not, obtain it from + * http://www.perlfoundation.org/artistic_license_2_0. + */ + +#include <sherlock.h> + +LV2_SYMBOL_EXPORT const LV2_Descriptor* +lv2_descriptor(uint32_t index) +{ + switch(index) + { + case 0: + return &atom; + default: + return NULL; + } +} |