summaryrefslogtreecommitdiff
path: root/sys/dev/isa/pas.c
diff options
context:
space:
mode:
authoraugustss <augustss@NetBSD.org>1997-07-27 01:16:32 +0000
committeraugustss <augustss@NetBSD.org>1997-07-27 01:16:32 +0000
commit9745684ebe151a825bdef45d38da2ef82fc893d1 (patch)
tree9fc1a39eeab95505d742a8f6fe2003dc0381e354 /sys/dev/isa/pas.c
parent3ca46d33e107a26b997c048032ddeacf5270b46f (diff)
Changes to the sudio system:
- It is now possible to handle devices that want "looping" DMA, e.g. the SoundBlaster correctly. The WSS and SB drivers use this. To do this several new methods were introduced in audio_hw_if. - Different silence handling (forced by previous change). - The audio driver can now be mmap()-ed, but due to problems in the VM system only for writing for now. - The OSS (Linux) audio emulation takes advantage of some of the new features.
Diffstat (limited to 'sys/dev/isa/pas.c')
-rw-r--r--sys/dev/isa/pas.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/sys/dev/isa/pas.c b/sys/dev/isa/pas.c
index 058b0e586dc..5aa05ad2cdf 100644
--- a/sys/dev/isa/pas.c
+++ b/sys/dev/isa/pas.c
@@ -1,4 +1,4 @@
-/* $NetBSD: pas.c,v 1.28 1997/07/25 01:42:20 augustss Exp $ */
+/* $NetBSD: pas.c,v 1.29 1997/07/27 01:17:02 augustss Exp $ */
/*
* Copyright (c) 1991-1993 Regents of the University of California.
@@ -120,6 +120,8 @@ struct audio_hw_if pas_hw_if = {
sbdsp_set_in_port,
sbdsp_get_in_port,
sbdsp_commit_settings,
+ NULL,
+ NULL,
sbdsp_dma_output,
sbdsp_dma_input,
sbdsp_haltdma,
@@ -132,7 +134,10 @@ struct audio_hw_if pas_hw_if = {
sbdsp_mixer_set_port,
sbdsp_mixer_get_port,
sbdsp_mixer_query_devinfo,
- 0, /* not full-duplex */
+ sb_malloc,
+ sb_free,
+ sb_round,
+ 0,
0
};