diff options
Diffstat (limited to 'gst/audioresample')
-rw-r--r-- | gst/audioresample/gstaudioresample.c | 6 | ||||
-rw-r--r-- | gst/audioresample/resample.c | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/gst/audioresample/gstaudioresample.c b/gst/audioresample/gstaudioresample.c index 80988cb7f..418a77c95 100644 --- a/gst/audioresample/gstaudioresample.c +++ b/gst/audioresample/gstaudioresample.c @@ -103,7 +103,7 @@ GST_STATIC_CAPS ( \ "signed = (boolean) true" \ ) -/* If TRUE integer arithmetic resampling is faster and will be used if appropiate */ +/* If TRUE integer arithmetic resampling is faster and will be used if appropriate */ #if defined AUDIORESAMPLE_FORMAT_INT static gboolean gst_audio_resample_use_int = TRUE; #elif defined AUDIORESAMPLE_FORMAT_FLOAT @@ -187,7 +187,7 @@ gst_audio_resample_class_init (GstAudioResampleClass * klass) * * Length of the resample filter * - * Deprectated: Use #GstAudioResample:quality property instead + * Deprecated: Use #GstAudioResample:quality property instead */ g_object_class_install_property (gobject_class, PROP_FILTER_LENGTH, g_param_spec_int ("filter-length", "Filter length", @@ -1554,7 +1554,7 @@ _benchmark_integer_resampling (void) resample_int_resampler_destroy (stb); if (av > bv) - GST_INFO ("Using integer resampler if appropiate: %lf < %lf", bv, av); + GST_INFO ("Using integer resampler if appropriate: %lf < %lf", bv, av); else GST_INFO ("Using float resampler for everything: %lf <= %lf", av, bv); diff --git a/gst/audioresample/resample.c b/gst/audioresample/resample.c index 7cc04d66c..490eebcc4 100644 --- a/gst/audioresample/resample.c +++ b/gst/audioresample/resample.c @@ -461,7 +461,7 @@ resampler_basic_direct_single (SpeexResamplerState * st, sum += MULT16_16 (sinc[j], iptr[j]); /* This code is slower on most DSPs which have only 2 accumulators. - Plus this this forces truncation to 32 bits and you lose the HW guard bits. + Plus this forces truncation to 32 bits and you lose the HW guard bits. I think we can trust the compiler and let it vectorize and/or unroll itself. spx_word32_t accum[4] = {0,0,0,0}; for(j=0;j<N;j+=4) { |