On Sun, Aug 26, 2018 at 04:53:41PM +0200, Alexandre Ratchov wrote: > > Back in 2015, when we made massive API changes to the (private) > audio(4) API, we carefully audited the ports tree and *all* ports were > using libsndio to play/record sound. > > I don't know how this could even compile, as the current audio(4) API > is very different to SunAudio or whatever we inherited from NetBSD. >
According to mednafen changelog the OpenBSD audio backend was added recently; too bad they choosed to implement it using the private audio(4) API instead of using the sio_open(4) API. Anyway, both APIs use similar semantics, so fixing this is a matter of blindly replacing audio(4) ioctls by their libsndio equivalents.
