From nobody Fri Dec 19 09:01:24 2025 X-Original-To: java@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4dXhNN6zPBz6L7vN for ; Fri, 19 Dec 2025 09:01:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4dXhNN46Lbz42qC for ; Fri, 19 Dec 2025 09:01:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1766134884; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=8H1XwmcxNMWebJWMBf26XHbck10mEXT5DVHSaAiiQKU=; b=hOYKq1gLc08Zl76vuVPSL3YFPek1hnnzJHjN0etewdkRTMKtvSZ1cSGU+HpZyMj3+14G04 aoY76+/9nCsHqJXq+xXs0qD1/dnSUPRau6kvTlonDFp1L1/vJKiFMofrB/SbVo3Jcw3esD b1kS2sh+YlxxfMUTSrg1Z3yE7iu7YAD1dj7LqeY951Eb3cSiDwFDrqng4bMsKqXi77s63p 90aLhbC9qYyLv8Z8z2RG5wpKur1Ri8Go8u3lu28U7GjfI3jL8xWNk7OYPNIbAOfukQxZnN QV43XhKO1vQT0jfY/0UVZE5HanK/xj8kodDWP7RMe7BlxCkEk9jnddPJiqZ9Ww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1766134884; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=8H1XwmcxNMWebJWMBf26XHbck10mEXT5DVHSaAiiQKU=; b=PmTfj7FkXdLHMEsAuNJFpLFy0h/SAQMN8LcCb/NaaXD9T0maIU4TPrRtd0EqmsIcJLn/GY AsogahQYTLm+r32XqSYjHEHQGUzpwujIzTgwIhdj5wBjvRXzpy6ywl4ZgV5kU8QY2cmVGf Os+axBz5O9KLsLWiK0iBHfae9v3Fph/VknZBCcv1a+acikwFcZ2bsWAzotm6vDNDdrhXQ/ AIN0BJ9KGFz8r5cywg1NSnFAAGXiU3J3gmSuNtdT/BS/DZK4NeJaoMYHv/FDNfju9B5rBI dtcZ0NhsDdNfXKjyBSa+7cxxw+1/Q7v5Z2COVucz6uyaUbg9iOM/+uKu97cbig== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1766134884; a=rsa-sha256; cv=none; b=ZojCULQ/fFKP4E6FfKNFWjYOfDx1apiZGrc182HBnYIxhNyi16eD2vWiPhvQLTzONHE848 fpqnpdz9wiGjZHYBwGz/EXMOgptQgg5d0p/RFQX1/I3M8hLiEVgrH6EpfW/4WhpOukIhNX XiJFPwCqjlPebtaAD6ApHb3vjOz1BonqNahWIA+/qOA+Dks/FKYgIgPmo5hnGYpoborELQ xvjNauND/X3hyiy/Wv1TVEN1sUF9TudMzPyS0nLzfTrDej479DoY1CidusJ0gHYj/44HQ+ Kuyjzuu3nFlkvLXcgH4slG84dONU2UYpCql76ca/7C2egKwTkRDLHDeTiU+gkQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4dXhNN3JBfz1GDF for ; Fri, 19 Dec 2025 09:01:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 5BJ91OhL047225 for ; Fri, 19 Dec 2025 09:01:24 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5BJ91Ohj047224 for java@FreeBSD.org; Fri, 19 Dec 2025 09:01:24 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: java@FreeBSD.org Subject: [Bug 291743] Java programs cannot play sound Date: Fri, 19 Dec 2025 09:01:24 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: haraldei@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: java@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Porting Java to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-java List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-java@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D291743 Harald Eilertsen changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |Open --- Comment #4 from Harald Eilertsen --- (In reply to Mikhail Teterin from comment #3) Hi, yes, I get the following output from jshell: % JAVA_VERSION=3D22 jshell | Welcome to JShell -- Version 22.0.2 | For an introduction type: /help intro jshell> javax.sound.sampled.AudioSystem.getMixerInfo(); $1 =3D=3D> Mixer$Info[1] { oss [default], version } And the test program ran and played the test file just fine: % JAVA_VERSION=3D22 java ./audio-test.java pure-tone.wav The following mixer available: oss [default], version pure-tone.wav: input format: PCM_SIGNED 44100.0 Hz, 16 bit, mono, 2 bytes/frame, little-endian pure-tone.wav: using format: PCM_SIGNED 44100.0 Hz, 16 bit, mono, 2 bytes/frame, little-endian `audio-test.java` is the file you attached to this issue. If you install alsa-utils, what is the output of `aplay -L`? And is aplay a= ble to play any audio files? --=20 You are receiving this mail because: You are the assignee for the bug.=