diff options
| author | Cameron Grant <cg@FreeBSD.org> | 2002-01-23 05:41:35 +0000 |
|---|---|---|
| committer | Cameron Grant <cg@FreeBSD.org> | 2002-01-23 05:41:35 +0000 |
| commit | 23bc171b29eb044612c341fb4bc9db90ee185a64 (patch) | |
| tree | 62c4fac3cacb0aa2f0d5ca90f6206ba59ae0b584 /sys/dev | |
| parent | 0dd4f3508ebd1c06d6c96596a8c4f7635e48dccd (diff) | |
Notes
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/sound/pcm/channel.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/sound/pcm/channel.c b/sys/dev/sound/pcm/channel.c index 63cd94e74e687..05529ea0be03e 100644 --- a/sys/dev/sound/pcm/channel.c +++ b/sys/dev/sound/pcm/channel.c @@ -382,7 +382,7 @@ chn_rdintr(struct pcm_channel *c) } /* - * user read routine - trigger if necessary, uiomove data from secondary bufhard + * user read routine - trigger if necessary, uiomove data from secondary buffer * if blocking, sleep, rinse and repeat. * * called externally, so must handle locking @@ -571,7 +571,7 @@ chn_abort(struct pcm_channel *c) /* * this routine tries to flush the dma transfer. It is called * on a close. We immediately abort any read DMA - * operation, and then wait for the play bufhard to drain. + * operation, and then wait for the play buffer to drain. * * called from: dsp_close */ @@ -961,7 +961,7 @@ chn_setblocksize(struct pcm_channel *c, int blkcnt, int blksz) blksz <<= 1; blksz >>= 1; - /* round down to fit hw bufhard size */ + /* round down to fit hw buffer size */ RANGE(blksz, 16, sndbuf_getmaxsize(b) / 2); DEB(printf("%s: hard blksz requested %d (maxsize %d), ", __func__, blksz, sndbuf_getmaxsize(b))); |
