structs.h (1032B)
1 /* 2 3 TiMidity -- Experimental MIDI to WAVE converter 4 Copyright (C) 1995 Tuukka Toivonen <toivonen@clinet.fi> 5 6 In case you haven't heard, this program is free software; 7 you can redistribute it and/or modify it under the terms of the 8 GNU General Public License as published by the Free Software 9 Foundation; either version 2 of the License, or (at your option) 10 any later version. 11 12 This program is distributed in the hope that it will be useful, 13 but WITHOUT ANY WARRANTY; without even the implied warranty of 14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 GNU General Public License for more details. 16 17 You should have received a copy of the GNU General Public License 18 along with this program; if not, write to the Free Software 19 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 20 21 structs.h 22 23 */ 24 #ifndef TIMIDITY_STRUCTS_H 25 #define TIMIDITY_STRUCTS_H 26 27 #include <stdint.h> 28 29 typedef struct { 30 int32_t time; 31 uint8_t channel, type, a, b; 32 } MidiEvent; 33 34 struct _MidiSong { 35 int32_t samples; 36 MidiEvent *events; 37 }; 38 39 40 #endif