Firmware · Memory and DMA
When DMA fills a buffer continuously, the processor and hardware must take turns safely, and the buffer's size sets how much time you get.