Page MenuHomeFreeBSD

sound: Always use chn_getvolume_matrix()
ClosedPublic

Authored by christos on Mar 20 2026, 1:27 PM.
Tags
None
Referenced Files
F170620279: D55990.id.diff
Sat, Sep 5, 4:31 PM
Unknown Object (File)
Fri, Sep 4, 6:37 AM
Unknown Object (File)
Thu, Sep 3, 9:55 PM
Unknown Object (File)
Thu, Sep 3, 6:05 PM
Unknown Object (File)
Thu, Sep 3, 2:46 PM
Unknown Object (File)
Thu, Sep 3, 8:56 AM
Unknown Object (File)
Wed, Sep 2, 4:11 PM
Unknown Object (File)
Wed, Sep 2, 9:30 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