From owner-freebsd-current Sun Sep 2 14:33:57 2001 Delivered-To: freebsd-current@freebsd.org Received: from leviathan.inethouston.net (leviathan.inethouston.net [66.64.12.249]) by hub.freebsd.org (Postfix) with ESMTP id E112F37B401 for ; Sun, 2 Sep 2001 14:33:54 -0700 (PDT) Received: by leviathan.inethouston.net (Postfix, from userid 1001) id 0C56B10F42C; Sun, 2 Sep 2001 16:33:58 -0500 (CDT) Date: Sun, 2 Sep 2001 16:33:57 -0500 From: "David W. Chapman Jr." To: Cameron Grant Cc: "David W. Chapman Jr." , Julian Elischer , current@freebsd.org Subject: Re: trying to play sound in -current Message-ID: <20010902163357.B38940@leviathan.inethouston.net> Reply-To: "David W. Chapman Jr." Mail-Followup-To: Cameron Grant , "David W. Chapman Jr." , Julian Elischer , current@freebsd.org References: <20010902141957.B35026@leviathan.inethouston.net> <3B928CAB.2F1C95E3@elischer.org> <000801c133e9$e96213c0$fe0c4042@inethouston.net> <00c001c133ef$eb4c48d0$0504020a@haveblue> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <00c001c133ef$eb4c48d0$0504020a@haveblue> User-Agent: Mutt/1.3.22.1i X-Operating-System: FreeBSD 4.3-STABLE i386 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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: 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. dwcjr@freebsd.org FreeBSD Committer To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message