On Thu, 27 Jul 2023 16:32:35 GMT, Alexey Ivanov <aiva...@openjdk.org> wrote:
>>> > I think this patch would also address >>> > https://bugs.openjdk.org/browse/JDK-7116070 >>> >>> It didn't, the test case still produces truncated names. >>> >>> Although, the mixer name used for recording in the stand-alone test >>> attached to [JDK-8301846](https://bugs.openjdk.org/browse/JDK-8301846) is >>> not truncated any more. >> >> Partially fixing, with the fix this was the output on my machine : >> _mixer 0: >>Port Speakers (Realtek(R) Audio)<< >> mixer 1: >>Port Microphone Array (Realtek(R) Au<< >> mixer 2: >>Primary Sound Driver<< >> mixer 3: >>Speakers (Realtek(R) Audio)<< >> mixer 4: >>Primary Sound Capture Driver<< >> mixer 5: >>Microphone Array (Realtek(R) Audio)<<_ >> >> Without fix would be like this: _mixer 5: >>Microphone Array (Realtek(R) >> Au<<_ > >> > I think this patch would also address >> > https://bugs.openjdk.org/browse/JDK-7116070 >> >> It didn't, the test case still produces truncated names. >> >> Although, the mixer name used for recording in the stand-alone test attached >> to [JDK-8301846](https://bugs.openjdk.org/browse/JDK-8301846) is not >> truncated any more. > > The latest code still produces truncated strings for the test case in > JDK-8301846. Are there any other enumerations which need to be wrapped into > COM initialisation? @aivanov-jdk, thank you very much for your review, JDK-8301846 helps for fixing _Primary Sound Driver_ recording device name truncation issue. ------------- PR Comment: https://git.openjdk.org/jdk/pull/14898#issuecomment-1654939840