dotnet / Silk.NET

The high-speed OpenGL, OpenCL, OpenAL, OpenXR, GLFW, SDL, Vulkan, Assimp, WebGPU, and DirectX bindings library your mother warned you about.
https://dotnet.github.io/Silk.NET
MIT License
3.89k stars 378 forks source link

RFC: Steam Audio bindings #1955

Open Perksey opened 4 months ago

Perksey commented 4 months ago

Steam Audio has recently been open sourced: https://github.com/ValveSoftware/steam-audio/tree/master

Silk.NET currently lacks more modern audio bindings, with XAudio being the closest we have today. OpenAL doesn't really have any modern implementations by vendors, and OpenAL Soft is a software implementation that in most cases forwards to other APIs. Miniaudio was investigated but was determined not to meet Silk.NET's industry recognition threshold. BASS is unsuitable due to its license.

With Steam Audio being Apache 2 and developed by a recognised industry player, should we consider adding Steam Audio bindings?

Khitiara commented 4 months ago

given the lack of other good audio APIs and valve being a big industry player im all for this

Perksey commented 2 months ago

Just to put some Discord discussion here: It is noted that Steam Audio doesn't itself provide a solution for audio playback, it is exclusively responsible for creating a 3D audio stream but not playing it in itself. So you'd have to funnel it into a playback engine of some sort, like SDL or OpenAL.