From owner-freebsd-stable Thu Jul 26 9:50: 3 2001 Delivered-To: freebsd-stable@freebsd.org Received: from mail.gmx.net (pop.gmx.net [194.221.183.20]) by hub.freebsd.org (Postfix) with SMTP id 2DBAD37B405 for ; Thu, 26 Jul 2001 09:49:59 -0700 (PDT) (envelope-from michaelnottebrock@gmx.net) Received: (qmail 2487 invoked by uid 0); 26 Jul 2001 16:49:57 -0000 Received: from pd4b9ef9e.dip.t-dialin.net (HELO kiste) (212.185.239.158) by mail.gmx.net (mail06) with SMTP; 26 Jul 2001 16:49:57 -0000 Message-ID: <034f01c115f3$23c2f4e0$0408a8c0@localdomain> From: "Michael Nottebrock" To: "Ross Lippert" , References: <200107261324.GAA09256@eskimo.com> Subject: Re: KDE multimedia 2.x.x and artsd (4.3-RELEASE) Date: Thu, 26 Jul 2001 18:50:55 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG ----- Original Message ----- From: "Ross Lippert" Subject: KDE multimedia 2.x.x and artsd (4.3-RELEASE) > Speaking of broken mpeg playback, I have noticed that kde's > artsd does play nice with other mpeg players (xmms, mpg123), > in that it seems to open and then hang on to /dev/dsp and > I just need to killall artsd to get these players to work. > > Is that also a result of the threading problem (artsd is > perhaps hanging and not letting go of /dev/dsp?) I might have gotten this wrong, but I think this is by design. Artsd seems to grab /dev/dsp and hangs on to it, assuming everything that wants to produce some sounds will use it's API - the idea is to enable multiple applications to produce sound (or at least access the output devices), instead of having one OSS application playing and everything else being locked out. There are two solutions to this problem: 1.) If you're happy with the old way of "one app gets /dev/dsp and everything else will just have to wait", you can disable artsd autostarting itself in the kde controlpanel (this will probably mute kde itself). 2.) With kde comes a wrapper application called "artsdsp". With this wrapper application you should be able to run any OSS application through artsd without the OSS app knowing it. The wrapper even has an ESD compatible mode ("artsdsp esd"). For xmms, there is an artsd output-plugin available. Greetings, Michael Nottebrock To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message