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-29 23:21:39 +0300
committerRob Sykes <robs@users.sourceforge.net>2015-08-29 23:21:39 +0300
commit1e9ffbf8c2e33378c9fa4660c923f1c0884c5b7d (patch)
tree5d02f682e2df57210797a350974b3f610bfb8f83
parent8abe8c8ab863e213f2903f05398f6739ec738214 (diff)
reformat comment
-rw-r--r--src/soxr.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/soxr.h b/src/soxr.h
index caeedd1..4b4865f 100644
--- a/src/soxr.h
+++ b/src/soxr.h
@@ -63,6 +63,7 @@ input or output (e.g. ilen, olen). */
/* --------------------------- Version management --------------------------- */
/* E.g. #if SOXR_THIS_VERSION >= SOXR_VERSION(0,1,1) ... */
+
#define SOXR_VERSION(x,y,z) (((x)<<16)|((y)<<8)|(z))
#define SOXR_THIS_VERSION SOXR_VERSION(0,1,1)
#define SOXR_THIS_VERSION_STR "0.1.1"
@@ -95,10 +96,7 @@ SOXR char const * soxr_version(void); /* Query library version: "libsoxr-x.y.z"
((e)?(e):"no error")
-/* 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) */
+/* Create a stream resampler: */
SOXR soxr_t soxr_create(
double input_rate, /* Input sample-rate. */
@@ -108,7 +106,11 @@ SOXR soxr_t soxr_create(
soxr_error_t *, /* To report any error during creation. */
soxr_io_spec_t const *, /* To specify non-default I/O formats. */
soxr_quality_spec_t const *, /* To specify non-default resampling quality.*/
- soxr_runtime_spec_t const *);/* To specify non-default runtime resources. */
+ soxr_runtime_spec_t const *);/* To specify non-default runtime resources.
+
+ Default io_spec is per soxr_io_spec(SOXR_FLOAT32_I, SOXR_FLOAT32_I)
+ Default quality_spec is per soxr_quality_spec(SOXR_HQ, 0)
+ Default runtime_spec is per soxr_runtime_spec(1) */