From owner-freebsd-questions@FreeBSD.ORG Thu Nov 13 11:11:48 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0A59C16A4CE for ; Thu, 13 Nov 2003 11:11:48 -0800 (PST) Received: from g38.rdsbv.ro (g38.rdsbv.ro [193.231.237.197]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4514943FB1 for ; Thu, 13 Nov 2003 11:11:47 -0800 (PST) (envelope-from petre@kgb.ro) Received: from dzerjinski.kgb.ro (kgb [193.231.237.196]) by g38.rdsbv.ro (Postfix) with ESMTP id A2050124E; Thu, 13 Nov 2003 21:11:40 +0200 (EET) From: Petre Bandac Organization: KGB To: cpghost@cordula.ws Date: Thu, 13 Nov 2003 21:11:39 +0200 User-Agent: KMail/1.5.1 References: <200311132059.07486.petre@kgb.ro> <200311131904.hADJ4pfU015701@fw.farid-hajji.net> In-Reply-To: <200311131904.hADJ4pfU015701@fw.farid-hajji.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200311132111.39632.petre@kgb.ro> cc: freebsd-questions@freebsd.org Subject: Re: sound question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: petre@kgb.ro List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Nov 2003 19:11:48 -0000 [petre@kgb]$ ps -ax | grep esd ~ 80418 ?? Ss 2:56.38 esd -terminate -nobeeps -as 2 -spawnfd 5 84843 p5 S+ 0:00.01 egrep esd so if I kill -9 the esd process, icq will start emitting sounds ? petre On Thursday 13 November 2003 21:04 Anno Domini, Cordula's Web wrote using one of his keyboards: > > play: /dev/dsp: Device busy > > Perhaps esd is running and grabbing the sound device? > > I have a similar problem with mpg123. Calling mpg123 > multiple times (e.g. in a loop with a shell script) > until it works is an acceptable work-around for me: > > #!/bin/sh > until (mpg123 "$1") > do > sleep 1; > done > > Of course, a solution would be better than a work-arond :) -- Login: petre Name: Petre Bandac Directory: /home/petre Shell: /usr/local/bin/zsh On since Tue Nov 11 14:37 (EET) on ttyv0, idle 11:21 (messages off) No Mail. No Plan.