News for hackers. Stuff that matters.
Re:Improved audio rendering with an optimised version of mem... by asveikau on Saturday April 22, 2017 @12:01PM (#14173117)
The concepts you are mentioning (DMA and ring buffers) are heavily used but I don't think you have the layering right. In all APIs I have used, the codec library itself works with contiguous buffers typically on the heap, which end may up being copied into ring buffers or DMA buffers I will give you, but that is one abstraction above or below.
Re:Improved audio rendering with an optimised version of mem... by dom0 on Saturday April 22, 2017 @01:21PM (#14173550)
I meant the hardware with audio codec, though technically it would be the audio controller which has the buffers and control registers (which may/may not be the same chip, depending on the exact make, e.g. in HD Audio the controller is in the chipset, and the codec is a separate chip). Sorry for the confusion.