-
Notifications
You must be signed in to change notification settings - Fork 349
Description
Describe the bug
When running simultaneous capture and playback on external loopback (same SSP) with ASRC component on capture pipeline, with playback iteration >= 75, there are small gliches on capturead wave. Therefore, the THD value in the wave verification is worse than expected.
Example captered stream
Topology
+------------------+
+------+ | +---+ +-------+ |
| Host |----->|Buf|->|SSP Dai|------------------+
+------+ | +---+ +-------+ | |
+------------------+ |
|
+---------------------------------+ |
+------+ | +---+ +----+ +---+ +-------+ | |
| Host |<-----|Buf|<-|Asrc|<-|Buf|<-|SSP Dai|<--+
+------+ | +---+ +----+ +---+ +-------+ |
+---------------------------------+
To Reproduce
Ru slim driver python tests from file:
test_01_asrc_simple_capture.py
e.g.
TestAsrcCapture16000Hz16b16b2ch
TestAsrcCapture48000Hz32b32b2ch
TestAsrcCapture48000Hz16b16b2ch
Reproduction Rate
30 %
Expected behavior
Captured wave shouldn't have glitches.
Environment
I check it on: WHL RVP and TGL RVP,
but as I know from CI tests, it also happens on APL and ICL
Commit: 90ddae9 on SOF master branch
Logs for WHL RVP
dma_trace_1.log

