HomeFreeBSD

virtual_oss: Port to base

Description

virtual_oss: Port to base

This patch diverges quite a bit from the current upstream [1] in a few
ways:

  1. virtual_oss(8), virtual_bt_speaker(8) and virtual_oss_cmd(8) are actually separate programs.
  2. Backends (lib/virtual_oss) are built as separate shared libraries and we dlopen() them in virtual_oss(8) and virtual_bt_speaker(8) on demand.
  3. virtual_equalizer(8) and the sndio and bluetooth backends are built as ports, because they depend on third-party libraries.
  4. Use newer libav API in bluetooth backend (see HAVE_LIBAV ifdefs) to address compiler errors.

[1] https://github.com/freebsd/virtual_oss

Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Reviewed by: emaste
Differential Revision: https://reviews.freebsd.org/D52308

(cherry picked from commit 9cab9fde5edad9b409dd2317a2aec7815e6d6bed)
(cherry picked from commit 86a7787e324b1524abfc434982bae9bf87ad7390)
(cherry picked from commit 69ede18b950e32317d7741410cde7543fa0fce3c)
(cherry picked from commit 0532cd2d771372d3266b97aebf4043d5b31b64bd)
(cherry picked from commit 25d551b5fb1d28ed485d56d9d637993eb2d223b1)
(cherry picked from commit 8af6aee96ed609456900c6dd92dafabac5e89c0a)
(cherry picked from commit f040ee6e407832fc9f08d85cd792d1cfb8104976)
(cherry picked from commit bce8cdaf4cb184db577a5633e82bdabe24239af1)

Details

Provenance
christosAuthored on Sep 28 2025, 9:56 AM
Reviewer
emaste
Differential Revision
D52308: virtual_oss: Port to base
Parents
rG955d9b0a1093: mandoc: Vendor import of upstream at 2025-09-26
Branches
Unknown
Tags
Unknown