Page MenuHomeFreeBSD

sound: Notify devd on hw.snd.default_unit change
ClosedPublic

Authored by christos on Feb 26 2026, 2:49 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Mar 25, 6:32 AM
Unknown Object (File)
Sun, Mar 22, 4:24 AM
Unknown Object (File)
Sat, Mar 21, 9:53 AM
Unknown Object (File)
Thu, Mar 19, 5:48 PM
Unknown Object (File)
Sat, Mar 14, 3:31 PM
Unknown Object (File)
Thu, Mar 12, 10:49 AM
Unknown Object (File)
Wed, Mar 11, 10:22 AM
Unknown Object (File)
Mon, Mar 9, 8:25 PM
Subscribers

Details

Summary

If we have virtual_oss running, this devd notification will make sure to
automatically transfer sound to the new default unit, while also making
sure that we switch to it only for the supported directions (recording
and/or playback).

For more information, please refer to 2ffaca551eaf ("snd_hda: Implement
automatic redirection between associations").

Sponsored by: The FreeBSD Foundation
MFC after: 1 week

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 71028
Build 67911: arc lint + arc unit