Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Xiph.Org
Speex
Commits
2b732e49
Commit
2b732e49
authored
Dec 23, 2009
by
slicer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove regressions (they were for the resampler)
parent
22b4c867
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
21 deletions
+0
-21
regression-fixes/1-resampler_unsigned_fix.patch
regression-fixes/1-resampler_unsigned_fix.patch
+0
-17
regressions
regressions
+0
-4
No files found.
regression-fixes/1-resampler_unsigned_fix.patch
deleted
100644 → 0
View file @
22b4c867
diff --git a/libspeex/resample.c b/libspeex/resample.c
index 4403f78..48ffcef 100644
--- a/libspeex/resample.c
+++ b/libspeex/resample.c
@@ -561,10 +561,10 @@
static void update_filter(SpeexResamplerState *st)
}
for (i=0;i<st->den_rate;i++)
{
- spx_uint32_t j;
+ spx_int32_t j;
for (j=0;j<st->filt_len;j++)
{
- st->sinc_table[i*st->filt_len+j] = sinc(st->cutoff,((j-st->filt_len/2+1)-((float)i)/st->den_rate), st->filt_len, quality_map[st->quality].window_func);
+ st->sinc_table[i*st->filt_len+j] = sinc(st->cutoff,((j-(spx_int32_t)st->filt_len/2+1)-((float)i)/st->den_rate), st->filt_len, quality_map[st->quality].window_func);
}
}
#ifdef FIXED_POINT
regressions
deleted
100644 → 0
View file @
22b4c867
1: 723f644e09333a0230383eae4af1f3aa3e46e1c3 (r12736): broke resampler badly
Changed the sign of a bunch of parameters in the API. Tons of signed/unsigned changes in the code as a consequence of that. Hopefully this will be the last change to the API.
Fixed: 2007-08-11
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment