boo/soxr/examples
Luke Street 39eb95a824 Update soxr to 0.1.3; make wasm compatible 2022-08-03 18:10:31 -04:00
..
1-single-block.c Update soxr to 0.1.3; make wasm compatible 2022-08-03 18:10:31 -04:00
1a-lsr.c Update soxr to 0.1.3; make wasm compatible 2022-08-03 18:10:31 -04:00
2-stream.C Integrate soxr 2016-03-22 19:33:14 -10:00
3-options-input-fn.c Update soxr to 0.1.3; make wasm compatible 2022-08-03 18:10:31 -04:00
4-split-channels.c Update soxr to 0.1.3; make wasm compatible 2022-08-03 18:10:31 -04:00
5-variable-rate.c Integrate soxr 2016-03-22 19:33:14 -10:00
CMakeLists.txt Update soxr to 0.1.3; make wasm compatible 2022-08-03 18:10:31 -04:00
README Integrate soxr 2016-03-22 19:33:14 -10:00
examples-common.h Update soxr to 0.1.3; make wasm compatible 2022-08-03 18:10:31 -04: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.