Mercurial > mplayer.hg
comparison libao2/pl_resample.c @ 7472:c4434bdf6e51
tons of warning fixes, also some 10l bugfixes, including Dominik's PVA bug
author | arpi |
---|---|
date | Sun, 22 Sep 2002 02:33:28 +0000 |
parents | c2bb05709676 |
children | 9fc45fe0d444 |
comparison
equal
deleted
inserted
replaced
7471:5e56ce70b551 | 7472:c4434bdf6e51 |
---|---|
170 while(in < end) *in=(*in++)>>1; | 170 while(in < end) *in=(*in++)>>1; |
171 return 1; | 171 return 1; |
172 } | 172 } |
173 if(pl_resample.up>pl_resample.dn) | 173 if(pl_resample.up>pl_resample.dn) |
174 return upsample(); | 174 return upsample(); |
175 if(pl_resample.up<pl_resample.dn) | 175 // if(pl_resample.up<pl_resample.dn) |
176 return downsample(); | 176 return downsample(); |
177 } | 177 } |
178 | 178 |
179 int upsample(){ | 179 int upsample(){ |
180 static uint16_t pwi = 0; // Index for w | 180 static uint16_t pwi = 0; // Index for w |