patch-1.3.91 linux/drivers/sound/dmabuf.c
Next file: linux/fs/devices.c
Previous file: linux/drivers/scsi/u14-34f.h
Back to the patch index
Back to the overall index
- Lines: 14
- Date:
Thu Apr 18 08:22:20 1996
- Orig file:
v1.3.90/linux/drivers/sound/dmabuf.c
- Orig date:
Fri Apr 12 15:52:02 1996
diff -u --recursive --new-file v1.3.90/linux/drivers/sound/dmabuf.c linux/drivers/sound/dmabuf.c
@@ -770,6 +770,13 @@
}
break;
+ case SNDCTL_DSP_SETDUPLEX:
+ if (audio_devs[dev]->flags & DMA_DUPLEX)
+ return 0;
+ else
+ return -EIO;
+ break;
+
case SNDCTL_DSP_SETFRAGMENT:
{
int fact = get_fs_long ((long *) arg);
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