[gst-devel] simultaneous OSS playback/record

Wilson, Diego dwilson at ti.com
Tue Jun 13 20:20:49 CEST 2006


None of them work. I'm getting the following error on all of them:

ERROR: from element /pipeline0/osssrc0: Unable to open device /dev/dsp
for recording: Device or resource busy

Again, each individually works fine.


Diego Wilson

-----Original Message-----
From: Edgard Lima [mailto:edgard.lima at indt.org.br] 
Sent: Tuesday, June 13, 2006 11:56 AM
To: Wilson, Diego
Cc: gstreamer-devel at lists.sourceforge.net
Subject: Re: [gst-devel] simultaneous OSS playback/record

The three below seems to work for me, what of them doesn't work for you?


gst-launch-0.10 osssrc ! osssink


gst-launch-0.10 osssrc ! fakesink audiotestsrc ! osssink


gst-launch-0.10 osssrc ! fakesink
gst-launch-0.10 audiotestsrc ! osssink


ext Wilson, Diego 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.
> Now I don't know if this is even supposed to work. I ran a gst-launch 
> with osssink then try running a gst-launch with osssrc. The later 
> complains that the device is already being used.
> Then I read the Open Sound System Programmer's Guide. It quite 
> specifically said that:
> "With the current OSS implementation it is not possible to open a 
> device that is already open"
> Does that mean I can't do playback and record simultenously using OSS?

> Is the only answer having to devices?
> Regards,
> _________________________
> Diego Wilson
>gstreamer-devel mailing list
>gstreamer-devel at lists.sourceforge.net

More information about the gstreamer-devel mailing list