Skip to content
This repository has been archived by the owner on Jun 12, 2024. It is now read-only.

Latest commit

 

History

History

sound

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Sound Plugin

This is a sound plugin. mostly inspired by soloud sound library. The API will be similar to soloud but likely it will be simpler.
As it's backend, it uses sokol_audio that implements the following platform-specific backends:

    - Windows: WASAPI
    - Linux: ALSA (link with asound)
    - macOS/iOS: CoreAudio (link with AudioToolbox)
    - emscripten: WebAudio with ScriptProcessorNode

Features

  • Simple 2D sound playing
  • OGG/WAV format support
  • Master volume/pan
  • Clocked/looping/singleton audio playback
  • Debugger view
  • Multi-threaded command-buffer

Limitations

  • Current version only supports mono audio sources. However, it still accepts multi-channel audio, But converts them to mono upon load.