From owner-freebsd-questions@FreeBSD.ORG Tue Aug 15 14:24:43 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 7F87416A4DF; Tue, 15 Aug 2006 14:24:43 +0000 (UTC) (envelope-from Alexander@Leidinger.net) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id B6BC843D55; Tue, 15 Aug 2006 14:24:42 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5F490.dip.t-dialin.net [84.165.244.144]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.6/8.13.6) with ESMTP id k7FE8RsG073074; Tue, 15 Aug 2006 16:08:28 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from Magellan.Leidinger.net (Magellan.Leidinger.net [192.168.1.1]) by Andro-Beta.Leidinger.net (8.13.4/8.13.3) with ESMTP id k7FEOipG053208; Tue, 15 Aug 2006 16:24:45 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Date: Tue, 15 Aug 2006 16:26:43 +0200 From: Alexander Leidinger To: Norberto Meijome Message-ID: <20060815162643.5c7f2b83@Magellan.Leidinger.net> In-Reply-To: <20060815232026.5e448634@localhost> References: <20060815232026.5e448634@localhost> X-Mailer: Sylpheed-Claws 2.4.0 (GTK+ 2.8.20; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new Cc: freebsd-multimedia@freebsd.org, freebsd-questions@freebsd.org Subject: Re: Esound + skype... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Aug 2006 14:24:43 -0000 Quoting Norberto Meijome (Tue, 15 Aug 2006 23:20:26 +1000): > $ esddsp skype > ERROR: ld.so: object '/usr/local/lib/libesddsp.so' from LD_PRELOAD cannot be > preloaded: ignored. > ERROR: ld.so: object '/usr/local/lib/libesd.so' from > LD_PRELOAD cannot be preloaded: ignored. This is because esddsp just load a lib to the program you specify. Since you are calling the FreeBSD native esddsp, you try to add the FreeBSD native lib to the linux skype. This doesn't work. > I then tried audio/linux-esound, (and had to install audio/linux-alsa-lib too), > but it seems /compat/linux/usr/bin/esd cannot find the sound device: > > > $ /usr/compat/linux/usr/bin/esd > ALSA lib confmisc.c:672:(snd_func_card_driver) cannot find card '0' > ALSA lib conf.c:3493:(_snd_config_evaluate) function snd_func_card_driver > returned error: No such device ALSA lib confmisc.c:392:(snd_func_concat) error > evaluating strings ALSA lib conf.c:3493:(_snd_config_evaluate) function > snd_func_concat returned error: No such device ALSA lib > confmisc.c:1072:(snd_func_refer) error evaluating name ALSA lib > conf.c:3493:(_snd_config_evaluate) function snd_func_refer returned error: No > such device ALSA lib conf.c:3962:(snd_config_expand) Evaluate error: No such > device ALSA lib pcm.c:2099:(snd_pcm_open_noupdate) Unknown PCM default I seems the linux esd tries to use ALSA. Since we don't have ALSA support... > i tried mounting devfs in /compat/linux/dev/ and pointing esd to it > ( -d /compat/linux/dev/dsp) but: > $ /usr/compat/linux/usr/bin/esd -d /compat/linux/dev/dsp > - using device /compat/linux/dev/dsp > ALSA lib pcm.c:2099:(snd_pcm_open_noupdate) Unknown PCM /compat/linux/dev/dsp This will not work, linux programs fall back to the FreeBSD path (if there's no linux directory, so make sure /compat/linux/dev doesn't exists and it will do so magic and access the native /dev). > > so.... > 1) is it possible to run a sound server (i.e., basically something that allows > several streams to play simultaneously without locking the dsp) so that both > native AND emulated apps will be happy with? > 2) am I missing something big ? What about sysctl hw.snd.maxautovchans= where is the number of programs you want to allow to play at the same time. Bye, Alexander. -- 93: Emacs Warum werden die Funktionen nicht mit Passwörtern versehen? (Frank Klemm) http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137