Mercurial > hg > beaglert
comparison examples/basic_libpd/z_queued.h @ 338:1802f99cd77f prerelease
Initial support for thread-safe libpd (stil missing updated libpd binary), untested
author | Giulio Moro <giuliomoro@yahoo.it> |
---|---|
date | Sun, 05 Jun 2016 21:46:44 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
337:5e2780bfbfed | 338:1802f99cd77f |
---|---|
1 /* | |
2 * Copyright (c) 2012 Peter Brinkmann (peter.brinkmann@gmail.com) | |
3 * | |
4 * For information on usage and redistribution, and for a DISCLAIMER OF ALL | |
5 * WARRANTIES, see the file, "LICENSE.txt," in this distribution. | |
6 * | |
7 * See https://github.com/libpd/libpd/wiki for documentation | |
8 * | |
9 */ | |
10 | |
11 #ifndef __Z_QUEUED_H__ | |
12 #define __Z_QUEUED_H__ | |
13 | |
14 #include "z_libpd.h" | |
15 | |
16 #ifdef __cplusplus | |
17 extern "C" | |
18 { | |
19 #endif | |
20 | |
21 EXTERN void libpd_set_queued_printhook(const t_libpd_printhook hook); | |
22 EXTERN void libpd_set_queued_banghook(const t_libpd_banghook hook); | |
23 EXTERN void libpd_set_queued_floathook(const t_libpd_floathook hook); | |
24 EXTERN void libpd_set_queued_symbolhook(const t_libpd_symbolhook hook); | |
25 EXTERN void libpd_set_queued_listhook(const t_libpd_listhook hook); | |
26 EXTERN void libpd_set_queued_messagehook(const t_libpd_messagehook hook); | |
27 | |
28 EXTERN void libpd_set_queued_noteonhook(const t_libpd_noteonhook hook); | |
29 EXTERN void libpd_set_queued_controlchangehook(const t_libpd_controlchangehook hook); | |
30 EXTERN void libpd_set_queued_programchangehook(const t_libpd_programchangehook hook); | |
31 EXTERN void libpd_set_queued_pitchbendhook(const t_libpd_pitchbendhook hook); | |
32 EXTERN void libpd_set_queued_aftertouchhook(const t_libpd_aftertouchhook hook); | |
33 EXTERN void libpd_set_queued_polyaftertouchhook(const t_libpd_polyaftertouchhook hook); | |
34 EXTERN void libpd_set_queued_midibytehook(const t_libpd_midibytehook hook); | |
35 | |
36 int libpd_queued_init(); | |
37 void libpd_queued_release(); | |
38 void libpd_queued_receive_pd_messages(); | |
39 void libpd_queued_receive_midi_messages(); | |
40 | |
41 #ifdef __cplusplus | |
42 } | |
43 #endif | |
44 | |
45 #endif |