Date: Fri, 4 May 2001 16:57:27 +0530 From: "Sudhir Kumar" <KSudhir@icope.com> To: "'java-port@FreeBSD.ORG'" <freebsd-java@FreeBSD.ORG> Subject: Reading and writing audio data at the same time on Linux Message-ID: <51C3A5885AC5D111B68100201861C72750218D@INTERCOPE>
next in thread | raw e-mail | index | archive | help
Hi, I am doing an application (voice based) that require "Source data line"(audio data can be read) and "Target data line"(data may be written) to be open at the same time. I am creating two threads, one for reading, and other for writing and starts both at same time. On Windows 2000, both thread runs, but on Linux one thread blocks. If thread started reading the audio data from "Source data line" then other will wait for some resource and vice versa. If i run one thread in my application (any one thread), it works. If i run each thread in different application, it blocks. Everything runs perfectly well on Windows 2000. I am using jdk1.3 on SuSe Linux 7.0 and using javax.sound.sampled package. Can anyone give me an idea of what to do? I would be glad to explain more. Thanks in advance for your help. Sudhir To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?51C3A5885AC5D111B68100201861C72750218D>