Page MenuHomeFreeBSD

sound: Always use chn_getvolume_matrix()
AcceptedPublic

Authored by christos on Fri, Mar 20, 1:27 PM.

Details

Reviewers
markj
emaste
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 Skipped
Unit
Tests Skipped
Build Status
Buildable 71587
Build 68470: arc lint + arc unit