From 7dc5f73c19dde977842a0dfa739a46171fecb377 Mon Sep 17 00:00:00 2001 From: Rob Sykes Date: Wed, 19 Aug 2015 07:39:51 +0100 Subject: [PATCH] variable-rate no longer considered 'experimental' --- README | 4 ++-- examples/5-variable-rate.c | 9 ++++----- src/soxr.h | 6 +++--- src/vr32.c | 2 +- 4 files changed, 10 insertions(+), 11 deletions(-) diff --git a/README b/README index 1f9921d..06f11e6 100644 --- a/README +++ b/README @@ -8,8 +8,8 @@ should look elsewhere. It aims to give fast¹ and very high quality² results for any constant (rational or irrational) resampling ratio. Phase-response, preserved bandwidth, aliasing, and rejection level parameters are all configurable; -alternatively, simple `preset' configurations may be selected. An -experimental, variable-rate resampling mode of operation is also included. +alternatively, simple `preset' configurations may be selected. A +variable-rate resampling mode of operation is also included. The resampler is currently available either as part of `libsox' (the audio file-format and effect library), or stand-alone as `libsoxr' (this package). diff --git a/examples/5-variable-rate.c b/examples/5-variable-rate.c index dc9efa3..63c2063 100644 --- a/examples/5-variable-rate.c +++ b/examples/5-variable-rate.c @@ -1,11 +1,10 @@ /* SoX Resampler Library Copyright (c) 2007-13 robs@users.sourceforge.net * Licence for this file: LGPL v2.1 See LICENCE for details. */ -/* Example 5: Variable-rate resampling (N.B. experimental). A test signal - * (held in a buffer) is resampled over a wide range of octaves. Resampled - * data is sent to stdout as raw, float32 samples. Choices of 2 test-signals - * and of 2 ways of varying the sample-rate are combined in a command-line - * option: +/* Example 5: Variable-rate resampling. A test signal (held in a buffer) is + * resampled over a wide range of octaves. Resampled data is sent to stdout as + * raw, float32 samples. Choices of 2 test-signals and of 2 ways of varying + * the sample-rate are combined in a command-line option: * * Usage: ./5-variable-rate [0|1|2|3] */ diff --git a/src/soxr.h b/src/soxr.h index ac11262..0043ef6 100644 --- a/src/soxr.h +++ b/src/soxr.h @@ -190,8 +190,8 @@ SOXR soxr_error_t soxr_oneshot( -/* For variable-rate resampling (experimental). See example # 5 for how to - * create a variable-rate resampler and how to use this function. */ +/* For variable-rate resampling. See example # 5 for how to create a + * variable-rate resampler and how to use this function. */ SOXR soxr_error_t soxr_set_io_ratio(soxr_t, double io_ratio, size_t slew_len); @@ -245,7 +245,7 @@ struct soxr_quality_spec { /* Typically */ #define SOXR_MAINTAIN_3DB_PT 4u /* Reserved for internal use. */ #define SOXR_HI_PREC_CLOCK 8u /* Increase `irrational' ratio accuracy. */ #define SOXR_DOUBLE_PRECISION 16u /* Use D.P. calcs even if precision <= 20. */ -#define SOXR_VR 32u /* Experimental, variable-rate resampling. */ +#define SOXR_VR 32u /* Variable-rate resampling. */ diff --git a/src/vr32.c b/src/vr32.c index bacf7b5..4183baa 100644 --- a/src/vr32.c +++ b/src/vr32.c @@ -1,7 +1,7 @@ /* SoX Resampler Library Copyright (c) 2007-13 robs@users.sourceforge.net * Licence for this file: LGPL v2.1 See LICENCE for details. */ -/* Experimental variable-rate resampling. */ +/* Variable-rate resampling. */ #include #include