04-25-2023, 12:09 PM
(04-25-2023, 08:35 AM)a740g Wrote: It is actually super easy to expose 24-bit audio data using _MEMSOUND, but we'll need to come up with a solution on how to expose this correctly. Probably we could just return 11000 or 0x18 in the TYPE member and 3, 6... for the ELEMENTSIZE (depending on the channels).
I like the 11000 (0x18) idea, it follows the regular binary logic building each possible number by combining the respective bits. Hence combining bit 3 (for 8 bit data) and bit 4 (for 16 bit data) to specify 24 bit data is absolutly legitimate from my POV.
GuiTools, Blankers & other Projects:
https://qb64phoenix.com/forum/forumdisplay.php?fid=32
Libraries & useful Functions:
https://qb64phoenix.com/forum/forumdisplay.php?fid=23
https://qb64phoenix.com/forum/forumdisplay.php?fid=32
Libraries & useful Functions:
https://qb64phoenix.com/forum/forumdisplay.php?fid=23