Search code examples
c++linuxdirectsound

Good sound apis for linux?


I am learning game development and came across this playlist(Handmade Hero) about making a game from absolute scratch, like using only Os provided apis. The series focuses on windows, I also want to develope the same thing for linux. What should be the sound api that I should use? In the series he was using DirectSound, what would be the similar kind of api for linux?


Solution

  • ALSA (Advanced Linux Sound Architecture)

    • part of the linux kernel (sound drivers)
    • user space library (alsa-lib)

    There are also so called sound servers available on linux, like PulseAudio or pipewire.

    Frameworks for game development