Add files via upload
[fluidsynth-winbin.git] / bin32 / fluidsynth-2.0.4 / usr / include / fluidsynth / types.h
blob47ef18336a89b48c93736085c3fed9ccedb4d2e3
1 /* FluidSynth - A Software Synthesizer
3 * Copyright (C) 2003 Peter Hanappe and others.
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public License
7 * as published by the Free Software Foundation; either version 2.1 of
8 * the License, or (at your option) any later version.
10 * This library is distributed in the hope that it will be useful, but
11 * WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library; if not, write to the Free
17 * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
18 * 02110-1301, USA
21 #ifndef _FLUIDSYNTH_TYPES_H
22 #define _FLUIDSYNTH_TYPES_H
26 #ifdef __cplusplus
27 extern "C" {
28 #endif
31 /**
32 * @file types.h
33 * @brief Type declarations
36 typedef struct _fluid_hashtable_t fluid_settings_t; /**< Configuration settings instance */
37 typedef struct _fluid_synth_t fluid_synth_t; /**< Synthesizer instance */
38 typedef struct _fluid_voice_t fluid_voice_t; /**< Synthesis voice instance */
39 typedef struct _fluid_sfloader_t fluid_sfloader_t; /**< SoundFont loader plugin */
40 typedef struct _fluid_sfont_t fluid_sfont_t; /**< SoundFont */
41 typedef struct _fluid_preset_t fluid_preset_t; /**< SoundFont preset */
42 typedef struct _fluid_sample_t fluid_sample_t; /**< SoundFont sample */
43 typedef struct _fluid_mod_t fluid_mod_t; /**< SoundFont modulator */
44 typedef struct _fluid_audio_driver_t fluid_audio_driver_t; /**< Audio driver instance */
45 typedef struct _fluid_file_renderer_t fluid_file_renderer_t; /**< Audio file renderer instance */
46 typedef struct _fluid_player_t fluid_player_t; /**< MIDI player instance */
47 typedef struct _fluid_midi_event_t fluid_midi_event_t; /**< MIDI event */
48 typedef struct _fluid_midi_driver_t fluid_midi_driver_t; /**< MIDI driver instance */
49 typedef struct _fluid_midi_router_t fluid_midi_router_t; /**< MIDI router instance */
50 typedef struct _fluid_midi_router_rule_t fluid_midi_router_rule_t; /**< MIDI router rule */
51 typedef struct _fluid_hashtable_t fluid_cmd_hash_t; /**< Command handler hash table */
52 typedef struct _fluid_shell_t fluid_shell_t; /**< Command shell */
53 typedef struct _fluid_server_t fluid_server_t; /**< TCP/IP shell server instance */
54 typedef struct _fluid_event_t fluid_event_t; /**< Sequencer event */
55 typedef struct _fluid_sequencer_t fluid_sequencer_t; /**< Sequencer instance */
56 typedef struct _fluid_ramsfont_t fluid_ramsfont_t; /**< RAM SoundFont */
57 typedef struct _fluid_rampreset_t fluid_rampreset_t; /**< RAM SoundFont preset */
58 typedef struct _fluid_cmd_handler_t fluid_cmd_handler_t; /**< Shell Command Handler */
59 typedef struct _fluid_ladspa_fx_t fluid_ladspa_fx_t; /**< LADSPA effects instance */
60 typedef struct _fluid_file_callbacks_t fluid_file_callbacks_t; /**< Callback struct to perform custom file loading of soundfonts */
62 typedef int fluid_istream_t; /**< Input stream descriptor */
63 typedef int fluid_ostream_t; /**< Output stream descriptor */
65 typedef short fluid_seq_id_t; /**< Unique client IDs used by the sequencer and #fluid_event_t, obtained by fluid_sequencer_register_client() and fluid_sequencer_register_fluidsynth() */
67 #ifdef __cplusplus
69 #endif
71 #endif /* _FLUIDSYNTH_TYPES_H */