Hacker News new | ask | show | jobs
by clarry 2276 days ago
> you can put all your bits into a good sized buffer and use DMA to push them out a stable, hardware clocked rate.

Obviously; without buffering, glitch-free audio playback would be impossible. I made the assumption that when we're talking about timing on Linux, it's not about throwing buffers at a hardware clocked device.

Does libgpio or some other interface on Linux give you access to clocked DMA out of the box? Do the drivers on RPi support it?

All the gpio drivers I've worked with are just directly writing state to registers.

1 comments

Yes, there are DMA driven gpio libraries.