1 /* -*- Mode: C ; c-basic-offset: 2 -*- */
2 /*****************************************************************************
4 * Copyright (C) 2009 Nedko Arnaudov <nedko@arnaudov.name>
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
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.
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.
19 *****************************************************************************/
21 #ifndef AD_NOTE_H__INCLUDED
22 #define AD_NOTE_H__INCLUDED
24 typedef void * zyn_addnote_handle
;
28 struct zyn_addsynth
* synth_ptr
,
29 zyn_addnote_handle
* handle_ptr
);
33 zyn_addnote_handle handle
);
37 zyn_addnote_handle handle
,
45 /* returns true if note is still active and false otherwise */
48 zyn_addnote_handle handle
,
54 zyn_addnote_handle handle
);
57 zyn_addnote_force_disable(
58 zyn_addnote_handle handle
);
60 #endif /* #ifndef AD_NOTE_H__INCLUDED */