From owner-freebsd-java Thu Jan 3 22:51:22 2002 Delivered-To: freebsd-java@freebsd.org Received: from mgr2.xmission.com (mgr2.xmission.com [198.60.22.202]) by hub.freebsd.org (Postfix) with ESMTP id CABA837B416 for ; Thu, 3 Jan 2002 22:51:19 -0800 (PST) Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr2.xmission.com with esmtp (Exim 3.22 #1) id 16MOCE-0006wZ-00; Thu, 03 Jan 2002 23:51:19 -0700 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id g046pDk90709; Fri, 4 Jan 2002 17:21:13 +1030 (CST) (envelope-from glewis) Date: Fri, 4 Jan 2002 17:21:13 +1030 From: Greg Lewis To: Brian Skrab Cc: freebsd-java@FreeBSD.ORG Subject: Re: Playing audio with Java (JDK 1.3.1)??? Message-ID: <20020104172112.A90690@misty.eyesbeyond.com> References: <20020103145556.G11696-100000@pinky.us.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020103145556.G11696-100000@pinky.us.net>; from bgs@pinky.us.net on Thu, Jan 03, 2002 at 04:20:29PM -0500 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu, Jan 03, 2002 at 04:20:29PM -0500, Brian Skrab wrote: > I'm attempting to play a small WAV file on my FreeBSD box, running > 4.4-STABLE and jdk1.3.1. Using the method described in almost every > Java sound tutorial I've found results in the application simply > waiting forever. Here is the source code that I'm using: I've no idea who has tested playing sound other than you, but as the person who munged in the sound code from 1.2.2, I can tell you that this is the first time I've heard from someone who has tested the code under 1.3.1. I can also tell you that I have no sound card, nor any familiarity with how sound playing works. However, I'm told that the sound support did partially work in 1.2.2 (Rob Furphy got it to that stage). I believe that it did play some formats but not others. So, I'd try another format :). I would guess that your chances of JavaSound stuff working well is pretty limited unless someone (with a sound card preferably :) steps up in terms of debugging it. Probably not what you wanted to hear, but may be helpful :). -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Phone : (801) 796 6999 Information Technology Web : http://www.eyesbeyond.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message