Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Sep 2001 16:33:57 -0500
From:      "David W. Chapman Jr." <dwcjr@inethouston.net>
To:        Cameron Grant <gandalf@vilnya.demon.co.uk>
Cc:        "David W. Chapman Jr." <dwcjr@inethouston.net>, Julian Elischer <julian@elischer.org>, current@freebsd.org
Subject:   Re: trying to play sound in -current
Message-ID:  <20010902163357.B38940@leviathan.inethouston.net>
In-Reply-To: <00c001c133ef$eb4c48d0$0504020a@haveblue>
References:  <20010902141957.B35026@leviathan.inethouston.net> <3B928CAB.2F1C95E3@elischer.org> <000801c133e9$e96213c0$fe0c4042@inethouston.net> <00c001c133ef$eb4c48d0$0504020a@haveblue>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Sep 02, 2001 at 09:43:28PM +0100, Cameron Grant wrote:
> > I suppose it "uses" it, but why does it lock it for extended periods of
> > time.  KDE can't even use the sound driver while this is happening.
> 
> set sysctl hw.snd.verbose as high as it'll go (3, with the latest code) and
> cat /dev/sndstat.  it'll tell you the pid of the process using each channel.
> 
Now that I know how to debug it I can't seem to reproduce it for a 
length of time that will provide me with the pid of the process 
that's taking it, but thank you for the info.  Just curious, how many 
channels do I have, I don't quite understand the output.

FreeBSD Audio Driver (newpcm)
Installed devices:
pcm0: <Creative CT5880-A> at io 0xd000 irq 5 (1p/1r/0v channels 
duplex default)
        [pcm0:0:record]: speed 0, format 00000000, flags 00000000
        interrupts 0, overruns 0, hfree 4096, sfree 0
        {hardware} -> feeder_root(00000000) -> {userland}
        [pcm0:1:play]: speed 44100, format 10000010, flags 00007030, pid 581
        interrupts 124, underruns 0, ready 40960
        {hardware} <- feeder_root(10000010) <- {userland}

-- 
David W. Chapman Jr.
dwcjr@inethouston.net	Raintree Network Services, Inc. <www.inethouston.net>
dwcjr@freebsd.org	FreeBSD Committer <www.FreeBSD.org>

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?20010902163357.B38940>