Skip to content

Waissi/SDL3AudioPlayer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

An audio player exploring SDL3 audio features

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published