[gst-devel] simultaneous OSS playback/record

Thomas Vander Stichele thomas at apestaart.org
Sat Jun 17 21:41:05 CEST 2006


On Fri, 2006-06-16 at 12:40 -0500, Wilson, Diego wrote:
> Thomas,
> 
> I'm not saying I'm in love with the idea of opening devices outside the
> gst framework. But I haven't come up with a better solution. I'm
> completely open for suggestions.

I'm just saying that if it's up to me this is not a change that should
be merged in GStreamer.  Who opened the fd ? Who should close it ? Was
it opened in non-blocking mode ? Does it match the model the src and the
sink use ?

The only decent way I could see this work is if there was a way for
osssrc and osssink to exchange the fd between them transparently.

FWIW, I am surprised that the OSS manual says this; obviously pretty
much all OSS drivers completely ignore what the manual says, because all
sound cards that I ever had that supported full duplex did so just fine
with being opened twice.

I'm assuming you have some very esoteric card if you're saying the OSS
driver can't be changed and there's no ALSA driver.  Making an exception
like this into our repository for a card that if I understand correctly
you can't tell us which it is sounds like not enough motivation to merge
this API addition.

Thomas





More information about the gstreamer-devel mailing list