From owner-freebsd-java@FreeBSD.ORG Wed Nov 12 13:35:48 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5412016A4CE for ; Wed, 12 Nov 2003 13:35:48 -0800 (PST) Received: from ms-smtp-02-eri0.southeast.rr.com (ms-smtp-02-lbl.southeast.rr.com [24.25.9.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2A70943F3F for ; Wed, 12 Nov 2003 13:35:47 -0800 (PST) (envelope-from mmercer@nc.rr.com) Received: from [192.168.1.2] (rdu88-246-041.nc.rr.com [24.88.246.41]) hACLZitS020252 for ; Wed, 12 Nov 2003 16:35:45 -0500 (EST) From: "Michael E. Mercer" To: freebsd-java@freebsd.org Content-Type: text/plain Message-Id: <1068672944.39385.17.camel@dual.mmercer.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Wed, 12 Nov 2003 16:35:44 -0500 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Symantec AntiVirus Scan Engine Subject: FYI: Full Duplex Sound in JAVA. X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Nov 2003 21:35:48 -0000 All, PLEASE NOTE: If your soundcard is not full duplex compatible, this DOES NOT magically give you full duplex. In case you don't know.... If you would like to open both the TargetDataLine and SourceDataLine in JAVA at the same time, you need to define -DFULL_DUPLEX when you compile jdk1.4.1/2. I think this will do it. I need someone to confirm this because I just changed the #define in j2se/src/solaris/native/com/sun/media/sound/engine/HAE_API_BSDOS.c from "NO_FULL_DUPLEX" to "FULL_DUPLEX" to get this effect. This define uses the code that sets your soundcard to full duplex. Hope this is found useful, Michael E Mercer