Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
google_rtc_audio_processing: Guard buffer pointer following
It seems like in IPC4 SOF will dynamically tear down streams not in use, such that the stream pointer field of a comp_buffer object will become null when and existing playback stream ends (which is oddly asymmetric, given that the topology/kernel itself will otherwise try to artificially START the reference stream for the benefit of AEC). In IPC3, the topology seems static and those pointers never change. Add an extra test for safety. It's cheap. Signed-off-by: Andy Ross <[email protected]>
- Loading branch information