Mercurial > mplayer.hg
comparison libao2/pl_resample.c @ 8123:9fc45fe0d444
*HUGE* set of compiler warning fixes, unused variables removal
based on patch by Dominik Mierzejewski <dominik@rangers.eu.org>
author | arpi |
---|---|
date | Wed, 06 Nov 2002 23:54:29 +0000 |
parents | c4434bdf6e51 |
children | fb88ccbc5ccc |
comparison
equal
deleted
inserted
replaced
8122:272b1fda7287 | 8123:9fc45fe0d444 |
---|---|
158 | 158 |
159 // empty buffers | 159 // empty buffers |
160 static void reset(){ | 160 static void reset(){ |
161 } | 161 } |
162 | 162 |
163 /* forward declarations */ | |
164 int upsample(); | |
165 int downsample(); | |
166 | |
163 // processes 'ao_plugin_data.len' bytes of 'data' | 167 // processes 'ao_plugin_data.len' bytes of 'data' |
164 // called for every block of data | 168 // called for every block of data |
165 // FIXME: this routine needs to be optimized (it is probably possible to do a lot here) | 169 // FIXME: this routine needs to be optimized (it is probably possible to do a lot here) |
166 static int play(){ | 170 static int play(){ |
167 if(pl_resample.up==pl_resample.dn){ | 171 if(pl_resample.up==pl_resample.dn){ |