patch-1.3.87 linux/drivers/sound/dmabuf.c
Next file: linux/drivers/sound/gus_wave.c
Previous file: linux/drivers/sound/dev_table.h
Back to the patch index
Back to the overall index
- Lines: 47
- Date:
Fri Apr 12 09:49:42 1996
- Orig file:
v1.3.86/linux/drivers/sound/dmabuf.c
- Orig date:
Sun Mar 24 22:49:59 1996
diff -u --recursive --new-file v1.3.86/linux/drivers/sound/dmabuf.c linux/drivers/sound/dmabuf.c
@@ -98,7 +98,7 @@
sz /= 8; /* #bits -> #bytes */
/*
- * Compute a buffer size for time not exeeding 1 second.
+ * Compute a buffer size for time not exceeding 1 second.
* Usually this algorithm gives a buffer size for 0.5 to 1.0 seconds
* of sound (using the current speed, sample size and #channels).
*/
@@ -135,8 +135,8 @@
else
{
/*
- * The process has specified the buffer sice with SNDCTL_DSP_SETFRAGMENT or
- * the buffer sice computation has already been done.
+ * The process has specified the buffer size with SNDCTL_DSP_SETFRAGMENT or
+ * the buffer size computation has already been done.
*/
if (dmap->fragment_size > (audio_devs[dev]->buffsize / 2))
dmap->fragment_size = (audio_devs[dev]->buffsize / 2);
@@ -634,7 +634,7 @@
}
if (dmap->subdivision != 0 ||
- dmap->fragment_size) /* Loo late to change */
+ dmap->fragment_size) /* Too late to change */
return -EINVAL;
if (fact > MAX_REALTIME_FACTOR)
@@ -656,7 +656,7 @@
return -EIO;
if (dmap->subdivision != 0 ||
- dmap->fragment_size) /* Loo late to change */
+ dmap->fragment_size) /* Too late to change */
return -EINVAL;
bytes = fact & 0xffff;
@@ -1173,7 +1173,7 @@
dmap->cfrag = -1;
/*
- * Bypass buffering if using mmaped access
+ * Bypass buffering if using mmapped access
*/
if (audio_devs[dev]->dmap_out->mapping_flags & DMA_MAP_MAPPED)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this