[gst-devel] simultaneous OSS playback/record
Rob Taylor
robtaylor at floopily.org
Tue Jun 13 00:57:03 CEST 2006
Diego,
The usual solution is to run all your pipelines in the same process. I
don't know if this is possible with gst-launch, but if you read the
application developers guide, you'll see that is relatively simple to
transcribe a gst-launch line into a small c program and there you can
create multiple pipelines to your heart's content. Unfortunately we
can't work around the limitations of OSS ;)
Thanks,
Rob Taylor
Collabora Ltd.
Wilson, Diego wrote:
> Zaheer,
>
> My audio device *does* support full duplex mode. However, it only
> supports it within the same process. You are allowed to open the device
> just once. That is as opposed to being open twice, as osssink/osssrc are
> attempting.
>
> And this is where I'm confused. As the "Open Sound System Programmer's
> Guide" on page 101 states:
>
> "Full duplex does not mean that the same device can be used twice. With
> the current OSS implementation it is not possible to open a device that
> is already open."
>
> So again my question, are osssink/osssrc expected to open the same
> device twice? Or open two devices? Or never work similtenously at all?
>
> And unfortunately I do not have access to an alsa driver :(
>
> Regards,
>
> _________________________
> Diego Wilson
>
> -----Original Message-----
> From: zaheermerali at gmail.com [mailto:zaheermerali at gmail.com] On Behalf
> Of Zaheer Merali
> Sent: Monday, June 12, 2006 2:55 PM
> To: Wilson, Diego
> Cc: gstreamer-devel at lists.sourceforge.net
> Subject: Re: [gst-devel] simultaneous OSS playback/record
>
> On 6/12/06, Wilson, Diego <dwilson at ti.com> wrote:
>>
>>
>>
>> Hi all,
>>
>>
>>
>> I'm in a pickle and one of you guys might be able to help me out.
>>
>>
>>
>> I'm running GStreamer 0.10 on an arm platform with one /dev/dsp
> device. I've
>> already tested osssrc and osssink. They both work fine. The problem is
> when
>> I try to run them both at the same time.
>>
>
> Hi, it could be that your device or driver does not work full duplex.
> It would be better if you had an alsa driver for your sound device and
> used alsasrc and alsasink.
>
> Zaheer
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
More information about the gstreamer-devel
mailing list