This repository is archived and will not be updated.
turntable is a client-to-server audio streaming program for Linux, macOS, and Windows, written in C99.
turntable only has dependencies for your platform's audio:
Platform | Supported backend |
---|---|
Linux | ALSA |
macOS | Core Audio |
Windows | WinMM / MME |
For ALSA, you must install the libasound2-dev
package. On macOS, no packages are needed. For Windows, see Compiling / Windows.
You will need a C compiler. clang
is recommended, but gcc
works as well. For a compiler other than clang
, be sure to modify the CC
variable in the Makefile and double-check that its atomics intrinsics work the same way.
On macOS, you will need to run xcode-select --install
or have Xcode.app installed.
- Install the libraries for the filetypes you wish to have support for.
- Clone the repository.
cd
to the repository on your computer.- Run
make
.
As I am not versed in Windows development, I used MinGW to compile this program.
- Install MinGW and then
binutils
(to providear
) andmake
. - Perform steps 0 through 2 from the above section.
- Have a working C compiler for your architecture accessible from MinGW1.
- Run
make -f Makefile.NT
.
1This is beyond the scope of this document, and anything other than clang
or gcc
will almost certainly require modification of the Makefile (read: MSVC/cl
).
This code is licensed under the BSD 3-Clause License. A copy of this license is included in the repository.