Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Jeff Higgins Newsgroups: comp.lang.java.programmer Subject: Re: Reading sound output in Java Date: Sat, 26 Oct 2013 11:36:20 -0400 Organization: A noiseless patient Spider Lines: 26 Message-ID: References: <8146fa5b-403e-47a3-bc4f-cb76a9a2239d@googlegroups.com> <26c9e48e-7ab1-45be-8869-56e2f6b9f9ca@googlegroups.com> <273e95fc-a887-410f-a84e-15be809da895@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Sat, 26 Oct 2013 15:36:21 +0000 (UTC) Injection-Info: mx05.eternal-september.org; posting-host="6b9e92482af47766954d85fb77d372f5"; logging-data="19597"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18RmRfvA1/jRCOE56gwlULn3vqSnhUUMKw=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130922 Icedove/17.0.9 In-Reply-To: Cancel-Lock: sha1:rTIPbiIuuUkZKhyREYeNyAQN8Uo= Xref: csiph.com comp.lang.java.programmer:26436 On 10/26/2013 07:45 AM, Andreas Leitgeb wrote: > GGolf wrote: >>> Unless you've got some very special sound hardware on the primary (VoIP >>> running) machine, capturing both input and output (where input isn't >>> itself mixed into the output) may just not be possible. >> Hmm...I think you got a point here. I remember that the Stereo Mix >> option on Windows wouldn't record the input to the microphone unless you >> would /play it back/ to the speakers. > > The core of the problem appears to be that there is only one sound-device > on a typical system, and the mixer settings are a property of that one device, > not per-process. > > If the VoIP application obviously specifically requires to record only the > microphone (in order to transmit it to the parties), then another process > cannot have its own settings to record everything. > > I'm not sure if you need a recording solution for yourself, or if you > intended to create a transcription add-on to be used by Joe "VoIP" User. > If it was the latter, then I fear it won't be that easy. If you create > your own VoIP client that would be a different story, and also if there > was an existing VoIP client with a decent API for plugging into the sound > stream. >