Date: Mon, 25 Sep 2000 10:48:13 -0400 (EDT) From: Mike Pelletier <mike@mkp.cx> To: questions@freebsd.org Subject: Sound looping at end Message-ID: <Pine.BSF.4.21.0009251033470.98336-100000@geekbox.metamike.net>
next in thread | raw e-mail | index | archive | help
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: <CMI8330> 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: <CMI8330> at port 0x530-0x537,0x388-0x38f irq 11 drq 0 on isa0 Sep 25 00:35:52 geekbox /kernel: unknown0: <CMI8330. Audio Adapter> at port 0x300-0x301 irq 5 on isa0 Sep 25 00:35:52 geekbox /kernel: unknown1: <CMI8330. Audio Adapter> at port 0x200-0x207 on isa0 Sep 25 00:35:52 geekbox /kernel: unknown2: <CMI8330. Audio Adapter> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0009251033470.98336-100000>