Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Audio: Remove DMA operations from simulated Zephyr DAI
With this change the DAI just consumes all playback samples and produces capture samples. In the playback direction the consumed samples are checked for glitches. The detection traces a warning when sample differs from previous PCM code value with more than 1. In the capture direction the generated PCM samples are triangle waveform where every sample is incremented by 1. If maximum PCM value is reached the samples are decremented. In beginning even channels count up and odd channels count down. Signed-off-by: Seppo Ingalsuo <[email protected]>
- Loading branch information