From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1NH2JV-0003xb-Cd for garchives@archives.gentoo.org; Sat, 05 Dec 2009 21:37:13 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D250CE06B1; Sat, 5 Dec 2009 21:36:06 +0000 (UTC) Received: from mail-fx0-f215.google.com (mail-fx0-f215.google.com [209.85.220.215]) by pigeon.gentoo.org (Postfix) with ESMTP id 77FD5E06B1 for ; Sat, 5 Dec 2009 21:36:06 +0000 (UTC) Received: by fxm7 with SMTP id 7so3372930fxm.29 for ; Sat, 05 Dec 2009 13:36:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=mwueLMiuzzc9V1vzxq7jw3nRP89IcAN49Fnhzknab4o=; b=Xw4b8ZMQWPxdzWPJx0/Nlssk0UcYRa+pIuhULKTEu7/VfQpe1GrCAMAwBbprz2MC6G mvffcNifh8jCtoiaBzoa8h/pM3DMSx8gdgA9tJnHPJx8ZRjWrZ9i2dDIAnZNGc6dlmhh TrgsRhg2daEtypWDvzfF9vJMrdCdxPm3q141Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=e5vwiY0FlsIwHeQ5oclpJ4qZbKm+nTk6BtvtMvI+r2AHX+g1lzj2mJ4nqroqjMEYq7 hML9oqAluNwGXTHYFgAAAWZmcqxdEd2lIe77Dv2pcPJglN7x5d8d2QSLzRLcaA7kQMCz uUbvSRoeX30B0kvuyUJrqg+GOf/tDLl2u5cu0= Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.239.143.215 with SMTP id l23mr508458hba.163.1260048964815; Sat, 05 Dec 2009 13:36:04 -0800 (PST) In-Reply-To: References: Date: Sat, 5 Dec 2009 23:36:04 +0200 Message-ID: Subject: Re: [gentoo-user] Re: Sound card is only usable by one application at a time From: Yoav Luft To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 4c6d5fa0-6068-4193-a39b-54cf58c20ef6 X-Archives-Hash: 8e1842db45a2c07409661bc0ed33ce36 alsasound is on boot runlevel, so it's running. Still, some apps, like flash movies in firefox, don't behave nicely. On Sat, Dec 5, 2009 at 7:15 PM, Nikos Chantziaras wrote: > You didn't mention whether you tried running the alsasound service in ord= er > to get dmix. =C2=A0If enabled, it doesn't matter what sound device the ap= ps 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 =C2=A0= wrote: >>> >>> On Fri, Dec 4, 2009 at 4:43 PM, walt =C2=A0wrote: >>>> >>>> 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. =C2=A0The only th= ing >>>> 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. =C2=A0Just >>>> remove the arts, esd, and pulse USE flags first, then remove any/all >>>> of those packages from the machine and revdep-rebuild. =C2=A0It's amaz= ing >>>> how many packages are linked against esound and AFAICT they no longer >>>> need to be. =C2=A0(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 >>> >>> >> >> > > > >