| 1 | /* -*- Mode: C ; c-basic-offset: 2 -*- */ |
|---|
| 2 | /***************************************************************************** |
|---|
| 3 | * |
|---|
| 4 | * Copyright (C) 2006,2007,2008,2009 Nedko Arnaudov <nedko@arnaudov.name> |
|---|
| 5 | * |
|---|
| 6 | * This program is free software; you can redistribute it and/or modify |
|---|
| 7 | * it under the terms of the GNU General Public License as published by |
|---|
| 8 | * the Free Software Foundation; version 2 of the License |
|---|
| 9 | * |
|---|
| 10 | * This program is distributed in the hope that it will be useful, |
|---|
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|---|
| 13 | * GNU General Public License for more details. |
|---|
| 14 | * |
|---|
| 15 | * You should have received a copy of the GNU General Public License |
|---|
| 16 | * along with this program; if not, write to the Free Software |
|---|
| 17 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
|---|
| 18 | * |
|---|
| 19 | *****************************************************************************/ |
|---|
| 20 | |
|---|
| 21 | #ifndef LV2FILTER_H__6EC1E456_7DD7_4536_B8D3_F23BE4583A23__INCLUDED |
|---|
| 22 | #define LV2FILTER_H__6EC1E456_7DD7_4536_B8D3_F23BE4583A23__INCLUDED |
|---|
| 23 | |
|---|
| 24 | #define LV2FILTER_MONO_URI "http://nedko.aranaudov.org/soft/filter/2/mono" |
|---|
| 25 | #define LV2FILTER_STEREO_URI "http://nedko.aranaudov.org/soft/filter/2/stereo" |
|---|
| 26 | |
|---|
| 27 | LV2_Handle |
|---|
| 28 | lv2filter_instantiate( |
|---|
| 29 | const LV2_Descriptor * descriptor, |
|---|
| 30 | double sample_rate, |
|---|
| 31 | const char * bundle_path, |
|---|
| 32 | const LV2_Feature * const * features); |
|---|
| 33 | |
|---|
| 34 | void |
|---|
| 35 | lv2filter_connect_port( |
|---|
| 36 | LV2_Handle instance, |
|---|
| 37 | uint32_t port, |
|---|
| 38 | void * data_location); |
|---|
| 39 | |
|---|
| 40 | void |
|---|
| 41 | lv2filter_run( |
|---|
| 42 | LV2_Handle instance, |
|---|
| 43 | uint32_t samples_count); |
|---|
| 44 | |
|---|
| 45 | void |
|---|
| 46 | lv2filter_cleanup( |
|---|
| 47 | LV2_Handle instance); |
|---|
| 48 | |
|---|
| 49 | const void * |
|---|
| 50 | lv2filter_extension_data( |
|---|
| 51 | const char * URI); |
|---|
| 52 | |
|---|
| 53 | #endif /* #ifndef LV2FILTER_H__6EC1E456_7DD7_4536_B8D3_F23BE4583A23__INCLUDED */ |
|---|