From owner-freebsd-java Thu Jan 3 23: 1: 7 2002 Delivered-To: freebsd-java@freebsd.org Received: from daedalus.cs.brandeis.edu (daedalus.cs.brandeis.edu [129.64.3.179]) by hub.freebsd.org (Postfix) with ESMTP id 5F64937B416 for ; Thu, 3 Jan 2002 23:01:04 -0800 (PST) Received: from localhost (meshko@localhost) by daedalus.cs.brandeis.edu (8.9.3/8.9.3) with ESMTP id CAA06346; Fri, 4 Jan 2002 02:00:41 -0500 Date: Fri, 4 Jan 2002 02:00:41 -0500 (EST) From: Mikhail Kruk To: Greg Lewis Cc: Brian Skrab , Subject: Re: Playing audio with Java (JDK 1.3.1)??? In-Reply-To: <20020104172112.A90690@misty.eyesbeyond.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 I have appletviewer from 1.3.1 playing au files more or less fine. I suspect that you are just asking to much of it. Last time I checked appletviewer was playing only .au files (sun's audio format). I might be wrong here though... I think that last time was around jdk 1.1 :) In other words try your applet on win32 or Linux, maybe it it's not supposed to work. > 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 > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message