[Pkg-alsa-devel] Bug#288652: marked as done (libasound2: dmix option "rate" has no effect)

Debian Bug Tracking System owner@bugs.debian.org
Wed, 15 Jun 2005 03:33:10 -0700


Your message dated Wed, 15 Jun 2005 12:18:50 +0200
with message-id <1118830730.7065.26.camel@thanatos>
and subject line Closing
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 4 Jan 2005 21:57:34 +0000
>From hjohn@xs4all.nl Tue Jan 04 13:57:34 2005
Return-path: <hjohn@xs4all.nl>
Received: from smtp-vbr9.xs4all.nl [194.109.24.29] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1ClwgI-0002He-00; Tue, 04 Jan 2005 13:57:34 -0800
Received: from Ukyo.Home (213-84-191-146.adsl.xs4all.nl [213.84.191.146])
	by smtp-vbr9.xs4all.nl (8.12.11/8.12.11) with ESMTP id j04LvXIZ020106;
	Tue, 4 Jan 2005 22:57:33 +0100 (CET)
	(envelope-from hjohn@xs4all.nl)
Message-Id: <200501042157.j04LvXIZ020106@smtp-vbr9.xs4all.nl>
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: John Hendrikx <hjohn@xs4all.nl>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: libasound2: the rate option does not accept integers, even when given one
X-Mailer: reportbug 3.2
Date: Tue, 04 Jan 2005 22:57:38 +0100
X-Virus-Scanned: by XS4ALL Virus Scanner
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Package: libasound2
Version: 1.0.6-5
Severity: normal

I'm using this /etc/asound.conf file:

-- snip --

pcm.!default {
	type plug
	slave.pcm dmix
}

pcm.dmix {
	type dmix
	ipc_key 1024
	ipc_key_add_uid true
	slave {
		pcm "hw:0"
		rate 44100
	}
}

-- snip --

When I try to use the alsa dmix plugin (using mplayer) with this asound.conf, 
I get the following error:

ALSA lib conf.c:931:(parse_value) rate is not an integer
ALSA lib conf.c:1566:(snd_config_load1) _toplevel_:19:0:invalid argument
ALSA lib conf.c:2808:(snd_config_hook_load) /etc/asound.conf may be old
or corrupted: consider to remove or fix it

This is rather odd behaviour, as obviously rate IS an integer.  The alsa docs
I could find define the slave section like this:

-- snip --

# Slave PCM definition
pcm_slave.NAME {
  pcm STR           # PCM name
  # or
  pcm { }           # PCM definition
  format STR        # Format
  channels INT      # Channels
  rate INT          # Rate
  period_time INT   # Period time
  buffer_time INT   # Buffer time
}

-- snip --

With 'rate' being an INT.  There's no workaround, apart from simply
removing the 'rate' parameter, and it will use some default rate I donot
know, except that it sounds considerably worse than output without the
plugin.

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.7-20040807
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages libasound2 depends on:
ii  libc6                       2.3.2.ds1-18 GNU C Library: Shared libraries an

-- no debconf information

---------------------------------------
Received: (at 288652-done) by bugs.debian.org; 15 Jun 2005 10:20:39 +0000
>From jdthood@aglu.demon.nl Wed Jun 15 03:20:38 2005
Return-path: <jdthood@aglu.demon.nl>
Received: from mailservice.tudelft.nl [130.161.131.5] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DiV0g-0007f1-00; Wed, 15 Jun 2005 03:20:38 -0700
Received: from localhost (localhost [127.0.0.1])
	by rav.antivirus (Postfix) with ESMTP id F302722F298
	for <288652-done@bugs.debian.org>; Wed, 15 Jun 2005 12:20:03 +0200 (CEST)
Received: from localhost (x118.decis.nl [130.161.177.118])
	by mx1.tudelft.nl (Postfix) with ESMTP id 7A64422F20F
	for <288652-done@bugs.debian.org>; Wed, 15 Jun 2005 12:20:03 +0200 (CEST)
Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
	by localhost (Postfix) with ESMTP id 7086810D704
	for <288652-done@bugs.debian.org>; Wed, 15 Jun 2005 12:18:50 +0200 (CEST)
Subject: Closing
From: Thomas Hood <jdthood@aglu.demon.nl>
To: 288652-done@bugs.debian.org
Content-Type: text/plain
Date: Wed, 15 Jun 2005 12:18:50 +0200
Message-Id: <1118830730.7065.26.camel@thanatos>
Mime-Version: 1.0
X-Mailer: Evolution 2.0.4 
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: by amavisd-new at tudelft.nl
Delivered-To: 288652-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-2.0 required=4.0 tests=BAYES_00,ONEWORD autolearn=no 
	version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

In the absence of further information I'll assume that this problem has
been resolved.
-- 
Thomas Hood <jdthood@aglu.demon.nl>