Skip to content

Latest commit

 

History

History
43 lines (36 loc) · 1.17 KB

README.md

File metadata and controls

43 lines (36 loc) · 1.17 KB

SDL 3 Audio Player

This is a low-level, experimental audio player written in C exploring the new audio functionalities of SDL 3.

Features:

  • Grouping audio clips by buses
  • Transport: play, stop, pause, resume
  • Volume adjustement
  • Panning

Dependencies

Building (MacOS and Linux)

First, init the git submodules

git submodule update --init --recursive

Then you need to build and install the dependencies (here with cmake)

cd deps/SDL
mkdir build
cd build
cmake ..
make
sudo make install

Repeat the same for SDL_image and SDL_ttf (modify the first command line accordingly).

The .vscode folder is configured for building, running and deguging the audio player using the Zig build system.

You can also manually build it with

zig build

And run it with

zig-out/bin/SdlAudioPlayer

screenshot