sigrid/libsamplerate

Description
![Logo](docs/SRC.png)

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/`](https://github.com/libsndfile/libsamplerate/tree/master/src) directory contains the source code for library itself.
* The [`doc/`](https://github.com/libsndfile/libsamplerate/tree/master/doc) directory contains the libsamplerate documentation.
* The [`examples/`](https://github.com/libsndfile/libsamplerate/tree/master/examples) directory contains examples of how to write code using libsamplerate.
* The [`tests/`](https://github.com/libsndfile/libsamplerate/tree/master/tests) directory contains programs which link against libsamplerate and test its functionality.
* The [`Win32/`](https://github.com/libsndfile/libsamplerate/tree/master/Win32) directory contains files and documentation to allow libsamplerate to compile under Win32 with the Microsoft Visual C++ compiler.

Additional references:

* [Official website](http://libsndfile.github.io/libsamplerate//)
* [GitHub](https://github.com/libsndfile/libsamplerate)

---

## Build Status

| Branch         | Status                                                                                                            |
|----------------|-------------------------------------------------------------------------------------------------------------------|
| `master`       | [![Build Status](https://travis-ci.org/libsndfile/libsamplerate.svg?branch=master)](https://travis-ci.org/libsndfile/libsamplerate)       |

Branches [actively built](https://travis-ci.org/libsndfile/libsamplerate/branches) by TravisCI.

---

## Win32

There are detailed instructions for building libsamplerate on Win32 in the file [`doc/win32.html`](http://libsndfile.github.io/libsamplerate/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:
```bash
./configure
make
make install
```

## CMake

There is a new [CMake](https://cmake.org/download/)-based build system available:
```bash
mkdir build
cd build
cmake ..
make
```

* 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](mailto:erikd@mega-nerd.com).
Last 5 commits (shortlog)
Date Author Short message Commit hash
2020-11-16 Sigrid pragma incomplete on SRC_STATE 06a021bb7ab5a85975a6e27b7cc5255768df3666
2020-11-16 Sigrid port to Plan 9 f87eb660e3f78100be125e6ef38e07539bb0d53f
2020-11-16 evpobr Move private_data field to the end of the SRC_STATE. ca5618deb1a747f3b46f6240a2b232e632c37b0e
2020-11-15 evpobr Destroy state with SRC_STATE::vt::close 1fd5bf60d63fff2f027bad067346666d2640ee7d
2020-11-13 evpobr Fix compilation aa6f7617d9297b9fe90863dcf02e9d0cbcb2daad
Files (browse)
.gitattributes
.gitignore
.travis.yml
AUTHORS
CMakeLists.txt
COPYING
ChangeLog
INSTALL
Make.bat
Makefile.am
NEWS
Octave/
README.md
Win32/
appveyor.yml
autogen.sh
cmake/
config.h.in
configure.ac
docs/
examples/
libsamplerate.spec.in
m4/
samplerate.pc.in
src/
tests/