Page MenuHomeFreeBSD

sound: Always use chn_getvolume_matrix()
ClosedPublic

Authored by christos on Mar 20 2026, 1:27 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, May 19, 1:34 PM
Unknown Object (File)
Mon, May 18, 1:55 AM
Unknown Object (File)
Sun, May 17, 5:01 PM
Unknown Object (File)
Fri, May 15, 3:52 AM
Unknown Object (File)
Mon, Apr 27, 7:22 PM
Unknown Object (File)
Apr 23 2026, 1:44 AM
Unknown Object (File)
Apr 19 2026, 4:46 AM
Unknown Object (File)
Apr 17 2026, 10:45 AM
Subscribers

Details

Summary

There is no reason not to use it. We do it already with CHN_SETVOLUME().
chn_getvolume_matrix() is the same as the non-INVARIANTS
CHN_GETVOLUME(), just without the additional KASSERT
chn_getvolume_matrix() provides.

Sponsored by: The FreeBSD Foundation
MFC after: 1 week

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable