pcsx2/3rdparty/libsamplerate
refractionpcsx2 1eddd9017b 3rd Party: Update rogue file to correct license.
Got missed in an update as they switched to auto generation, but the license was switched prior to us last updating the library. See this commit: 819c6a8d68 (diff-dcf9d0451a6397210424fc9699e209255660a4d3b3072c2f1b35048df8df4092)
2021-11-20 23:33:48 +00:00
..
AUTHORS 3rd Party: Update Libsamplerate to 0.2.1 2021-03-11 10:14:49 +00:00
CMakeLists.txt cmake: Windows dependency builds 2021-08-28 03:25:33 +01:00
COPYING USB: beginning to add back initial references 2020-11-11 13:34:16 +00:00
NEWS 3rd Party: Update Libsamplerate to 0.2.1 2021-03-11 10:14:49 +00:00
README.md 3rd Party: Update Libsamplerate to 0.2.1 2021-03-11 10:14:49 +00:00
common.h 3rd Party: Update Libsamplerate to 0.2.1 2021-03-11 10:14:49 +00:00
config.h 3rd Party: Update rogue file to correct license. 2021-11-20 23:33:48 +00:00
config.h.in USB: beginning to add back initial references 2020-11-11 13:34:16 +00:00
fastest_coeffs.h 3rd Party: Update Libsamplerate to 0.2.1 2021-03-11 10:14:49 +00:00
high_qual_coeffs.h 3rd Party: Update Libsamplerate to 0.2.1 2021-03-11 10:14:49 +00:00
libsamplerate.sln USB: beginning to add back initial references 2020-11-11 13:34:16 +00:00
libsamplerate.vcxproj vs update project files with new build props 2021-07-19 17:05:52 -04:00
libsamplerate.vcxproj.filters 3rd Party: Update Libsamplerate to 0.2.1 2021-03-11 10:14:49 +00:00
mid_qual_coeffs.h 3rd Party: Update Libsamplerate to 0.2.1 2021-03-11 10:14:49 +00:00
samplerate.c 3rd Party: Update Libsamplerate to 0.2.1 2021-03-11 10:14:49 +00:00
samplerate.h 3rd Party: Update Libsamplerate to 0.2.1 2021-03-11 10:14:49 +00:00
src_linear.c 3rd Party: Update Libsamplerate to 0.2.1 2021-03-11 10:14:49 +00:00
src_sinc.c LibSampleRate: Fix configs so Singstar mic works 2021-03-11 10:14:49 +00:00
src_zoh.c 3rd Party: Update Libsamplerate to 0.2.1 2021-03-11 10:14:49 +00:00

README.md

Logo

This is libsamplerate, 0.2.1.

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 Build

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.