diff options
author | Monty <xiphmont@xiph.org> | 2010-03-26 06:22:19 +0000 |
---|---|---|
committer | Monty <xiphmont@xiph.org> | 2010-03-26 06:22:19 +0000 |
commit | 14d1b5aa39d9cde8f37b7ad289917c0ea6fb929d (patch) | |
tree | dfe7dd3b4b3a88943ead29f9687611c35508c86a | |
parent | 90cb20ed01ad20e4fa9c8b75e5484f8f61e9d847 (diff) | |
download | libvorbis-git-14d1b5aa39d9cde8f37b7ad289917c0ea6fb929d.tar.gz |
Revert an element of noise norm to earlier behavior for testing.
svn path=/trunk/vorbis/; revision=17077
-rw-r--r-- | lib/psy.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -939,6 +939,9 @@ static float noise_normalize(vorbis_look_psy *p, int limit, float *r, float *q, int start = (vi->normal_p ? vi->normal_start-i : n); if(start>n)start=n; + /* force classic behavior where only energy in the current band is considered */ + acc=0.f; + /* still responsible for populating *out where noise norm not in effect. There's no need to [re]populate *q in these areas */ for(j=0;j<start;j++){ |