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)
Thu, May 21, 6:48 AM
Unknown Object (File)
Wed, May 20, 4:14 PM
Unknown Object (File)
Tue, May 19, 10:18 AM
Unknown Object (File)
Tue, May 19, 9:16 AM
Unknown Object (File)
Mon, May 18, 9:49 PM
Unknown Object (File)
Sun, May 17, 10:47 AM
Unknown Object (File)
Sat, May 16, 5:35 PM
Unknown Object (File)
Sun, May 10, 4:23 AM
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 Not Applicable
Unit
Tests Not Applicable