OpenBSD people: please test the latest SDL2!

I just added a new audio backend for OpenBSD, using the sndio API, since
we had this functionality in SDL 1.2 and I wanted to make sure it
survived into SDL 2.0.

I need OpenBSD people to test this. It works here, in vmware, for me,
but I don’t have any significant testing resources for it.

Also: the “dsp” and “bsd” audio targets appear to be completely broken
on OpenBSD, only playing static. If this isn’t the case outside of
vmware, please let me know or I’ll be disabling them on OpenBSD for the
SDL 2.0 release.

The sndio stuff is at the tip of the default Mercurial branch, and will
make it into the next release candidate.

Thanks,
–ryan.

Hi,

I just tried the testmultiaudio program from yesterday snapshot on
a real OpenBSD system and audio plays normally with the sndio
driver (the native OpenBSD API for audio).

AFAICS, bsd and dsp drivers are unlikely to work very well on
OpenBSD:

  • The bsd driver uses the kernel SunOS-like API. On OpenBSD, it
    is now considered as private and is used only by the sndio
    library to access the audio hardware. The API is evolving with
    sndio and is kept compatible neither with NetBSD nor with SunOS.
    Furthermore, conversions, channel mapping, resampling and mixing
    is not handled by the kernel API and only one program may hold
    the audio device open at a given time.

  • the OSS emulation is a quick C preprocessor hack that never
    really worked; currenty it’s used by few mixer programs only to
    control the volume and works on certain devices only. FWIW,
    SDL1.2 packages are build with --disable-oss

There’s a port of sndio to Linux (on top of ALSA) that may ease
OpenBSD audio-specific testing, see:

http://www.sndio.org/install.html

HTH,

– AlexandreOn Sun, Jul 07, 2013 at 08:49:58PM -0400, Ryan C. Gordon wrote:

I just added a new audio backend for OpenBSD, using the sndio API,
since we had this functionality in SDL 1.2 and I wanted to make sure
it survived into SDL 2.0.

I need OpenBSD people to test this. It works here, in vmware, for
me, but I don’t have any significant testing resources for it.

Also: the “dsp” and “bsd” audio targets appear to be completely
broken on OpenBSD, only playing static. If this isn’t the case
outside of vmware, please let me know or I’ll be disabling them on
OpenBSD for the SDL 2.0 release.

The sndio stuff is at the tip of the default Mercurial branch, and
will make it into the next release candidate.

Just in case my other e-mail was not clear enough: it’s better to
disable them both for OpenBSD.

– AlexandreOn Sun, Jul 07, 2013 at 08:49:58PM -0400, Ryan C. Gordon wrote:

Also: the “dsp” and “bsd” audio targets appear to be completely
broken on OpenBSD, only playing static. If this isn’t the case
outside of vmware, please let me know or I’ll be disabling them on
OpenBSD for the SDL 2.0 release.

Just in case my other e-mail was not clear enough: it’s better to
disable them both for OpenBSD.

This was all good information, thank you!

–ryan.