From owner-freebsd-questions Mon Sep 25 7:47:13 2000 Delivered-To: freebsd-questions@freebsd.org Received: from geekbox.metamike.net (cr180071-c.ktchnr1.on.wave.home.com [24.42.4.188]) by hub.freebsd.org (Postfix) with ESMTP id 55E4937B42C for ; Mon, 25 Sep 2000 07:47:03 -0700 (PDT) Received: from geekbox.home.metamike.net (geekbox.home.metamike.net [10.0.0.1]) by geekbox.metamike.net (8.11.0/8.9.3) with ESMTP id e8PEmDS31783 for ; Mon, 25 Sep 2000 10:48:15 -0400 (EDT) (envelope-from mike@mkp.cx) Date: Mon, 25 Sep 2000 10:48:13 -0400 (EDT) From: Mike Pelletier X-Sender: mike@geekbox.metamike.net To: questions@freebsd.org Subject: Sound looping at end Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I have a stupid problem that's been bugging me for months, across a few rebuilds. I'd like to get it out of the way, but I'm starting to wonder if it's not just poor support of my hardware. When a sound stream is closed, the sound card seems not to stop playing its buffer immedeately. The last 0.2-1.0 second of sound will loop for a few moments before the card gives it up. The sound device remains locked for this time. That's especially annoying when, for instance, my window manager tries to go 'tink!' but instead goes 'tingtingtingtingtingtingtink!'. The sound device is tied up for an extra few seconds, which means whatever is in the window can't open it. Also, ocassionally I get the message, "/kernel: pcm0: hwptr went backwards 24484 -> 20820". I can't connect this message to any particular event, cos I just notice it on the console after I exit X. If it's significant, I'll do some testing. Once, I suspected MP3s using variable-bitrate encoding, but now I can't recall why. My kernel config contains only the 'pcm' device. My info: su-2.03# cat /dev/sndstat FreeBSD Audio Driver (newpcm) Sep 18 2000 14:43:32 Installed devices: pcm0: at io 0x530 irq 11 drq 0 (1p/1r channels) su-2.03# fgrep CMI /var/log/messages Sep 25 00:35:52 geekbox /kernel: pcm0: at port 0x530-0x537,0x388-0x38f irq 11 drq 0 on isa0 Sep 25 00:35:52 geekbox /kernel: unknown0: at port 0x300-0x301 irq 5 on isa0 Sep 25 00:35:52 geekbox /kernel: unknown1: at port 0x200-0x207 on isa0 Sep 25 00:35:52 geekbox /kernel: unknown2: at port 0x220-0x22f irq 10 drq 1,5 on isa0 -- Mike Pelletier email: mike@mkp.cx When you die, if you were very good, phone: 519-884-2334 you will get to enter your initials. Y!: Mike_Pelletier To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message