Page MenuHomeFreeBSD

lib/virtual_oss: don't (over)link to libsamplerate
ClosedPublic

Authored by brooks on Jan 14 2026, 12:50 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Jan 29, 8:22 AM
Unknown Object (File)
Tue, Jan 27, 10:45 AM
Unknown Object (File)
Tue, Jan 27, 9:50 AM
Unknown Object (File)
Mon, Jan 26, 1:09 PM
Unknown Object (File)
Sun, Jan 25, 8:05 AM
Unknown Object (File)
Sat, Jan 24, 6:49 PM
Unknown Object (File)
Jan 19 2026, 10:32 PM
Unknown Object (File)
Jan 17 2026, 7:15 PM
Subscribers

Details

Summary

These plugins require samplerate.h due to virtual_oss's int.h including
it, but don't use any symbols directly so don't link to the library.

Centralize adding the include path.

Sponsored by: DARPA, AFRL

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 69872
Build 66755: arc lint + arc unit

Event Timeline

The whole stack of review builds including subdirectories that aren't connected to the build (other then sndio since I didn't have libsndio installed). However, these changes are untested and I've only verified this last change by building and examining the library with nm to verity that they don't include surprising undefined symbols.

This revision is now accepted and ready to land.Jan 15 2026, 5:58 PM

By the way, there is a typo in the commit title ("vitual").