On Sat, Aug 25, 2018 at 05:24:43PM -0700, Jeremy Evans wrote: > > The /dev/audio -> /dev/audio0 diff is a noop by default, as I also > switched the default driver from openbsd to sdl (which uses sndio). > > I don't express an opinion on putting the symlinks back. I think most > programs that use audio on OpenBSD use sndio (directly or indirectly). > Those that don't are problematic to use in general, since you have to > stop using sndiod to use them (this is how mednafen currently operates > in ports, before the patch). >
That's correct. Furthermore, the code won't work on all devices because by using directly audio(4) it bypasses the format & rate coversions. Switching to sdl by default until this get fixed seems the best thing to do for now. Replacing /dev/audio -> /dev/audio0 in the non-default backend brings mednafen to the same state as before the symlink removal, so it's fine as well.
