Re: Can't access soundcard by several application at the same time.

From: Andy Fraser (andyfraser31_at_hotmail.com)
Date: 08/29/05


Date: Mon, 29 Aug 2005 21:29:01 +0100

Michael Heiming <michael+USENET@www.heiming.de> wrote:

> > Here we go. Roll out the usual, tired open source clich?s. I had to give
> > up a good deal of my warm and sunny bank holiday weekend for work so do
> > you really think I have the time to mess about with fixing sound in
> > Linux?
>
> You seem to spend some time here, helping others out with usually
> pretty good advice (iirc)?

There are always times when I need a break from whatever I'm doing so I
catch up on Usenet posts then. That may be 5 mins every hour - hour and
a half. It just appears that I speend more time here. :-)
 
> > If putting a roof over my head and food on the table wasn't a
> > priority then maybe I would have the time. Oh, sorry, I forgot. You
> > can't express any negative opinions of open source software unless you
> > actually fix it yourself.
>
> Yep, that's the problem with moaning about, tried to check the
> problem, but can't there are 2 soundcards in my box, due to the
> onboard w/o headphone connector as outlined in this thread.
>
> Looking deeper, seems as for convenience made a link "/dev/dsp ->
> /dev/dsp1" for any app dump enough not to use arts.

udev did something like that for me. /dev/dsp is a symlink to something
else (the machine is now off so I can't check).
 
> As I seem to be incapable of checking out your problems, w/o
> "destroying" my working sound config the 20 Euro investment
> soundcard + the symlink look like a pretty good idea.;)
>
> [..]
>
> > What's your next suggestion? Don't use those apps? Only use KDE apps?
> > Only use apps with arts plugins? Been there, done that. If a non-KDE app
>
> Get a second sound card and stop whining. It's not my fault if
> your system has a problem. ;)

A new soundcard wouldn't help (I have an old SB Live! floating about so
I know). My problems aren't problems, they're issues. ;-)

The issue is this: OSS only lets one program use it at a time hence the
creation of systems like arts and esound. ALSA, with dmix, solves this
issue but not for OSS only apps and there are still some of them around.

The answer would be for me (or someone) to either 1) change these apps
to work with ALSA, 2) change ALSA so OSS works with dmix the way native
ALSA stuff does or 3) change OSS so it works the same way it does in
FreeBSD (i.e. port the FreeBSD OSS over to Linux).

1 isn't possible with closed source software like RealPlayer (I think UT
and Quake3 suffer from this too but I can live without them). 2 and 3
would take me at least a month to get up to speed with then maybe to
find out it's not doable anyway or would take way too long then I have
to persuade the ALSA devs and/or the kernel devs to adopt my changes.

All in all, it's easier for me to switch over to FreeBSD. :-)

-- 
Andy.


Relevant Pages

  • RE: IE in FreeBSD?
    ... >with OSS or the free Adobe Reader products. ... anyone running FreeBSD should be able to answer it. ... I think you would be better served running those Windows desktop apps on ... There are actions you can take that help all three goals, ...
    (freebsd-questions)
  • Re: [Alsa-devel] OSS driver removal, 2nd round
    ... All the apps the user was trying also support ... ALSA natively now, ... Even if you reject this argument, the bug is in ALSA's in-kernel OSS ... As sound hardware gets dumber and cheaper, kernel OSS emulation will ...
    (Linux-Kernel)
  • Re: [Alsa-devel] OSS driver removal, 2nd round (v2)
    ... But OSS is kewl and ALSA sucks! ... If ALSA sucks, ... It's very interesting that with some apps aoss method ... But it must be done in kernel because kernel should know these ...
    (Linux-Kernel)
  • Re: [Alsa-devel] OSS driver removal, 2nd round (v2)
    ... But OSS is kewl and ALSA sucks! ... If ALSA sucks, ... It's very interesting that with some apps aoss method ... But it must be done in kernel because kernel should know these ...
    (Linux-Kernel)
  • Re: virtual OSS devices [for making selfish apps happy]
    ... >> OSS layout of my ALSA drivers, though, there just came into my mind to ... With a recent ALSA dmix is already used by ... > default so the only change needed is to launch the OSS apps with the ... toss Threaded Open Sound System ...
    (Linux-Kernel)