public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Nikos Chantziaras <realnc@arcor.de>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user]  Re: Sound card is only usable by one application at    a time
Date: Sat, 05 Dec 2009 19:15:45 +0200	[thread overview]
Message-ID: <hfe4fv$u2q$1@ger.gmane.org> (raw)
In-Reply-To: <ace253cb0912050751i46227c95ye3adbe909037bfe7@mail.gmail.com>

You didn't mention whether you tried running the alsasound service in 
order to get dmix.  If enabled, it doesn't matter what sound device the 
apps want to open.

On 12/05/2009 05:51 PM, Yoav Luft wrote:
> hmmm. I've managed to focus the problem: Some programs try to access
> to sound device called "hw:0,0" and there for do not allow it to be
> shared. MPD was one of them, and when I changed the setting in
> mpd.conf to using "default" it works. The flash player, though, still
> tries to access the hardware directly. I'm not sure how to reconfigure
> it. I'm using the adobe player.
> Can anyone think of away of making all programs use "default" sound
> output rather than "hw:0,0"?
> Should I report that as a bug to the mpd package maintainer, that the
> default setting try to access the sound device directly?
>
> On Sat, Dec 5, 2009 at 6:12 AM, Joshua Murphy<poisonbl@gmail.com>  wrote:
>> On Fri, Dec 4, 2009 at 4:43 PM, walt<w41ter@gmail.com>  wrote:
>>> On 12/03/2009 09:08 PM, Joshua Murphy wrote:
>>> ...
>>>>
>>>> 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...
>>>
>>> I discovered a few weeks ago that I could completely delete all traces
>>> of arts, pulse, *and* esd, and still I can listen to a podcast from
>>> npr.org with firefox and play an mp3 using audacious at the same time.
>>> (Which drives me totally nuts, BTW, and I did it only as a test.)
>>>
>>> As you say, alsa seems to DTRT by itself these days.  The only thing
>>> I'm not sure about is whether the gnome-panel volume/mixer applet is
>>> now doing what esound used to do.
>>>
>>> If you still have esound installed you can try it yourself.  Just
>>> remove the arts, esd, and pulse USE flags first, then remove any/all
>>> of those packages from the machine and revdep-rebuild.  It's amazing
>>> how many packages are linked against esound and AFAICT they no longer
>>> need to be.  (This applies to gnome, of course.)
>>>
>>> OTOH, I haven't tested every sound-related app on my machine, so I
>>> might be missing some important exceptions.
>>
>> All Gnome's volume/mixer applet does, AFAIK, is the same as alsamixer,
>> on a less cli/ncurses interface... just volume control for the
>> channels the card tells the driver to tell the alsa subsystem it has
>> ;) ... it doesn't have anything more, really, to do with the actual
>> 'mixing' than that, and it works just as well without it, as evidenced
>> by my netbook with ratpoison, no arts, esd, pulseaudio, etc...
>> listening to a radio stream on one aterm that's running mplayer
>> (outputting to bare alsa) and getting prompt and proper alerts from
>> Skype at the same time.
>>
>> 'Course, all the anecdotal evidence in the world won't make the
>> problem the OP is seeing.
>>
>> --
>> Poison [BLX]
>> Joshua M. Murphy
>>
>>
>
>





  parent reply	other threads:[~2009-12-05 17:21 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
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 [this message]
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='hfe4fv$u2q$1@ger.gmane.org' \
    --to=realnc@arcor.de \
    --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