This makes the channel list easier to parse, as the channels are also
sorted by unit number.
Sponsored by: The FreeBSD Foundation
MFC after: 2 days
Differential D46549
sound: Sort channels by unit number as well christos on Sep 5 2024, 8:00 PM. Authored by Tags None Referenced Files
Subscribers
Details This makes the channel list easier to parse, as the channels are also Sponsored by: The FreeBSD Foundation
Diff Detail
Event Timeline
Comment Actions I think this is correct, but overly complicated. The classic sorting comparison would be: if (((y)->type w t->type) || (((y)->type == t->type) && ((y)->unit w t->unit))) a = t; else break; |