![60 • Double Buffer Mode Principle](/images/new-backgrounds/103480/103480135x1.webp)
The
In Windows 95, W_7200_Alloc_DBDMA_Mem() is needed to allocates a contiguous DMA memory for the circular buffer. The buf_size argument of W_7200_Alloc_DBDMA_Mem() is the half size of circular buffer in byte, that is, the size of each half buffer in byte. The DMA memory is referenced by the return parameter handle. This memory is system memory; users are not allowed to access it directly.