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)
Mon, Jul 20, 3:33 PM
Unknown Object (File)
Sat, Jul 18, 8:50 PM
Unknown Object (File)
Wed, Jul 15, 5:44 AM
Unknown Object (File)
Wed, Jul 15, 5:44 AM
Unknown Object (File)
Sun, Jul 12, 1:50 AM
Unknown Object (File)
Tue, Jun 30, 5:49 AM
Unknown Object (File)
Mon, Jun 29, 4:44 AM
Unknown Object (File)
Thu, Jun 25, 12:17 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 Not Applicable
Unit
Tests Not Applicable

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").