From owner-freebsd-java@FreeBSD.ORG Sun Jan 30 22:54:18 2011 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A3AB31065673 for ; Sun, 30 Jan 2011 22:54:18 +0000 (UTC) (envelope-from devnullaccount@yahoo.se) Received: from nm7.bullet.mail.ird.yahoo.com (nm7.bullet.mail.ird.yahoo.com [77.238.189.21]) by mx1.freebsd.org (Postfix) with SMTP id 0ADDE8FC08 for ; Sun, 30 Jan 2011 22:54:17 +0000 (UTC) Received: from [77.238.189.57] by nm7.bullet.mail.ird.yahoo.com with NNFMP; 30 Jan 2011 22:40:16 -0000 Received: from [212.82.108.249] by tm10.bullet.mail.ird.yahoo.com with NNFMP; 30 Jan 2011 22:40:16 -0000 Received: from [127.0.0.1] by omp1014.mail.ird.yahoo.com with NNFMP; 30 Jan 2011 22:40:16 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 731401.70569.bm@omp1014.mail.ird.yahoo.com Received: (qmail 35822 invoked by uid 60001); 30 Jan 2011 22:40:16 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.se; s=s1024; t=1296427216; bh=FCpnVjL1UVMXkS/lg01sIj7jrhyJqzyyjJ/l85OrkPY=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=tVsJzWsNIjIsUiBGHAo9y7R9nbRtTklVwEwXrU/ESK3Pk9HadnH3uZEM54gKU2kWw1R79U5UznumhUnWbSc3ENLdjxobrC5sJGrQZViDbt/3kOruHpsJq6JitVl4yg2Y5q9xOYTo+Y0PTb1MomXG99Y32pDB/H5eqhUvTqRURHY= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.se; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=QKYa8VNHU5RQdkNFucFN1ezmGDHMXET7LaQC1YTkJXmSYvaHUrGbWGU1FwTpFVOcq2FOiKxUv3W2JAGvut+Uk+2Kwm/5VYLslBRaEpqP2unT4NO4GvB+aI2EHAuptWeAGxGwD3SWaxvxDP7QTGvyVWjU7qDyxaS/6ryCxxMA6XA=; Message-ID: <591837.33750.qm@web29013.mail.ird.yahoo.com> X-YMail-OSG: K2.PIjIVM1mDaVeRkxVwdpzpFk5TQAXo76qfL_M8bttN1y8 Ms1vW3QPm_YH2hG_QlFL5upi4foOpGkyFo4l.gJhXOJjfqxG1z71jgCZMowp SAGD2hEH.0qA35rOyeEDaLmzs2ayW98skVqt3HZYftFxneTfAHOjio.rkW3Z 5WX6lUKmd6f2JxtfWb3E0_3X38K3mR8jBVK7iL9B6CPRD_vN4gGu.VKJ_HS4 7RWX9.8YxhfqBL0coXjXe34cwPsz5O4fGQyYSBLtJcmi8KCLN8m_5uEfVl2v BNPvRmKbXCyAsjigBozpVrOyPr5dBaMyJ0qPeE0UwQ1lH_rOD1Jo- Received: from [213.113.1.56] by web29013.mail.ird.yahoo.com via HTTP; Sun, 30 Jan 2011 22:40:16 GMT X-Mailer: YahooMailClassic/11.4.20 YahooMailWebService/0.8.107.285259 Date: Sun, 30 Jan 2011 22:40:16 +0000 (GMT) From: Chris To: freebsd-java@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Sound not working from openjdk6? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Jan 2011 22:54:18 -0000 Hi, I'm trying out the sound APIs in Java under FreeBSD 8.1 with the latest openjdk6 on an amd64 platform: openjdk version "1.6.0" OpenJDK Runtime Environment (build 1.6.0-b20) OpenJDK 64-Bit Server VM (build 17.0-b16, mixed mode) And whatever I try do do with the sound system, I get exceptions saying the format is unsupported, and I don't know if it is me or the platform.. I'm getting the same errors as pointed out in an old thread on this list: http://lists.freebsd.org/pipermail/freebsd-java/2006-February/004958.html And trying the test program from the same thread: http://lists.freebsd.org/pipermail/freebsd-java/2006-February/004959.html Gives errors that "No line matching interface SourceDataLine is supported." (and the same for TargetDataLine). Am I doing something seriously wrong (e.g. is there something I should have initialized?) or is this known to not work? Btw, /dev/sndstat says (running snd_hda driver, which works fine from e.g. mplayer, so the sound in the OS is working at least): FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64) Installed devices: pcm0: (play/rec) default pcm1: (play) pcm2: (play) pcm3: (play) pcm4: (play) pcm5: (play) pcm6: (play) Any help appreciated. /Chris