[prev in list] [next in list] [prev in thread] [next in thread]
List: openjdk-2d-dev
Subject: Integrated: 8282463: javax/sound/sampled/Clip/DataPusherThreadCheck.java fails
From: Andrey Turbanov <aturbanov () openjdk ! org>
Date: 2022-10-30 17:37:06
Message-ID: -RCIXFr0Ov_xScK5c7GOO_AFL2FRz5qteIxlbliYIJ0=.5561fab0-2e10-465d-aa3a-8a0401a93c84 () github ! com
[Download RAW message or body]
On Sat, 15 Oct 2022 13:03:26 GMT, Andrey Turbanov <aturbanov@openjdk.org> wrote:
> Test failed on Ubuntu, because both implementations of `MixerProvider` have no \
> devices: 1. com.sun.media.sound.DirectAudioDeviceProvider#nGetNumDevices returns \
> `0`
> ![DirectAudioDeviceProvider \
> init](https://user-images.githubusercontent.com/741251/195988216-aa86da0f-739b-433f-87e2-86c2d6904a0d.png)
> 2. com.sun.media.sound.PortMixerProvider#nGetNumDevices returns `0`
> ![PortMixerProvider \
> init](https://user-images.githubusercontent.com/741251/195988239-59678e0c-be7b-43ff-b02a-9abb2392e8f9.png)
>
>
> It leads to `javax.sound.sampled.spi.MixerProvider#getMixerInfo` returns empty \
> array.
> ![AudioSystem getMixedInfoList](https://user-images.githubusercontent.com/741251/195988266-1656e6d3-de4a-4e53-a613-415f60075726.png)
>
> 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.
This pull request has now been integrated.
Changeset: 2e716375
Author: Andrey Turbanov <aturbanov@openjdk.org>
URL: https://git.openjdk.org/jdk/commit/2e7163759c75cab6ab5ffa04c13d32ccc95f9719
Stats: 6 lines in 1 file changed: 6 ins; 0 del; 0 mod
8282463: javax/sound/sampled/Clip/DataPusherThreadCheck.java fails
Reviewed-by: prr, serb
-------------
PR: https://git.openjdk.org/jdk/pull/10717
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic