shithub: libsamplerate


clone: git:// gits://
push: hjgit://
patches to: sigrid on 9gridchan, or

Last commit

06a021bb – Sigrid – 2020-11-16T17:35:11-05:00
pragma incomplete on SRC_STATE



This is libsamplerate, `0.1.9`.

libsamplerate (also known as Secret Rabbit Code) is a library for performing sample rate conversion of audio data.

* The [`src/`]( directory contains the source code for library itself.
* The [`doc/`]( directory contains the libsamplerate documentation.
* The [`examples/`]( directory contains examples of how to write code using libsamplerate.
* The [`tests/`]( directory contains programs which link against libsamplerate and test its functionality.
* The [`Win32/`]( directory contains files and documentation to allow libsamplerate to compile under Win32 with the Microsoft Visual C++ compiler.

Additional references:

* [Official website](
* [GitHub](


## Build Status

| Branch         | Status                                                                                                            |
| `master`       | [![Build Status](](       |

Branches [actively built]( by TravisCI.


## Win32

There are detailed instructions for building libsamplerate on Win32 in the file [`doc/win32.html`](

## macOS

Building on macOS should be the same as building it on any other Unix platform.

## Other Platforms

To compile libsamplerate on platforms which have a Bourne compatible shell, an ANSI C compiler and a make utility should require no more that the following three commands:
make install

## CMake

There is a new [CMake]( build system available:
mkdir build
cd build
cmake ..

* Use `cmake -DCMAKE_BUILD_TYPE=Release ..` to make a release build.
* Use `cmake -DBUILD_SHARED_LIBS=ON ..` to build a shared library.

## Contacts

libsamplerate was written by [Erik de Castro Lopo](