Debian Codegraph @

audience~.h

raw symbols SCIP
1 /* Copyright (c) 2002 Yves Degoyon
2 * For information on usage and redistribution, and for a DISCLAIMER OF ALL
3 * WARRANTIES, see the file, "LICENSE.txt," in this distribution. */
4
5 /* a header for 2d_space which enables to spatialize
6 * several sound inputs with the mouse
7 */
8
9 #ifndef __G_2D_SPACE_H
10 #define __G_2D_SPACE_H
11
12 #define AUDIENCE_NONE 0
13 #define AUDIENCE_INPUT 1
14 #define AUDIENCE_OUTPUT 2
15
16 typedef struct _audience_tilde
17 {
18 t_object x_obj;
19 t_glist *x_glist;
20 t_int x_nbinputs;
21 t_int x_nboutputs;
22 t_int *x_inputs_x;
23 t_int *x_inputs_y;
24 t_int *x_outputs_x;
25 t_int *x_outputs_y;
26 t_inlet **x_inputs;
27 t_outlet **x_outputs;
28 t_int x_allocate; /* indicates that audio buffer is */
29 /* beeing reallocated */
30 t_int x_audiobuffersize; /* audio buffer size */
31 t_int x_audiowritepos; /* audio writing position */
32 t_float **x_audiobuffer; /* audio buffer */
33 t_int x_type_selected; /* type of selected object */
34 /* e.g. inpout or output or none */
35 t_int x_nselected; /* index of item selected */
36 t_int x_height; /* height of the 2d_space object */
37 t_int x_width; /* width of the 2d_space object */
38 t_int x_selected; /* stores selected state */
39 t_float x_attenuation; /* sound attenuation per meter */
40 t_int x_applydelay; /* optional delay due to the distance */
41 t_float x_f; /* classical float for signal input */
42 } t_audience_tilde;
43
44 #endif