On Tue, Oct 08, 2019 at 09:32:05AM +0000, Shuming [范書銘] wrote: > + if (first_bit == 0 || first_bit == 2 || > + first_bit == 4 || first_bit == 6) { > + } else { > + } This would be more idiomatically written as a switch statement, as would the equivalent stuff on the TX side.
Attachment:
signature.asc
Description: PGP signature
_______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxx https://mailman.alsa-project.org/mailman/listinfo/alsa-devel