After some testing dma_pagesize reduced to 4096 for *both*

byte and word DMA channels, use bounce buffer now.
This commit is contained in:
Andrey A. Chernov 1994-01-08 16:48:35 +00:00
parent c541db8885
commit 712b66d518

View File

@ -546,10 +546,13 @@ sound_mem_init (void)
if (sound_buffsizes[dev] > 65536) /* Larger is not possible (yet) */
sound_buffsizes[dev] = 65536;
#if 0
if (sound_dsp_dmachan[dev] > 3 && sound_buffsizes[dev] > 65536)
dma_pagesize = 131072; /* 128k */
else
dma_pagesize = /* 65536; */ 4096; /* Be conservative for now! */
dma_pagesize = 65536;
#endif
dma_pagesize = 4096; /* use bounce buffer */
/* More sanity checks */