Am Samstag, 2. September 2006 20:21 schrieb Bill Unruh:
> On Sat, 2 Sep 2006, Lee Revell wrote:
> > On Sat, 2006-09-02 at 11:58 -0400, Geddes Munson wrote:
> >> Greetings,
> >>
> >> I am trying to get our college radio station to do online
> >> streaming, and I am pretty close. Running debian with the 2.6
> >> kernel and the M-Audio M44 sound card. It all works, but I need to
> >> run two different encoding programs, darkice for mp3 streaming,
> >> and realproducer for streaming to the college's helix server. Both
> >> work individually, but I can't get them to work at the same time,
> >> when darkice is encoding (live from soundcard) realproducer spits
> >> out the error:
> >>
> >> Error: Could not open audio device '/dev/dsp'
> >>
> >>
> >> When I run it. If I run realproducer first, darkice spits out the
> >> same error. How can I configure ALSA to allow multiple
> >> applications to tap into the sound cards inputs?
> >
> > You'll have to use applications that support ALSA.  /dev/dsp is the
> > legacy OSS API and unless you have a hardware mixing soundcard,
> > using it blocks other applications from using the sound device, as
> > ALSA's software mixing layer is bypassed.
> >
> > You might be able to run the OSS apps using the "aoss" wrapper but
> > the real solution is for your apps to support ALSA.
>
> Actually it sounds like what he wants is that the same input be
> delivered to two separate programs. Not mixing, but splitting.
>
> He could of course run a little program to do the splitting. The
> problem is synchronisation. How do you make sure that all the data
> gets to all of the outputs. And that all of the outputs want the data
> in the same form (eg if one asks for 22050Hz and the other for 48000
> Hz you are in trouble. )
>
> He is almost certainly using the alsa oss emulation layer rather than
> real oss drivers.
>
I read something about salsa "simple ALSA emulation on OSS drivers" from 
4front technologies. I don't know if it's related to the issue here.
http://www.4front-tech.com/forum/viewforum.php?f=24

Isn't it possible to achieve that using asym, dmix and dsnoop with alsa 
aware applications, or using aoss?

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to