unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: David Hansen <david.hansen@gmx.net>
Subject: Re: play-sound-file & esd
Date: Wed, 10 May 2006 01:16:45 +0200	[thread overview]
Message-ID: <87r732wzz6.fsf@robotron.kosmorama> (raw)
In-Reply-To: E1FdZ1D-0005Cx-9p@fencepost.gnu.org

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

  reply	other threads:[~2006-05-09 23:16 UTC|newest]

Thread overview: 51+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-25 19:43 play-sound-file & esd Sam Steingold
2006-04-25 20:11 ` Sam Steingold
2006-04-29  3:50   ` Richard Stallman
2006-04-29  3:50 ` Richard Stallman
2006-05-01 13:55   ` Sam Steingold
2006-05-02 10:03     ` Jan Djärv
2006-05-02 21:37       ` Richard Stallman
2006-05-03  6:48         ` Jan Djärv
2006-05-03 10:20           ` David Hansen
2006-05-03 11:51             ` Andreas Schwab
2006-05-03 20:42           ` Richard Stallman
2006-05-05 18:41             ` Sam Steingold
2006-05-06 14:25               ` Richard Stallman
2006-05-08  7:27                 ` Jan Djärv
2006-05-08 22:29                   ` Richard Stallman
2006-05-08 22:40                     ` Sam Steingold
2006-05-09 20:41                       ` Richard Stallman
2006-05-09 23:16                         ` David Hansen [this message]
2006-05-10  6:26                           ` Jan Djärv
2006-05-10 12:45                             ` Sam Steingold
2006-05-10 13:17                               ` Jan Djärv
2006-05-10 13:43                                 ` Sam Steingold
2006-05-15 20:37                                   ` Richard Stallman
2006-05-15 21:43                                     ` Andreas Schwab
2006-05-16  7:21                                       ` Jan Djärv
2006-05-16 19:44                                         ` Richard Stallman
2006-05-18 17:13                                           ` Jan D.
2006-05-19 15:10                                             ` Richard Stallman
2006-05-24 18:53                                             ` Romain Francoise
2006-05-25 14:36                                               ` Jan D.
     [not found]                                                 ` <87u07eujtq.fsf@pacem.orebokech.com>
2006-05-26  6:33                                                   ` Jan Djärv
2006-05-26 16:29                                                     ` Romain Francoise
2006-05-17 14:14                                         ` joakim
2006-05-17 14:23                                           ` Andreas Schwab
2006-05-17 20:07                                             ` Richard Stallman
2006-05-17 21:04                                               ` Andreas Schwab
2006-05-18 18:46                                                 ` Jan Djärv
2006-05-19  2:05                                                 ` Richard Stallman
2006-05-19  7:04                                                   ` joakim
2006-05-17 20:07                                           ` Richard Stallman
2006-05-17 20:19                                             ` Sam Steingold
2006-05-19  2:05                                               ` Richard Stallman
2006-05-19  4:38                                                 ` Jan Djärv
2006-05-20  3:17                                           ` Burton Samograd
2006-05-20  8:51                                             ` Jan Djärv
2006-05-20  9:33                                               ` David Kastrup
2006-05-20 12:03                                                 ` Jan Djärv
2006-05-20 17:05                                               ` Richard Stallman
2006-05-20 17:04                                             ` Richard Stallman
2006-05-16 18:33                                       ` Richard Stallman
2006-05-16 18:49                                         ` Andreas Schwab

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r732wzz6.fsf@robotron.kosmorama \
    --to=david.hansen@gmx.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).