From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Hansen Newsgroups: gmane.emacs.devel Subject: Re: play-sound-file & esd Date: Wed, 10 May 2006 01:16:45 +0200 Organization: disorganized Message-ID: <87r732wzz6.fsf@robotron.kosmorama> References: <44572E8B.6060102@swipnet.se> <44585258.7040506@swipnet.se> <445EF2F9.5060209@swipnet.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1147217021 14919 80.91.229.2 (9 May 2006 23:23:41 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 9 May 2006 23:23:41 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed May 10 01:23:38 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FdbYD-00041H-FF for ged-emacs-devel@m.gmane.org; Wed, 10 May 2006 01:23:33 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FdbYC-0006cc-GP for ged-emacs-devel@m.gmane.org; Tue, 09 May 2006 19:23:32 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FdbXx-0006bd-EH for emacs-devel@gnu.org; Tue, 09 May 2006 19:23:17 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FdbXw-0006ap-4m for emacs-devel@gnu.org; Tue, 09 May 2006 19:23:17 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FdbXv-0006ak-VN for emacs-devel@gnu.org; Tue, 09 May 2006 19:23:15 -0400 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1FdbZ5-0005JX-Uf for emacs-devel@gnu.org; Tue, 09 May 2006 19:24:28 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1FdbXr-0003xr-N0 for emacs-devel@gnu.org; Wed, 10 May 2006 01:23:11 +0200 Original-Received: from e178005214.adsl.alicedsl.de ([85.178.5.214]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 10 May 2006 01:23:11 +0200 Original-Received: from david.hansen by e178005214.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 10 May 2006 01:23:11 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-To: emacs-devel@gnu.org Original-Lines: 38 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: e178005214.adsl.alicedsl.de Mail-Copies-To: nobody User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:Ywkz8WMs10/tUznmxgmQNCK9DqI= X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:54153 Archived-At: On Tue, 09 May 2006 16:41:19 -0400 Richard Stallman wrote: > I use a vanilla fc5. I think it already uses alsa (it has alsa-lib and > alsa-utils 1.0.11 installed). > > Can someone tell Sam how to make sure of whether it is running > Alsa, and if so, which version? Make sure the volume is low and $ cat /dev/urandom > /dev/audio You should here the nice sound of urandom. This means the alsa drivers are working. To make the software mixer work i also had to write a /etc/asound.conf (i just c&p the example from http://www.pseudorandom.co.uk/2004/debian/alsa/). Now just start some apps that use alsa as the audio output device e.g.: $ ogg123 -q -d alsa09 Tom_Waits_-_01_-_Tom_Trauberts_Blues.ogg & is working for me. BTW ogg123 uses libao to play sounds and the user can decide himself which device / sound daemon is used. Maybe worth to think about that option. To get the version number... I don't know. On my debian system i have libasound2 installed, apt-cache says it has version 1.0.11-3 and pkg-config --version asound says 0.20. And thanks to the guy who pointed out that GNU/Linux finally has a software mixer in the kernel. David