00001 /**************************************************************************** 00002 00003 lv2-midiport.h - header file for using MIDI in LV2 plugins 00004 00005 Copyright (C) 2006 Lars Luthman <lars.luthman@gmail.com> 00006 00007 This program is free software; you can redistribute it and/or modify 00008 it under the terms of the GNU Lesser General Public License as published by 00009 the Free Software Foundation; either version 2 of the License, or 00010 (at your option) any later version. 00011 00012 This program is distributed in the hope that it will be useful, 00013 but WITHOUT ANY WARRANTY; without even the implied warranty of 00014 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00015 GNU Lesser General Public License for more details. 00016 00017 You should have received a copy of the GNU Lesser General Public License 00018 along with this program; if not, write to the Free Software 00019 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 01222-1307 USA 00020 00021 ****************************************************************************/ 00022 00027 #ifndef LV2_MIDIPORT_H 00028 #define LV2_MIDIPORT_H 00029 00030 00089 typedef struct { 00090 00100 uint32_t event_count; 00101 00106 uint32_t capacity; 00107 00119 uint32_t size; 00120 00171 unsigned char* data; 00172 00173 } LV2_MIDI; 00174 00175 00176 00177 #endif