diff options
author | Takashi Iwai <tiwai@suse.de> | 2007-03-21 12:20:04 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2007-03-21 12:20:04 +0100 |
commit | 5a6cc15e68593cdd71eb7f5d08173518601e580b (patch) | |
tree | 966ed37543aa5b9277f9eb96de3e68c71e250d0c /pph/rate_speexrate.c | |
parent | a281c48a064677ff86874b42024738d09b7f01a0 (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.c | 4 |
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; |