| Summary: | pcm0 doesnot work on Panasonic Let's note CF-A1EV (neomagic 256AV) | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Base System | Reporter: | fujiwara <fujiwara> | ||||
| Component: | kern | Assignee: | greid | ||||
| Status: | Closed FIXED | ||||||
| Severity: | Affects Only Me | ||||||
| Priority: | Normal | ||||||
| Version: | Unspecified | ||||||
| Hardware: | Any | ||||||
| OS: | Any | ||||||
| Attachments: |
|
||||||
|
Description
fujiwara
2000-07-23 07:40:01 UTC
On Sun, Jul 23, 2000 at 06:32:51AM -0000, fujiwara@rcac.tdi.co.jp wrote: > Index: sys/dev/sound/pcm/channel.c > =================================================================== > RCS file: /CVS/src/sys/dev/sound/pcm/channel.c,v > retrieving revision 1.19.2.3 > diff -u -r1.19.2.3 channel.c > --- sys/dev/sound/pcm/channel.c 2000/07/19 21:18:46 1.19.2.3 > +++ sys/dev/sound/pcm/channel.c 2000/07/22 10:22:45 > @@ -484,6 +484,7 @@ > /* Fill up the buffers with new pcm data. */ > res = buf->uio_resid; > while (chn_wrfeed2nd(c, buf) > 0); > +chn_wrintr(c); > if (buf->uio_resid < res) > count = hz; > else Try this as well: Index: channel.c =================================================================== RCS file: /home/ncvs/src/sys/dev/sound/pcm/channel.c,v retrieving revision 1.32 diff -u -r1.32 channel.c --- channel.c 2000/06/20 23:42:08 1.32 +++ channel.c 2000/07/22 17:36:34 @@ -234,7 +234,7 @@ b->fl = b->bufsize - b->rl; b->underflow = 0; } else { - /* chn_dmaupdate(c); */ + chn_dmaupdate(c); } } -- Bill Fumerola - Network Architect, BOFH / Chimes, Inc. billf@chimesnet.com / billf@FreeBSD.org > From: Bill Fumerola <billf@chimesnet.com> > Try this as well: pcm0 plays good with this patch. Thank you. > Index: channel.c > =================================================================== > RCS file: /home/ncvs/src/sys/dev/sound/pcm/channel.c,v > retrieving revision 1.32 > diff -u -r1.32 channel.c > --- channel.c 2000/06/20 23:42:08 1.32 > +++ channel.c 2000/07/22 17:36:34 > @@ -234,7 +234,7 @@ > b->fl = b->bufsize - b->rl; > b->underflow = 0; > } else { > - /* chn_dmaupdate(c); */ > + chn_dmaupdate(c); > } > } > > > -- > Bill Fumerola - Network Architect, BOFH / Chimes, Inc. > billf@chimesnet.com / billf@FreeBSD.org Responsible Changed From-To: freebsd-bugs->cg Over to the pcm(4) maintainer. State Changed From-To: open->feedback Is this still a problem with more recent sources? Responsible Changed From-To: cg->greid I'll handle feedback State Changed From-To: feedback->closed Feedback timeout |