annotate libaf/af_pan.c @ 36214:fc128e175f72

Fully uninitialize EGL. Unfortunately that doesn't seem to help against the insane number of memory leaks reported inside MESA EGL by valgrind.
author reimar
date Sun, 09 Jun 2013 10:13:08 +0000
parents a93891202051
children 2b9bc3c2933d
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
28229
72d0b1444141 Replace informal license notices by standard license header
diego
parents: 24888
diff changeset
1 /*
72d0b1444141 Replace informal license notices by standard license header
diego
parents: 24888
diff changeset
2 * Copyright (C) 2002 Anders Johansson ajh@atri.curtin.edu.au
72d0b1444141 Replace informal license notices by standard license header
diego
parents: 24888
diff changeset
3 *
72d0b1444141 Replace informal license notices by standard license header
diego
parents: 24888
diff changeset
4 * This file is part of MPlayer.
72d0b1444141 Replace informal license notices by standard license header
diego
parents: 24888
diff changeset
5 *
72d0b1444141 Replace informal license notices by standard license header
diego
parents: 24888
diff changeset
6 * MPlayer is free software; you can redistribute it and/or modify
72d0b1444141 Replace informal license notices by standard license header
diego
parents: 24888
diff changeset
7 * it under the terms of the GNU General Public License as published by
72d0b1444141 Replace informal license notices by standard license header
diego
parents: 24888
diff changeset
8 * the Free Software Foundation; either version 2 of the License, or
72d0b1444141 Replace informal license notices by standard license header
diego
parents: 24888
diff changeset
9 * (at your option) any later version.
72d0b1444141 Replace informal license notices by standard license header
diego
parents: 24888
diff changeset
10 *
72d0b1444141 Replace informal license notices by standard license header
diego
parents: 24888
diff changeset
11 * MPlayer is distributed in the hope that it will be useful,
72d0b1444141 Replace informal license notices by standard license header
diego
parents: 24888
diff changeset
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
72d0b1444141 Replace informal license notices by standard license header
diego
parents: 24888
diff changeset
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
72d0b1444141 Replace informal license notices by standard license header
diego
parents: 24888
diff changeset
14 * GNU General Public License for more details.
72d0b1444141 Replace informal license notices by standard license header
diego
parents: 24888
diff changeset
15 *
72d0b1444141 Replace informal license notices by standard license header
diego
parents: 24888
diff changeset
16 * You should have received a copy of the GNU General Public License along
72d0b1444141 Replace informal license notices by standard license header
diego
parents: 24888
diff changeset
17 * with MPlayer; if not, write to the Free Software Foundation, Inc.,
72d0b1444141 Replace informal license notices by standard license header
diego
parents: 24888
diff changeset
18 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
72d0b1444141 Replace informal license notices by standard license header
diego
parents: 24888
diff changeset
19 */
8607
d6f40a06867b Changes includes:
anders
parents:
diff changeset
20
d6f40a06867b Changes includes:
anders
parents:
diff changeset
21 #include <stdio.h>
d6f40a06867b Changes includes:
anders
parents:
diff changeset
22 #include <stdlib.h>
d6f40a06867b Changes includes:
anders
parents:
diff changeset
23
d6f40a06867b Changes includes:
anders
parents:
diff changeset
24 #include <inttypes.h>
d6f40a06867b Changes includes:
anders
parents:
diff changeset
25 #include <math.h>
d6f40a06867b Changes includes:
anders
parents:
diff changeset
26 #include <limits.h>
d6f40a06867b Changes includes:
anders
parents:
diff changeset
27
34174
a93891202051 Add missing mp_msg.h #includes, remove some unnecessary ones.
diego
parents: 32537
diff changeset
28 #include "mp_msg.h"
8607
d6f40a06867b Changes includes:
anders
parents:
diff changeset
29 #include "af.h"
d6f40a06867b Changes includes:
anders
parents:
diff changeset
30
d6f40a06867b Changes includes:
anders
parents:
diff changeset
31 // Data for specific instances of this filter
d6f40a06867b Changes includes:
anders
parents:
diff changeset
32 typedef struct af_pan_s
d6f40a06867b Changes includes:
anders
parents:
diff changeset
33 {
23532
a1eb547cf52e Avoid zero output for pan filter; zero output now means same # of channels
zuxy
parents: 23531
diff changeset
34 int nch; // Number of output channels; zero means same as input
8607
d6f40a06867b Changes includes:
anders
parents:
diff changeset
35 float level[AF_NCH][AF_NCH]; // Gain level for each channel
d6f40a06867b Changes includes:
anders
parents:
diff changeset
36 }af_pan_t;
d6f40a06867b Changes includes:
anders
parents:
diff changeset
37
d6f40a06867b Changes includes:
anders
parents:
diff changeset
38 // Initialization and runtime control
d6f40a06867b Changes includes:
anders
parents:
diff changeset
39 static int control(struct af_instance_s* af, int cmd, void* arg)
d6f40a06867b Changes includes:
anders
parents:
diff changeset
40 {
29263
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 29049
diff changeset
41 af_pan_t* s = af->setup;
8607
d6f40a06867b Changes includes:
anders
parents:
diff changeset
42
d6f40a06867b Changes includes:
anders
parents:
diff changeset
43 switch(cmd){
d6f40a06867b Changes includes:
anders
parents:
diff changeset
44 case AF_CONTROL_REINIT:
d6f40a06867b Changes includes:
anders
parents:
diff changeset
45 // Sanity check
d6f40a06867b Changes includes:
anders
parents:
diff changeset
46 if(!arg) return AF_ERROR;
d6f40a06867b Changes includes:
anders
parents:
diff changeset
47
d6f40a06867b Changes includes:
anders
parents:
diff changeset
48 af->data->rate = ((af_data_t*)arg)->rate;
14245
815f03b7cee5 removing AFMT_ dependancy
alex
parents: 13602
diff changeset
49 af->data->format = AF_FORMAT_FLOAT_NE;
8607
d6f40a06867b Changes includes:
anders
parents:
diff changeset
50 af->data->bps = 4;
23532
a1eb547cf52e Avoid zero output for pan filter; zero output now means same # of channels
zuxy
parents: 23531
diff changeset
51 af->data->nch = s->nch ? s->nch: ((af_data_t*)arg)->nch;
24888
b2402b4f0afa libaf: change filter input/output ratio calculations
uau
parents: 23551
diff changeset
52 af->mul = (double)af->data->nch / ((af_data_t*)arg)->nch;
8607
d6f40a06867b Changes includes:
anders
parents:
diff changeset
53
29263
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 29049
diff changeset
54 if((af->data->format != ((af_data_t*)arg)->format) ||
8607
d6f40a06867b Changes includes:
anders
parents:
diff changeset
55 (af->data->bps != ((af_data_t*)arg)->bps)){
d6f40a06867b Changes includes:
anders
parents:
diff changeset
56 ((af_data_t*)arg)->format = af->data->format;
d6f40a06867b Changes includes:
anders
parents:
diff changeset
57 ((af_data_t*)arg)->bps = af->data->bps;
d6f40a06867b Changes includes:
anders
parents:
diff changeset
58 return AF_FALSE;
d6f40a06867b Changes includes:
anders
parents:
diff changeset
59 }
23532
a1eb547cf52e Avoid zero output for pan filter; zero output now means same # of channels
zuxy
parents: 23531
diff changeset
60 return AF_OK;
8607
d6f40a06867b Changes includes:
anders
parents:
diff changeset
61 case AF_CONTROL_COMMAND_LINE:{
d6f40a06867b Changes includes:
anders
parents:
diff changeset
62 int nch = 0;
d6f40a06867b Changes includes:
anders
parents:
diff changeset
63 int n = 0;
d6f40a06867b Changes includes:
anders
parents:
diff changeset
64 char* cp = NULL;
d6f40a06867b Changes includes:
anders
parents:
diff changeset
65 int j,k;
d6f40a06867b Changes includes:
anders
parents:
diff changeset
66 // Read number of outputs
d6f40a06867b Changes includes:
anders
parents:
diff changeset
67 sscanf((char*)arg,"%i%n", &nch,&n);
d6f40a06867b Changes includes:
anders
parents:
diff changeset
68 if(AF_OK != control(af,AF_CONTROL_PAN_NOUT | AF_CONTROL_SET, &nch))
d6f40a06867b Changes includes:
anders
parents:
diff changeset
69 return AF_ERROR;
d6f40a06867b Changes includes:
anders
parents:
diff changeset
70
d6f40a06867b Changes includes:
anders
parents:
diff changeset
71 // Read pan values
d6f40a06867b Changes includes:
anders
parents:
diff changeset
72 cp = &((char*)arg)[n];
d6f40a06867b Changes includes:
anders
parents:
diff changeset
73 j = 0; k = 0;
d6f40a06867b Changes includes:
anders
parents:
diff changeset
74 while((*cp == ':') && (k < AF_NCH)){
16493
851d10933f27 Fix af_pan commandline mess and (hopefully) improve description.
reimar
parents: 14433
diff changeset
75 sscanf(cp, ":%f%n" , &s->level[j][k], &n);
29263
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 29049
diff changeset
76 mp_msg(MSGT_AFILTER, MSGL_V, "[pan] Pan level from channel %i to"
16493
851d10933f27 Fix af_pan commandline mess and (hopefully) improve description.
reimar
parents: 14433
diff changeset
77 " channel %i = %f\n",k,j,s->level[j][k]);
8607
d6f40a06867b Changes includes:
anders
parents:
diff changeset
78 cp =&cp[n];
d6f40a06867b Changes includes:
anders
parents:
diff changeset
79 j++;
d6f40a06867b Changes includes:
anders
parents:
diff changeset
80 if(j>=nch){
29263
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 29049
diff changeset
81 j = 0;
8607
d6f40a06867b Changes includes:
anders
parents:
diff changeset
82 k++;
d6f40a06867b Changes includes:
anders
parents:
diff changeset
83 }
d6f40a06867b Changes includes:
anders
parents:
diff changeset
84 }
d6f40a06867b Changes includes:
anders
parents:
diff changeset
85 return AF_OK;
d6f40a06867b Changes includes:
anders
parents:
diff changeset
86 }
d6f40a06867b Changes includes:
anders
parents:
diff changeset
87 case AF_CONTROL_PAN_LEVEL | AF_CONTROL_SET:{
d6f40a06867b Changes includes:
anders
parents:
diff changeset
88 int i;
d6f40a06867b Changes includes:
anders
parents:
diff changeset
89 int ch = ((af_control_ext_t*)arg)->ch;
d6f40a06867b Changes includes:
anders
parents:
diff changeset
90 float* level = ((af_control_ext_t*)arg)->arg;
16493
851d10933f27 Fix af_pan commandline mess and (hopefully) improve description.
reimar
parents: 14433
diff changeset
91 if (ch >= AF_NCH)
851d10933f27 Fix af_pan commandline mess and (hopefully) improve description.
reimar
parents: 14433
diff changeset
92 return AF_FALSE;
8607
d6f40a06867b Changes includes:
anders
parents:
diff changeset
93 for(i=0;i<AF_NCH;i++)
16493
851d10933f27 Fix af_pan commandline mess and (hopefully) improve description.
reimar
parents: 14433
diff changeset
94 s->level[ch][i] = level[i];
8607
d6f40a06867b Changes includes:
anders
parents:
diff changeset
95 return AF_OK;
d6f40a06867b Changes includes:
anders
parents:
diff changeset
96 }
d6f40a06867b Changes includes:
anders
parents:
diff changeset
97 case AF_CONTROL_PAN_LEVEL | AF_CONTROL_GET:{
d6f40a06867b Changes includes:
anders
parents:
diff changeset
98 int i;
d6f40a06867b Changes includes:
anders
parents:
diff changeset
99 int ch = ((af_control_ext_t*)arg)->ch;
d6f40a06867b Changes includes:
anders
parents:
diff changeset
100 float* level = ((af_control_ext_t*)arg)->arg;
16493
851d10933f27 Fix af_pan commandline mess and (hopefully) improve description.
reimar
parents: 14433
diff changeset
101 if (ch >= AF_NCH)
851d10933f27 Fix af_pan commandline mess and (hopefully) improve description.
reimar
parents: 14433
diff changeset
102 return AF_FALSE;
8607
d6f40a06867b Changes includes:
anders
parents:
diff changeset
103 for(i=0;i<AF_NCH;i++)
d6f40a06867b Changes includes:
anders
parents:
diff changeset
104 level[i] = s->level[ch][i];
d6f40a06867b Changes includes:
anders
parents:
diff changeset
105 return AF_OK;
d6f40a06867b Changes includes:
anders
parents:
diff changeset
106 }
d6f40a06867b Changes includes:
anders
parents:
diff changeset
107 case AF_CONTROL_PAN_NOUT | AF_CONTROL_SET:
d6f40a06867b Changes includes:
anders
parents:
diff changeset
108 // Reinit must be called after this function has been called
d6f40a06867b Changes includes:
anders
parents:
diff changeset
109
d6f40a06867b Changes includes:
anders
parents:
diff changeset
110 // Sanity check
12008
8631b43c9d82 10l - replace 6 with AF_NCH
henry
parents: 8674
diff changeset
111 if(((int*)arg)[0] <= 0 || ((int*)arg)[0] > AF_NCH){
29263
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 29049
diff changeset
112 mp_msg(MSGT_AFILTER, MSGL_ERR, "[pan] The number of output channels must be"
8607
d6f40a06867b Changes includes:
anders
parents:
diff changeset
113 " between 1 and %i. Current value is %i\n",AF_NCH,((int*)arg)[0]);
d6f40a06867b Changes includes:
anders
parents:
diff changeset
114 return AF_ERROR;
d6f40a06867b Changes includes:
anders
parents:
diff changeset
115 }
23532
a1eb547cf52e Avoid zero output for pan filter; zero output now means same # of channels
zuxy
parents: 23531
diff changeset
116 s->nch=((int*)arg)[0];
8607
d6f40a06867b Changes includes:
anders
parents:
diff changeset
117 return AF_OK;
d6f40a06867b Changes includes:
anders
parents:
diff changeset
118 case AF_CONTROL_PAN_NOUT | AF_CONTROL_GET:
d6f40a06867b Changes includes:
anders
parents:
diff changeset
119 *(int*)arg = af->data->nch;
d6f40a06867b Changes includes:
anders
parents:
diff changeset
120 return AF_OK;
23551
63d9b7032bf3 Add AF_CONTROL_PAN_BALANCE control
zuxy
parents: 23533
diff changeset
121 case AF_CONTROL_PAN_BALANCE | AF_CONTROL_SET:{
63d9b7032bf3 Add AF_CONTROL_PAN_BALANCE control
zuxy
parents: 23533
diff changeset
122 float val = *(float*)arg;
63d9b7032bf3 Add AF_CONTROL_PAN_BALANCE control
zuxy
parents: 23533
diff changeset
123 if (s->nch)
63d9b7032bf3 Add AF_CONTROL_PAN_BALANCE control
zuxy
parents: 23533
diff changeset
124 return AF_ERROR;
63d9b7032bf3 Add AF_CONTROL_PAN_BALANCE control
zuxy
parents: 23533
diff changeset
125 if (af->data->nch >= 2) {
63d9b7032bf3 Add AF_CONTROL_PAN_BALANCE control
zuxy
parents: 23533
diff changeset
126 s->level[0][0] = min(1.f, 1.f - val);
63d9b7032bf3 Add AF_CONTROL_PAN_BALANCE control
zuxy
parents: 23533
diff changeset
127 s->level[0][1] = max(0.f, val);
63d9b7032bf3 Add AF_CONTROL_PAN_BALANCE control
zuxy
parents: 23533
diff changeset
128 s->level[1][0] = max(0.f, -val);
63d9b7032bf3 Add AF_CONTROL_PAN_BALANCE control
zuxy
parents: 23533
diff changeset
129 s->level[1][1] = min(1.f, 1.f + val);
63d9b7032bf3 Add AF_CONTROL_PAN_BALANCE control
zuxy
parents: 23533
diff changeset
130 }
63d9b7032bf3 Add AF_CONTROL_PAN_BALANCE control
zuxy
parents: 23533
diff changeset
131 return AF_OK;
63d9b7032bf3 Add AF_CONTROL_PAN_BALANCE control
zuxy
parents: 23533
diff changeset
132 }
63d9b7032bf3 Add AF_CONTROL_PAN_BALANCE control
zuxy
parents: 23533
diff changeset
133 case AF_CONTROL_PAN_BALANCE | AF_CONTROL_GET:
63d9b7032bf3 Add AF_CONTROL_PAN_BALANCE control
zuxy
parents: 23533
diff changeset
134 if (s->nch)
63d9b7032bf3 Add AF_CONTROL_PAN_BALANCE control
zuxy
parents: 23533
diff changeset
135 return AF_ERROR;
63d9b7032bf3 Add AF_CONTROL_PAN_BALANCE control
zuxy
parents: 23533
diff changeset
136 *(float*)arg = s->level[0][1] - s->level[1][0];
63d9b7032bf3 Add AF_CONTROL_PAN_BALANCE control
zuxy
parents: 23533
diff changeset
137 return AF_OK;
8607
d6f40a06867b Changes includes:
anders
parents:
diff changeset
138 }
d6f40a06867b Changes includes:
anders
parents:
diff changeset
139 return AF_UNKNOWN;
d6f40a06867b Changes includes:
anders
parents:
diff changeset
140 }
d6f40a06867b Changes includes:
anders
parents:
diff changeset
141
29263
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 29049
diff changeset
142 // Deallocate memory
8607
d6f40a06867b Changes includes:
anders
parents:
diff changeset
143 static void uninit(struct af_instance_s* af)
d6f40a06867b Changes includes:
anders
parents:
diff changeset
144 {
22175
105f32787336 Fix nonsense tests ("if (af->data->audio)" before "if (af->data)").
uau
parents: 16493
diff changeset
145 if(af->data)
8674
93212da0032e 10l memory leak + bug fixes in ms to sample time conversion
anders
parents: 8607
diff changeset
146 free(af->data->audio);
22175
105f32787336 Fix nonsense tests ("if (af->data->audio)" before "if (af->data)").
uau
parents: 16493
diff changeset
147 free(af->data);
32537
8fa2f43cb760 Remove most of the NULL pointer check before free all over the code
cboesch
parents: 29263
diff changeset
148 free(af->setup);
8607
d6f40a06867b Changes includes:
anders
parents:
diff changeset
149 }
d6f40a06867b Changes includes:
anders
parents:
diff changeset
150
d6f40a06867b Changes includes:
anders
parents:
diff changeset
151 // Filter data through filter
d6f40a06867b Changes includes:
anders
parents:
diff changeset
152 static af_data_t* play(struct af_instance_s* af, af_data_t* data)
d6f40a06867b Changes includes:
anders
parents:
diff changeset
153 {
d6f40a06867b Changes includes:
anders
parents:
diff changeset
154 af_data_t* c = data; // Current working data
d6f40a06867b Changes includes:
anders
parents:
diff changeset
155 af_data_t* l = af->data; // Local data
d6f40a06867b Changes includes:
anders
parents:
diff changeset
156 af_pan_t* s = af->setup; // Setup for this instance
d6f40a06867b Changes includes:
anders
parents:
diff changeset
157 float* in = c->audio; // Input audio data
d6f40a06867b Changes includes:
anders
parents:
diff changeset
158 float* out = NULL; // Output audio data
d6f40a06867b Changes includes:
anders
parents:
diff changeset
159 float* end = in+c->len/4; // End of loop
d6f40a06867b Changes includes:
anders
parents:
diff changeset
160 int nchi = c->nch; // Number of input channels
d6f40a06867b Changes includes:
anders
parents:
diff changeset
161 int ncho = l->nch; // Number of output channels
d6f40a06867b Changes includes:
anders
parents:
diff changeset
162 register int j,k;
d6f40a06867b Changes includes:
anders
parents:
diff changeset
163
d6f40a06867b Changes includes:
anders
parents:
diff changeset
164 if(AF_OK != RESIZE_LOCAL_BUFFER(af,data))
d6f40a06867b Changes includes:
anders
parents:
diff changeset
165 return NULL;
d6f40a06867b Changes includes:
anders
parents:
diff changeset
166
d6f40a06867b Changes includes:
anders
parents:
diff changeset
167 out = l->audio;
29263
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 29049
diff changeset
168 // Execute panning
8607
d6f40a06867b Changes includes:
anders
parents:
diff changeset
169 // FIXME: Too slow
d6f40a06867b Changes includes:
anders
parents:
diff changeset
170 while(in < end){
d6f40a06867b Changes includes:
anders
parents:
diff changeset
171 for(j=0;j<ncho;j++){
d6f40a06867b Changes includes:
anders
parents:
diff changeset
172 register float x = 0.0;
d6f40a06867b Changes includes:
anders
parents:
diff changeset
173 register float* tin = in;
d6f40a06867b Changes includes:
anders
parents:
diff changeset
174 for(k=0;k<nchi;k++)
d6f40a06867b Changes includes:
anders
parents:
diff changeset
175 x += tin[k] * s->level[j][k];
d6f40a06867b Changes includes:
anders
parents:
diff changeset
176 out[j] = x;
d6f40a06867b Changes includes:
anders
parents:
diff changeset
177 }
d6f40a06867b Changes includes:
anders
parents:
diff changeset
178 out+= ncho;
d6f40a06867b Changes includes:
anders
parents:
diff changeset
179 in+= nchi;
d6f40a06867b Changes includes:
anders
parents:
diff changeset
180 }
d6f40a06867b Changes includes:
anders
parents:
diff changeset
181
d6f40a06867b Changes includes:
anders
parents:
diff changeset
182 // Set output data
d6f40a06867b Changes includes:
anders
parents:
diff changeset
183 c->audio = l->audio;
24888
b2402b4f0afa libaf: change filter input/output ratio calculations
uau
parents: 23551
diff changeset
184 c->len = c->len / c->nch * l->nch;
8607
d6f40a06867b Changes includes:
anders
parents:
diff changeset
185 c->nch = l->nch;
d6f40a06867b Changes includes:
anders
parents:
diff changeset
186
d6f40a06867b Changes includes:
anders
parents:
diff changeset
187 return c;
d6f40a06867b Changes includes:
anders
parents:
diff changeset
188 }
d6f40a06867b Changes includes:
anders
parents:
diff changeset
189
d6f40a06867b Changes includes:
anders
parents:
diff changeset
190 // Allocate memory and set function pointers
22746
fd6f824ef894 Rename open to af_open so as not to conflict with a previous header definition.
diego
parents: 22175
diff changeset
191 static int af_open(af_instance_t* af){
8607
d6f40a06867b Changes includes:
anders
parents:
diff changeset
192 af->control=control;
d6f40a06867b Changes includes:
anders
parents:
diff changeset
193 af->uninit=uninit;
d6f40a06867b Changes includes:
anders
parents:
diff changeset
194 af->play=play;
24888
b2402b4f0afa libaf: change filter input/output ratio calculations
uau
parents: 23551
diff changeset
195 af->mul=1;
8607
d6f40a06867b Changes includes:
anders
parents:
diff changeset
196 af->data=calloc(1,sizeof(af_data_t));
d6f40a06867b Changes includes:
anders
parents:
diff changeset
197 af->setup=calloc(1,sizeof(af_pan_t));
d6f40a06867b Changes includes:
anders
parents:
diff changeset
198 if(af->data == NULL || af->setup == NULL)
d6f40a06867b Changes includes:
anders
parents:
diff changeset
199 return AF_ERROR;
d6f40a06867b Changes includes:
anders
parents:
diff changeset
200 return AF_OK;
d6f40a06867b Changes includes:
anders
parents:
diff changeset
201 }
d6f40a06867b Changes includes:
anders
parents:
diff changeset
202
d6f40a06867b Changes includes:
anders
parents:
diff changeset
203 // Description of this filter
d6f40a06867b Changes includes:
anders
parents:
diff changeset
204 af_info_t af_info_pan = {
d6f40a06867b Changes includes:
anders
parents:
diff changeset
205 "Panning audio filter",
d6f40a06867b Changes includes:
anders
parents:
diff changeset
206 "pan",
d6f40a06867b Changes includes:
anders
parents:
diff changeset
207 "Anders",
d6f40a06867b Changes includes:
anders
parents:
diff changeset
208 "",
23531
bd9e74cd4d3d Make pan reentrant. Multiple pans in chain work fine.
zuxy
parents: 22748
diff changeset
209 AF_FLAGS_REENTRANT,
22746
fd6f824ef894 Rename open to af_open so as not to conflict with a previous header definition.
diego
parents: 22175
diff changeset
210 af_open
8607
d6f40a06867b Changes includes:
anders
parents:
diff changeset
211 };