diff options
author | Monty <xiphmont@xiph.org> | 2000-06-14 01:38:32 +0000 |
---|---|---|
committer | Monty <xiphmont@xiph.org> | 2000-06-14 01:38:32 +0000 |
commit | 67f833635368a912b53f68ec55840e4f7cdd69c5 (patch) | |
tree | 620cb6dce2e9d85329225086b5404dd27c715d35 /lib/lpc.c | |
parent | 0f9673112618308d12fef7d42a9ee608c177d1ce (diff) | |
download | libvorbis-git-67f833635368a912b53f68ec55840e4f7cdd69c5.tar.gz |
Merge of the current Monty branch; this brings in new psychoacoustic
fixes, better LSP fit and better tuning.
svn path=/trunk/vorbis/; revision=445
Diffstat (limited to 'lib/lpc.c')
-rw-r--r-- | lib/lpc.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -12,7 +12,7 @@ ******************************************************************** function: LPC low level routines - last mod: $Id: lpc.c,v 1.20 2000/05/08 20:49:49 xiphmont Exp $ + last mod: $Id: lpc.c,v 1.21 2000/06/14 01:38:31 xiphmont Exp $ ********************************************************************/ @@ -127,6 +127,7 @@ double vorbis_lpc_from_curve(double *curve,double *lpc,lpc_lookup *l){ work[i*2]=curve[i]*fscale; work[i*2+1]=0; } + work[n*2-1]=curve[n-1]*fscale; n*=2; drft_backward(&l->fft,work); |