Page MenuHomeFreeBSD

sound: Remove feed_matrix_apply_generic()
ClosedPublic

Authored by christos on Dec 11 2024, 4:49 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Mar 10, 10:54 PM
Unknown Object (File)
Feb 12 2025, 5:34 PM
Unknown Object (File)
Feb 7 2025, 3:07 PM
Unknown Object (File)
Feb 3 2025, 3:34 AM
Unknown Object (File)
Jan 28 2025, 11:38 PM
Unknown Object (File)
Jan 27 2025, 1:33 PM
Unknown Object (File)
Jan 9 2025, 10:12 AM
Unknown Object (File)
Jan 8 2025, 7:47 PM
Subscribers

Details

Summary

It does what feed_matrix_apply() already does, so it is redundant.

Sponsored by: The FreeBSD Foundation
MFC after: 1 week

Diff Detail

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

Event Timeline

There's more #ifdef FEEDMATRIX_GENERIC code which references this, no?

There's more #ifdef FEEDMATRIX_GENERIC code which references this, no?

No. D48035 removes the other code which assigns feed_matrix_apply_generic() as the callback.

There's more #ifdef FEEDMATRIX_GENERIC code which references this, no?

No. D48035 removes the other code which assigns feed_matrix_apply_generic() as the callback.

Oh, missed that. I don't have all these changes in my tree since they don't apply cleanly from D47638 on.

There's more #ifdef FEEDMATRIX_GENERIC code which references this, no?

No. D48035 removes the other code which assigns feed_matrix_apply_generic() as the callback.

Oh, missed that. I don't have all these changes in my tree since they don't apply cleanly from D47638 on.

Yeap... I shuffled some patches around to re-organize them in a more intuitive way, so it's quite a mess right now to apply the patches cleanly. The current sequence of patches in my local tree is (from oldest to newest):

sound: Clean up pcm/ includes
sound: Bail out early if a format is not supported
sound: Refactor the format conversion framework
sound: Remove macro magic from pcm/feeder_eq.c
sound: Remove FEEDEQ_CLAMP()
sound: Cache bps in pcm/feeder_eq.c
sound: Remove macro magic from pcm/feeder_matrix.c
sound: Remove feed_matrix_apply_generic()
sound: Implement AFMT_FLOAT support
beep(1): Use AFMT_FLOAT
sound: Allocate vchans on-demand
sound: Simplify vchan_getparentchannel()
sound: Remove SNDBUF_LOCKASSERT()
sound: Improve afmt_tab
sound: Get rid of redundant variables in chn_setspeed() and chn_setformat()
sound: Return if the new speed/format is the same as the current one

Yeap... I shuffled some patches around to re-organize them in a more intuitive way, so it's quite a mess right now to apply the patches cleanly. The current sequence of patches in my local tree is (from oldest to newest):

sound: Clean up pcm/ includes
sound: Bail out early if a format is not supported
sound: Refactor the format conversion framework
sound: Remove macro magic from pcm/feeder_eq.c
sound: Remove FEEDEQ_CLAMP()
sound: Cache bps in pcm/feeder_eq.c
sound: Remove macro magic from pcm/feeder_matrix.c
sound: Remove feed_matrix_apply_generic()
sound: Implement AFMT_FLOAT support
beep(1): Use AFMT_FLOAT
sound: Allocate vchans on-demand
sound: Simplify vchan_getparentchannel()
sound: Remove SNDBUF_LOCKASSERT()
sound: Improve afmt_tab
sound: Get rid of redundant variables in chn_setspeed() and chn_setformat()
sound: Return if the new speed/format is the same as the current one

Must be the new git rebase --random-reshuffle feature I heard so much about ;-)
Unfortunately this order only works if you update all the reviews. The patches in reviews come with a certain amount of context (surrounding code), and git arc will refuse to apply if that doesn't match.

This revision was not accepted when it landed; it landed in state Needs Review.Mon, Mar 10, 8:22 PM
This revision was automatically updated to reflect the committed changes.