On Sat, 15 Oct 2022 13:03:26 GMT, Andrey Turbanov <[email protected]> wrote:
> Test failed on Ubuntu, because both implementations of `MixerProvider` have > no devices: > 1. com.sun.media.sound.DirectAudioDeviceProvider#nGetNumDevices returns `0` >  > 2. com.sun.media.sound.PortMixerProvider#nGetNumDevices returns `0` >  > > > It leads to `javax.sound.sampled.spi.MixerProvider#getMixerInfo` returns > empty array. >  > > And DataPusher thread is not created, because of AudioSystem.isLineSupported > returns false in the method > `com.sun.media.sound.JavaSoundAudioClip#createSourceDataLine`. > I propose to perform the same check in test code and skip it. I wasn't able to reproduce failure after the fix. ------------- PR: https://git.openjdk.org/jdk/pull/10717
