From: Yoav Luft <yoav.luft@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: Sound card is only usable by one application at a time
Date: Fri, 4 Dec 2009 11:01:23 +0200 [thread overview]
Message-ID: <ace253cb0912040101r2ab242f9r1584b56d743f1320@mail.gmail.com> (raw)
In-Reply-To: <c30988c30912032108r1e0b5f97iac6c2b4c20eaa748@mail.gmail.com>
My problem is exactly as others described: Usually, mpd is running and
playing my favorite tunes. Then, all of the sudden, I decide that I
would like watch some youtube movie, or something, so I stop mpd,
watch the movie, but when I want to play my music again mpd complains
that the audio device is busy. The only thing that works is to close
my browser AND all applications that were started from it (even if
they don't use the soundcard at all), which is an annoyance that I
didn't had to deal with when using different hardware or older version
of alsa. I've tried all the simple solutions I could find, like adding
alsasound rc, passing the model=dell-m4 to modprobe, and even messing
with asound.conf which only ended up in less usable soundcard. I've
noticed that applications access the /dev/snd/pcmC0D0p directly, and I
guess they should access some virtual device that will enable the
mixing or muxing of audio streams. I couldn't set such device, though.
On Fri, Dec 4, 2009 at 7:08 AM, Joshua Murphy <poisonbl@gmail.com> wrote:
> On Thu, Dec 3, 2009 at 8:12 PM, walt <w41ter@gmail.com> wrote:
>> On 12/03/2009 01:23 PM, Yoav Luft wrote:
>>>
>>> Hi,
>>> On my dell Vostro 1520, with intel hda ICH9 82801I sound card
>>> (xSTAC92HD71B3, according to /proc/asound/card0/codec), only one
>>> application can access the sound card at a time...
>>
>> I hope Nikos's suggestion will help you, but just in case it doesn't:
>>
>> Most people don't have any need for more than one application to use
>> the sound card at the same time. Do you have a special purpose in
>> mind, such as mixing multiple sound tracks, professional-quality
>> sound editing, film editing with special sound effects, or something
>> similar?
>>
>> If you do, then you will be one of the very few people who actually
>> needs to use pulseaudio, because it will allow multiple applications
>> to use one sound card at the same time. That is the purpose of
>> pulseaudio. But, as I said, very few people really need it.
>>
>> Can you explain more about what you are trying to do?
>
> I'm not the OP, but it's been my experience that, when things aren't
> configured to handle multiple processes using audio, you can't even
> pause a movie in, say, mplayer to check out the youtube video a friend
> just pointed you towards... which nowadays, is far from an uncommon
> thing for a person to expect their computer to handle.
>
> Lately, I've had zero issues with alsa pretty much configuring itself
> properly, given I'm using the in kernel alsa drivers for my systems...
> and it hasn't required any manual configuration of dmix or similar to
> function properly. Last time I used a separate sound daemon (aside
> from a short stent with Ubuntu on my netbook that, I think, had me
> using pulseaudio), I was running esound to manage audio from a
> headless box over my network... and ESD was playing nicely with other
> straight alsa apps on the same box.
>
> As a bit of a tip to the OP, since I'm going on about it all working,
> while for them it isn't... 1) make sure you're using the alsa drivers
> for your card and not oss (checking lspci -k) and 2) enable oss
> emulation in the kernel (makes even OLD oss based software work
> without much argument, in my experience).
>
> --
> Poison [BLX]
> Joshua M. Murphy
>
>
next prev parent reply other threads:[~2009-12-04 9:01 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-03 21:23 [gentoo-user] Sound card is only usable by one application at a time Yoav Luft
2009-12-03 22:36 ` [gentoo-user] " Nikos Chantziaras
2009-12-04 21:47 ` App Des
2009-12-05 16:52 ` Jesús Guerrero
2009-12-05 16:36 ` Jesús Guerrero
2009-12-06 2:25 ` daid kahl
2009-12-04 1:12 ` walt
2009-12-04 2:44 ` Nikos Chantziaras
2009-12-04 4:27 ` Dale
2009-12-04 23:08 ` daid kahl
2009-12-05 3:26 ` Dale
2009-12-05 15:49 ` daid kahl
2009-12-05 16:45 ` Jesús Guerrero
2009-12-04 5:08 ` Joshua Murphy
2009-12-04 9:01 ` Yoav Luft [this message]
2009-12-04 21:43 ` walt
2009-12-05 4:12 ` Joshua Murphy
2009-12-05 15:51 ` Yoav Luft
2009-12-05 16:58 ` Jesús Guerrero
2009-12-05 17:15 ` Nikos Chantziaras
2009-12-05 21:36 ` Yoav Luft
2009-12-06 1:57 ` walt
2009-12-06 2:28 ` daid kahl
2009-12-06 6:37 ` Nikos Chantziaras
2009-12-07 13:24 ` 7v5w7go9ub0o
2009-12-07 21:05 ` Nikos Chantziaras
2009-12-04 12:05 ` Nevynxxx
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ace253cb0912040101r2ab242f9r1584b56d743f1320@mail.gmail.com \
--to=yoav.luft@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox