NetBSD Problem Report #16047

Received: (qmail 22604 invoked from network); 25 Mar 2002 11:40:41 -0000
Message-Id: <20020325114052.C22231111A@www.netbsd.org>
Date: Mon, 25 Mar 2002 03:40:52 -0800 (PST)
From: christianbiere@gmx.de
Sender: nobody@netbsd.org
Reply-To: christianbiere@gmx.de
To: gnats-bugs@gnats.netbsd.org
Subject: cmpci.c: sample rate of 44100 Hz sounds screwed after using 48000 Hz
X-Send-Pr-Version: www-1.0

>Number:         16047
>Category:       kern
>Synopsis:       cmpci.c: sample rate of 44100 Hz sounds screwed after using 48000 Hz
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Mar 25 11:41:00 +0000 2002
>Closed-Date:    
>Last-Modified:  Wed May 13 13:26:30 +0000 2015
>Originator:     Christian Biere
>Release:        1.5ZA
>Organization:
>Environment:
NetBSD 1.5ZA (GENERIC) #0: Tue Feb 19 16:45:49 EST 2002 root@zathras.wasabisystems.com:/big/obj/sys/arch/i386/compile/GENERIC
>Description:
After setting play.rate to 48000, 44100 will sound screwed as if 48000 is still used. It happens only with spdif output enabled. (1.5ZB is affected aswell.)
>How-To-Repeat:
mixerctl -w playback.mode=spdif spdif.output.playback=wave
audioctl -w play.rate=48000

Play something explicitly with 44100 Hz. It sounds like the internal sample rate is still set to 48000 Hz.
>Fix:
As a workaround (it switches spdif off):
mixerctl -w playback.mode=dac
audioctl -w play.rate=44100

I guess the problem is in cmpci_set_in_ports() or cmpci_set_out_ports().
>Release-Note:
>Audit-Trail:

From: Christian Biere <christianbiere@gmx.de>
To: gnats-bugs@netbsd.org
Cc:  
Subject: Re: kern/16047
Date: Sun, 28 Jul 2002 04:26:17 +0200

 Please, 

 apply the patches from kern/16817 and catch them up to current. I've been 
 using them for month now and they work fine. I really want to get rid of 
 patching the kernel.

 Regards,
 Christian Biere


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.