summaryrefslogtreecommitdiffstats
path: root/pph/rate_speexrate.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2007-03-21 12:20:04 +0100
committerTakashi Iwai <tiwai@suse.de>2007-03-21 12:20:04 +0100
commit5a6cc15e68593cdd71eb7f5d08173518601e580b (patch)
tree966ed37543aa5b9277f9eb96de3e68c71e250d0c /pph/rate_speexrate.c
parenta281c48a064677ff86874b42024738d09b7f01a0 (diff)
Update version of speex resampler plugin
From: Jean-Marc Valin <jean-marc.valin@usherbrooke.ca> I'm attaching an updated version of my resampler plugin. It fixes a few minor issues and it adds support for fixed-point processing (just add -DFIXED_POINT to the build). Let me know if there's any problem.
Diffstat (limited to 'pph/rate_speexrate.c')
-rw-r--r--pph/rate_speexrate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pph/rate_speexrate.c b/pph/rate_speexrate.c
index 756f5d5..195b16d 100644
--- a/pph/rate_speexrate.c
+++ b/pph/rate_speexrate.c
@@ -42,7 +42,7 @@ struct rate_src {
static snd_pcm_uframes_t input_frames(void *obj, snd_pcm_uframes_t frames)
{
- int num, den;
+ spx_uint32_t num, den;
struct rate_src *rate = obj;
if (frames == 0)
return 0;
@@ -52,7 +52,7 @@ static snd_pcm_uframes_t input_frames(void *obj, snd_pcm_uframes_t frames)
static snd_pcm_uframes_t output_frames(void *obj, snd_pcm_uframes_t frames)
{
- int num, den;
+ spx_uint32_t num, den;
struct rate_src *rate = obj;
if (frames == 0)
return 0;