Add a callback for setting the TDM slot used by an audio codec.
authorkettenis <kettenis@openbsd.org>
Fri, 2 Sep 2022 16:53:28 +0000 (16:53 +0000)
committerkettenis <kettenis@openbsd.org>
Fri, 2 Sep 2022 16:53:28 +0000 (16:53 +0000)
commit7141bfc1fe0d53aaf356bc0c1add2421cdcfac7f
tree14e006f9a0b708d1959288df7d5c49c14a07f2c2
parentbfee0ecd4fb21f9b8b29f379ee1345f256e96833
Add a callback for setting the TDM slot used by an audio codec.
Implement this callback in tascodec(4) such that we can pick the audio
channel that it outputs.  This will override the default which is to
downmix stereo input from TDM channels 0 and 1 to mono output.

ok ratchov@
sys/dev/fdt/tascodec.c
sys/dev/ofw/ofw_misc.h