audio/sndio: Various fixes
- Success in opening /dev/dsp* O_RDWR does not mean the device
supports play/recording. Add an extra check to see if the requested
mode is really supported.
- sndiod cannot currently be started in jails as root, because it
tries to setpriority(-20). Allow setpriority to fail and start the
daemon anyway.
- Fallback to /dev/dsp instead of /dev/dsp0 when using libsndio directly
without a running sndiod.
- Implement sio_setvol in the OSS backend for application level volume
control with just libsndio.
PR: 216571
Submitted by: Tobias Kortkamp <t@tobik.me> (maintainer)
audio/sndio: Update to 1.2.0
- Update PORTVERSION and distinfo checksum (1.2.0)
- Remove unneeded patches
- Update pkg-message according to changes
- Improved OSS support
- Support for snd_uaudio(4) /dev/umidi* interfaces. /dev/umidi1.0 maps to
rmidi/1 in sndio, /dev/umidi1.1 to rmidi/1.1
- The configure script has support for DragonFly
- More detailed changes: https://pkg.tobik.me/sndio-1.2.0-changes.txt
PR: 214210
Submitted by: Tobias Kortkamp <t@tobik.me> (maintainer)
Approved by: feld (mentor)
- Fix high CPU usage while recording and playing at the same time,
report better sio_onmove deltas [1]
- Fix issues with underruns when the system is under high load
- Fix sio_getcap [1]
- Fallback to /dev/dsp (hw.snd.default_unit) in sndiod and libsndio when no
other device is specified [1]
- rc.d script now configures a monitoring sub-device (a fake recording stream
with a mix of all playback streams) by default [1]
- Use OPSYS for better portability
PR: 212007 [1]
Submitted by: Tobias Kortkamp (maintainer) [1]
(Only the first 10 of 16 ports in this commit are shown above. )
New port: audio/sndio
Sndio is a small audio and MIDI framework part of the OpenBSD project.
It provides an lightweight audio & MIDI server and a fully documented
user-space API to access either the server or directly the hardware in
a uniform way. Sndio is designed to work for desktop applications,
but pays special attention to synchronization mechanisms and
reliability required by music applications. Reliability through
simplicity are part of the project goals.
WWW: http://www.sndio.org/
PR: 210124
Submitted by: Tobias Kortkamp <t@tobik.me>