mirror of
https://github.com/mpv-player/mpv
synced 2024-12-28 01:52:19 +00:00
Remove unused synth_1to1_mono()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23374 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
1c6ae61a3f
commit
6e13c348c3
@ -85,27 +85,6 @@
|
||||
|
||||
static int synth_1to1(real *bandPtr,int channel,unsigned char *out,int *pnt);
|
||||
|
||||
static int synth_1to1_mono(real *bandPtr,unsigned char *samples,int *pnt)
|
||||
{
|
||||
short samples_tmp[64];
|
||||
short *tmp1 = samples_tmp;
|
||||
int i,ret;
|
||||
int pnt1 = 0;
|
||||
|
||||
ret = synth_1to1(bandPtr,0,(unsigned char *) samples_tmp,&pnt1);
|
||||
samples += *pnt;
|
||||
|
||||
for(i=0;i<32;i++) {
|
||||
*( (short *) samples) = *tmp1;
|
||||
samples += 2;
|
||||
tmp1 += 2;
|
||||
}
|
||||
*pnt += 64;
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
||||
static int synth_1to1_mono2stereo(real *bandPtr,unsigned char *samples,int *pnt)
|
||||
{
|
||||
int i,ret;
|
||||
|
Loading…
Reference in New Issue
Block a user