This PR presents a more proper parsing of Control Shared Memory
It uses a specific offset (which does not seem to change from firmware to firmware) that can be used to accurately retrieve the structure of a specific port unlike the previous implementation by searching for the first non-empty byte.
Used mutex to wait for device initialization via sox, without it application crashed due to simultaneous initialization
Added the last two unknown 8-channel S16 and F32 formats with postfix _STD, testing showed that they sound the same as normal S16 and F32 formats.
Since the sample of applications was not large, the test was performed on two games with one output and on a custom homebrew sample with three outputs, no problems were noticed and in addition --trace no longer crashes the application.
This PR presents a more proper parsing of Control Shared Memory
_STD
, testing showed that they sound the same as normal S16 and F32 formats.Since the sample of applications was not large, the test was performed on two games with one output and on a custom homebrew sample with three outputs, no problems were noticed and in addition
--trace
no longer crashes the application.