Audio Echo on the DM642 EVM
The software demonstrates an audio loopback example on the DM642 EVM, with programmable echo added to the input signal. The demonstration creates and primes the audio I/O streams, initializes the echo buffer, enters a loop reading audio samples, then processes the samples and writes them back into the audio codec.
The demonstration: - Computes the read pointer and adds a sample on each audio frame
- Reads, clamps, writes, and copies each sample
- Wraps the pointer back to the start of the buffer when the end of the echo buffer is reached
|