Subject: Re: kern/23803: audio device dies (cmpci)
To: None <netbsd-bugs@netbsd.org>
From: Wolfgang S. Rupprecht <wolfgang+gnus20031219T112359@dailyplanet.dontspam.wsrcc.com>
List: netbsd-bugs
Date: 12/19/2003 11:31:49
wiz@NetBSD.org (Thomas Klausner) writes:
> On Fri, Dec 19, 2003 at 06:44:19PM -0000, Christian Biere wrote:
>> >Synopsis:       audio device dies (cmpci)
>
> It doesn't die for me (1.6ZF) so far, but it stutters.
> [Not really stutters, but it's some weird some. Perhaps
> crackles.]
> That happens after some minutes of watching stuff in mplayer,
> not always the same time.
> Pausing and unpausing (which makes mplayer close and open
> the audio device) makes it work again.

Same thing with my cmpci (C-Media Electronics, Inc. CMI8738/C3DX PCI
Audio Device (rev. 0x10)).

It appears to happen more when I stream from another card across the
local net.  (I abuse two computers so that I get a copy of the radio's
audio moved from the living room to the office.)  When playing locally
stored mp3's I hardly ever notice a problem.  When playing a dvd in
mplayer I'll notice a problem every few minutes.

My guess was that it was related to underflows.  An underflow would
trigger it and then the sound would stutter for a long time after
that.  It is highly likely that when I stream the audio from one card
to the other that the two cards are clocking at a slightly different
speed.  If the recording card is clocking a very small amount slower,
I'll eventually run out of samples to play.

-wolfgang
-- 
Wolfgang S. Rupprecht 		     http://www.wsrcc.com/wolfgang/
       The above "From:" address is valid.  Don't mess with it.