Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

pulseaudio /usr/share/alsa/pulse-alsa.conf

111 views
Skip to first unread message

Bob Proulx

unread,
Feb 24, 2012, 1:20:01 AM2/24/12
to
Since the installation in Sid on 2012-02-19 of pulseaudio 1.1-3 I get
the following message from audio tools. This is easily easily
reproduced with 'play'.

$ play sound.wav
ALSA lib conf.c:1220:(parse_def) show is not a compound
ALSA lib conf.c:1686:(snd_config_load1) _toplevel_:24:26:Unexpected char
ALSA lib conf.c:3406:(config_file_open) /usr/share/alsa/pulse-alsa.conf may be old or corrupted: consider to remove or fix it

Of course moving the conf file out of the way does solve the problem.

Is anyone else also seeing this problem?

Bob
signature.asc

Seb

unread,
Feb 24, 2012, 2:10:01 AM2/24/12
to
I do, also in a sid system with latest pulseaudio.

--
Seb


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/87d394o...@kolob.subpolar.dyndns.org

Bob Proulx

unread,
Feb 24, 2012, 12:50:01 PM2/24/12
to
Seb wrote:
> Bob Proulx wrote:
> > Is anyone else also seeing this problem?
>
> I do, also in a sid system with latest pulseaudio.

I filed this bug:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=661095

Bob
signature.asc

Florian Kulzer

unread,
Feb 24, 2012, 3:00:02 PM2/24/12
to
I found an Ubuntu bug which claims that the problem is fixed in their
latest version of the pulseaudio package:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/939153

They don't provide further details so I downloaded a few versions of
their pulseaudio package and compared the configuration files. The older
Ubuntu versions of pulseaudio have the same broken pulse-alsa.conf file
as Sid does. The newest version has this instead:

--------------- CUT BELOW THIS LINE ---------------
# Default to PulseAudio

pcm.!default {
type pulse
hint {
show on
description "Playback/recording through the PulseAudio sound server"
}
}

ctl.!default {
type pulse
}
--------------- CUT ABOVE THIS LINE ---------------

The new configuration file seems to solve the problem on my Sid system.

--
Regards, |
Florian | http://www.florian-kulzer.eu


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/20120224195...@isar.localhost

Csanyi Pal

unread,
Feb 25, 2012, 12:30:01 PM2/25/12
to
I'm also being running Debian GNU/Linux SID.

I don't have the 'play' command, I have instead the 'aplay' command.
What package must I install to get the 'play' command?

--
Regards from Pal


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/87ehti4...@gmail.com

Bob Proulx

unread,
Feb 25, 2012, 2:20:02 PM2/25/12
to
Csanyi Pal wrote:
> I don't have the 'play' command, I have instead the 'aplay' command.
> What package must I install to get the 'play' command?

Florian's message has very good information. Be sure to read it first.

Either command produces the same result. If you are not seeing it
with aplay then you probably won't see it with play either. I just
arbitrarily chose play as a simple command as opposed to mplayer or
any of the other much more swiss army chainsaw like commands.

The sox utilities are useful utilities for doing batch mode processing
of audio files. Very useful to know about. The play command is part
of the sox package.

$ apt-cache show sox
Description-en: Swiss army knife of sound processing
SoX is a command line utility that can convert various formats of computer
audio files in to other formats. It can also apply various effects to these
sound files during the conversion. As an added bonus, SoX can play and record
audio files on several unix-style platforms.
.
SoX is able to handle formats like Ogg Vorbis, MP3, WAV, AIFF, VOC, SND, AU,
GSM and several more.
Any format support requires at least libsox-fmt-base. Some formats have their
own package e.g. mp3 read and write support is provided by libsox-fmt-mp3.
.
SoX supports most common sound architectures i.e. Alsa, Libao, OSS and Pulse
(respectively provided by libsox-fmt-alsa, libsox-fmt-ao, libsox-fmt-oss and
libsox-fmt-pulse). It also supports LADSPA plugins.
Homepage: http://sox.sourceforge.net

A useful command to find this information is apt-file which operates
similar to apt-cache.

$ apt-file -F search /usr/bin/play
sox: /usr/bin/play

This is also offered from the Debian web site here:

http://www.debian.org/distrib/packages

Scroll down to "Search the contents of packages" and then enter the
filesystem path into the box and then click search. This will give
you the same information but from the web site and not needing to
install the apt-file package.

Bob
signature.asc
0 new messages