mirror of https://github.com/stenzek/duckstation
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
4 years ago | |
---|---|---|
.. | ||
cmake | 4 years ago | |
include | 4 years ago | |
msvc | 4 years ago | |
src | 4 years ago | |
AUTHORS | 4 years ago | |
CMakeLists.txt | 4 years ago | |
COPYING | 4 years ago | |
NEWS | 4 years ago | |
README.md | 4 years ago | |
config.h.cmake | 4 years ago | |
libsamplerate.spec.in | 4 years ago | |
libsamplerate.vcxproj | 4 years ago | |
libsamplerate.vcxproj.filters | 4 years ago | |
samplerate.pc.in | 4 years ago |
README.md
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
docs/
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:
Build Status
Branch | Status |
---|---|
master |
Branches actively built by GitHub Actions.
Win32
There are detailed instructions for building libsamplerate on Win32 in the file docs/win32.md
.
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:
./configure
make
make install
CMake
There is a new CMake-based build system available:
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.