audio/pw: improve channel position code
commit92f69a2c9bca26ee756c7cb932142664aca9c9c6
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Sat, 6 May 2023 16:37:35 +0000 (6 20:37 +0400)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Mon, 17 Jul 2023 11:23:31 +0000 (17 15:23 +0400)
tree0cb1cfbf0a544bc2f76b3e83eeeeba8d277beaa8
parent8297b3d3d00e475d5b2ba042ed2077167d312492
audio/pw: improve channel position code

Follow PulseAudio backend comment and code, and only implement the
channels QEMU actually supports at this point, and add the same comment
about limits and future mappings. Simplify a bit the code.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Volker Rümelin <vr_qemu@t-online.de>
Message-Id: <20230506163735.3481387-13-marcandre.lureau@redhat.com>
audio/pwaudio.c