Hacker News new | ask | show | jobs
by zuzun 3032 days ago
For simple audio playback there's not much difference between their APIs. OSS is a bit of an outlier because it works on a sound device via standard IO system calls. All the other frameworks expose very similar functions: you initialize the library, you tell it about your audio format and then you start writing the audio data. Xiph.org's libao [1] is worth a mention because it's a very neat library that offers true cross-platform support.

[1] https://xiph.org/ao/