seqbind.h
上传用户:tjmskj2
上传日期:2020-08-17
资源大小:577k
文件大小:1k
- /* FluidSynth - A Software Synthesizer
- *
- * Copyright (C) 2003 Peter Hanappe and others.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public License
- * as published by the Free Software Foundation; either version 2 of
- * the License, or (at your option) any later version.
- *
- * This library 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 GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public
- * License along with this library; if not, write to the Free
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
- * 02111-1307, USA
- */
- #ifndef _FLUIDSYNTH_SEQBIND_H
- #define _FLUIDSYNTH_SEQBIND_H
- #include "fluidsynth/seq.h"
- #ifdef __cplusplus
- extern "C" {
- #endif
- /**
- * @file seqbind.h
- * @brief Functions for binding sequencer objects to other subsystems.
- */
- FLUIDSYNTH_API
- short fluid_sequencer_register_fluidsynth(fluid_sequencer_t* seq, fluid_synth_t* synth);
- FLUIDSYNTH_API int
- fluid_sequencer_add_midi_event_to_buffer(void* data, fluid_midi_event_t* event);
- #ifdef __cplusplus
- }
- #endif
- #endif /* _FLUIDSYNTH_SEQBIND_H */