Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/alexmarsev/soxr.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Sykes <robs@users.sourceforge.net>2015-08-20 20:42:00 +0300
committerRob Sykes <robs@users.sourceforge.net>2015-08-20 20:42:00 +0300
commit0d609771798069216302cb44ddab8f7f32f68a8d (patch)
treead637e48aaa576f1f2544b15d095131c3137240b
parentb93320cba798d8857577f2da13e6844e82cc2157 (diff)
document spec. defaults
-rw-r--r--src/soxr.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/soxr.h b/src/soxr.h
index 6520b29..7705c44 100644
--- a/src/soxr.h
+++ b/src/soxr.h
@@ -95,7 +95,10 @@ SOXR char const * soxr_version(void); /* Query library version: "libsoxr-x.y.z"
((e)?(e):"no error")
-/* Create a stream resampler: */
+/* Create a stream resampler; spec. defaults are as follows:
+ * io per soxr_io_spec(SOXR_FLOAT32_I, SOXR_FLOAT32_I)
+ * quality per soxr_quality_spec(SOXR_HQ, 0)
+ * runtime per soxr_runtime_spec(1) */
SOXR soxr_t soxr_create(
double input_rate, /* Input sample-rate. */
@@ -176,7 +179,9 @@ SOXR void soxr_delete(soxr_t); /* Free resources. */
/* `Short-cut', single call to resample a (probably short) signal held entirely
- * in memory. See soxr_create and soxr_process above for parameter details. */
+ * in memory. See soxr_create and soxr_process above for parameter details.
+ * Note that unlike soxr_create however, the default quality spec. for
+ * soxr_oneshot is per soxr_quality_spec(SOXR_LQ, 0). */
SOXR soxr_error_t soxr_oneshot(
double input_rate,