Skip site navigation (1)Skip section navigation (2)
Date:      20 Jun 1999 19:18:58 +0200
From:      naddy@mips.rhein-neckar.de (Christian Weisgerber)
To:        freebsd-current@freebsd.org
Subject:   Re: audio-Device gone mute
Message-ID:  <7kj7q2$qoo$1@mips.rhein-neckar.de>
References:  <199906201457.QAA29227@dorifer.heim3.tu-clausthal.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Oliver Fromme <freebsd-current@FreeBSD.ORG> wrote:

> Did you check (with fstat or lsof) if there's still
> another process which has the audio device open?

Yes I did, and no there isn't.

> (Maybe some pcmplay process gone wild...  Although
> in that case it shouldn't block, but rather print
> "device busy" or something like that.)

Well, the blocking thing is peculiar.

"buffer -S1024 </dev/zero >/dev/audio" writes 120kB into /dev/audio,
then it blocks. (buffer was the first thing that came to mind that can
output how much data it has copied.) When I call it again, it blocks
immediately. Now, if I start mpg123 and subsequently call buffer again,
I can again write 120kB to /dev/audio before it blocks. So mpg123 seems
to perform some kind of partial reset.

-- 
Christian "naddy" Weisgerber                  naddy@mips.rhein-neckar.de
  >H Deutsche Transhumanismus-Mailingliste
    echo 'subscribe trans-de' | mail majordomo@lists.rhein-neckar.de



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7kj7q2$qoo$1>