Date: Fri, 19 Dec 2025 10:54:14 +0000 From: bugzilla-noreply@freebsd.org To: java@FreeBSD.org Subject: [Bug 291743] Java programs cannot play sound Message-ID: <bug-291743-8522-1t3iHW9haL@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-291743-8522@https.bugs.freebsd.org/bugzilla/> References: <bug-291743-8522@https.bugs.freebsd.org/bugzilla/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291743 --- Comment #5 from Vladimir Druzenko <vvd@FreeBSD.org> --- /usr/local/openjdk8/bin/javac play.java $ for J in /usr/local/openjdk*; do echo ${J}; ${J}/bin/java play /usr/local/lib/python3.11/test/audiotest.au; done /usr/local/openjdk11 The following mixer available: oss [default], version /usr/local/lib/python3.11/test/audiotest.au: input format: ULAW 8012.0 Hz, 8 bit, mono, 1 bytes/frame, /usr/local/lib/python3.11/test/audiotest.au: using format: PCM_SIGNED 8012.0 Hz, 16 bit, mono, 2 bytes/frame, little-endian /usr/local/openjdk17 The following mixer available: oss [default], version /usr/local/lib/python3.11/test/audiotest.au: input format: ULAW 8012.0 Hz, 8 bit, mono, 1 bytes/frame /usr/local/lib/python3.11/test/audiotest.au: using format: PCM_SIGNED 8012.0 Hz, 16 bit, mono, 2 bytes/frame, little-endian /usr/local/openjdk21 The following mixer available: oss [default], version /usr/local/lib/python3.11/test/audiotest.au: input format: ULAW 8012.0 Hz, 8 bit, mono, 1 bytes/frame /usr/local/lib/python3.11/test/audiotest.au: using format: PCM_SIGNED 8012.0 Hz, 16 bit, mono, 2 bytes/frame, little-endian /usr/local/openjdk25 The following mixer available: oss [default], version /usr/local/lib/python3.11/test/audiotest.au: input format: ULAW 8012.0 Hz, 8 bit, mono, 1 bytes/frame /usr/local/lib/python3.11/test/audiotest.au: using format: PCM_SIGNED 8012.0 Hz, 16 bit, mono, 2 bytes/frame, little-endian /usr/local/openjdk8 The following mixer available: oss [default], version /usr/local/lib/python3.11/test/audiotest.au: input format: ULAW 8012.0 Hz, 8 bit, mono, 1 bytes/frame, /usr/local/lib/python3.11/test/audiotest.au: using format: PCM_SIGNED 8012.0 Hz, 16 bit, mono, 2 bytes/frame, little-endian Sound work for me for all installed JDKs. $ pkg info | grep alsa alsa-lib-1.2.14 ALSA compatibility library alsa-plugins-1.2.12_1 ALSA compatibility library plugins gstreamer1-plugins-alsa-1.26.9 GStreamer ALSA plugin linux-c7-alsa-lib-1.1.8 Advanced Linux Sound Architecture libraries (Linux CentOS 7.9.2009) linux-c7-alsa-lib-devel-1.1.8 Advanced Linux Sound Architecture headers (Linux CentOS 7.9.2009) linux-c7-alsa-plugins-oss-1.1.6_4 OSS plugin for ALSA (Linux CentOS 7.9.2009) linux-c7-alsa-plugins-pulseaudio-1.1.6_1 PulseAudio plugin for ALSA (Linux CentOS 7.9.2009) linux-c7-alsa-utils-1.1.8_1 Advanced Linux Sound Architecture utilities (Linux CentOS 7.9.2009) -- You are receiving this mail because: You are the assignee for the bug.help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-291743-8522-1t3iHW9haL>
