* Full Duplex (Play + Record simultaniously)
@ 1999-03-03 16:55 Georg Wendt
1999-03-03 17:25 ` Raoul Boenisch
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: Georg Wendt @ 1999-03-03 16:55 UTC (permalink / raw)
To: linux-sound
Hello,
I wanna use a record-programm running in one shell and playback audio
started on another shell.
However, whenever one of the programs has started, it blocks the
dsp-device and the other application can't work.
Is there a way to avoid this effect?
Since I work on the sourcecode of the player and the recorder, I don't
care if there's a solution where I need to set some sort
Systemparameters...
Another way: What about using two soundcards, one for playback, the
other for recording? Since I can decide the sound-device used by the
applications, this should work, shouldn't it?
Thanx a lot for any answer!!! :-)
Ciao Georg
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: Full Duplex (Play + Record simultaniously)
1999-03-03 16:55 Full Duplex (Play + Record simultaniously) Georg Wendt
@ 1999-03-03 17:25 ` Raoul Boenisch
1999-03-04 11:35 ` Thomas Sailer
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Raoul Boenisch @ 1999-03-03 17:25 UTC (permalink / raw)
To: linux-sound
On Wed, 3 Mar 1999, Georg Wendt wrote:
> Another way: What about using two soundcards, one for playback, the
> other for recording? Since I can decide the sound-device used by the
> applications, this should work, shouldn't it?
Yes, it works. I did it with an sb16 and a spea media fx.
--
Raoul Boenisch, Winkhauser Talweg 165, 45473 Muelheim an der Ruhr, Germany
homepage: http://www.raoul.home.pages.de/ home phone: +49 208 764257
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: Full Duplex (Play + Record simultaniously)
1999-03-03 16:55 Full Duplex (Play + Record simultaniously) Georg Wendt
1999-03-03 17:25 ` Raoul Boenisch
@ 1999-03-04 11:35 ` Thomas Sailer
1999-03-04 15:58 ` Eric B. Mitchell
1999-03-04 18:32 ` Thomas Sailer
3 siblings, 0 replies; 5+ messages in thread
From: Thomas Sailer @ 1999-03-04 11:35 UTC (permalink / raw)
To: linux-sound
Georg Wendt wrote:
> I wanna use a record-programm running in one shell and playback audio
> started on another shell.
> However, whenever one of the programs has started, it blocks the
> dsp-device and the other application can't work.
Depends on the soundcard and the driver. With some drivers this works.
> Is there a way to avoid this effect?
Yep - don't access the audio device directly, use an intermediate
program. EsounD might provide what you need.
> Another way: What about using two soundcards, one for playback, the
> other for recording? Since I can decide the sound-device used by the
> applications, this should work, shouldn't it?
In this case you get plesiochronous sampling rates. If that is a
problem depends on the application.
Tom
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Full Duplex (Play + Record simultaniously)
1999-03-03 16:55 Full Duplex (Play + Record simultaniously) Georg Wendt
1999-03-03 17:25 ` Raoul Boenisch
1999-03-04 11:35 ` Thomas Sailer
@ 1999-03-04 15:58 ` Eric B. Mitchell
1999-03-04 18:32 ` Thomas Sailer
3 siblings, 0 replies; 5+ messages in thread
From: Eric B. Mitchell @ 1999-03-04 15:58 UTC (permalink / raw)
To: linux-sound
Thomas Sailer wrote:
>
> Georg Wendt wrote:
>
> > I wanna use a record-programm running in one shell and playback audio
> > started on another shell.
> > However, whenever one of the programs has started, it blocks the
> > dsp-device and the other application can't work.
>
> Depends on the soundcard and the driver. With some drivers this works.
>
> > Is there a way to avoid this effect?
>
> Yep - don't access the audio device directly, use an intermediate
> program. EsounD might provide what you need.
The OSS drivers allow full duplex operation on some sound cards.
My SB AWE 32 works great for it. EsounD will use it if it's
available, but I'm not sure how robust the error handling is
should the full duplex operation fail (haven't had the problem
myself =).
> > Another way: What about using two soundcards, one for playback, the
> > other for recording? Since I can decide the sound-device used by the
> > applications, this should work, shouldn't it?
>
> In this case you get plesiochronous sampling rates. If that is a
> problem depends on the application.
plesiochronous? i assumes that translates roughly into "skewed data"?
> Tom
-- ebm
+=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=+
| Eric B. Mitchell mailto:ericmit@ix.netcom.com |
+=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=+
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Full Duplex (Play + Record simultaniously)
1999-03-03 16:55 Full Duplex (Play + Record simultaniously) Georg Wendt
` (2 preceding siblings ...)
1999-03-04 15:58 ` Eric B. Mitchell
@ 1999-03-04 18:32 ` Thomas Sailer
3 siblings, 0 replies; 5+ messages in thread
From: Thomas Sailer @ 1999-03-04 18:32 UTC (permalink / raw)
To: linux-sound
"Eric B. Mitchell" wrote:
> The OSS drivers allow full duplex operation on some sound cards.
> My SB AWE 32 works great for it. EsounD will use it if it's
> available, but I'm not sure how robust the error handling is
> should the full duplex operation fail (haven't had the problem
> myself =).
You've got the source for EsounD, you can improve the situtation 8-)
> plesiochronous? i assumes that translates roughly into "skewed data"?
The sampling rates are slightly different, thus sliding about each
other. If you don't do any corrective measures, you'll either
get buffer overruns or underruns.
Tom
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~1999-03-04 18:32 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-03-03 16:55 Full Duplex (Play + Record simultaniously) Georg Wendt
1999-03-03 17:25 ` Raoul Boenisch
1999-03-04 11:35 ` Thomas Sailer
1999-03-04 15:58 ` Eric B. Mitchell
1999-03-04 18:32 ` Thomas Sailer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox