soxr-code/examples
Rob Sykes a0ff383692 allow SOXR_NO_DITHER to be exercised 2015-08-29 21:24:14 +01:00
..
1-single-block.c show library version used in installation check 2013-03-02 09:46:22 +00:00
1a-lsr.c show library version used in installation check 2013-03-02 09:46:22 +00:00
2-stream.C Be more POSIX compliant w.r.t. errno; fixes erroneousl reporting of errors on FreeBSD 2013-05-27 21:07:14 +01:00
3-options-input-fn.c allow SOXR_NO_DITHER to be exercised 2015-08-29 21:24:14 +01:00
4-split-channels.c Be more POSIX compliant w.r.t. errno; fixes erroneousl reporting of errors on FreeBSD 2013-05-27 21:07:14 +01:00
5-variable-rate.c fix compiler warning 2015-08-20 22:06:38 +01:00
CMakeLists.txt need dll bin on ms-win 2013-01-13 21:09:42 +00:00
README add a simple example/test of lsr-bindings 2013-01-08 21:19:12 +00:00
examples-common.h bump copyright date 2013-01-08 09:08:03 +00:00

README

SoX Resampler Library       Copyright (c) 2007-13 robs@users.sourceforge.net

These simple examples show the different ways that an application may
interface with soxr.  Note that real-world applications may also have to
deal with file-formats, codecs, (more sophisticated) dithering, etc., which
are not covered here.

With the library installed, the examples may be built using commands similar
to the following.  On unix-like systems:

    cc 1-single-block.c -lsoxr
    cc 1a-lsr.c -lsoxr-lsr

or, with MSVC on MS-Windows:

    cl 1-single-block.c -I"C:/Program Files/soxr/include" "C:/Program Files/soxr/lib/soxr.lib"
    cl 1a-lsr.c -I"C:/Program Files/soxr/include" "C:/Program Files/soxr/lib/soxr-lsr.lib"

IDEs may hide such commands behind configuration screens and build menus --
where applicable, consult your IDE's user-manual.