Repository navigation
Conversation
tlauda
left a comment
There was a problem hiding this comment.
I've checked this change and it doesn't fix noise issue after stop - start sequence.
lgirdwood
left a comment
There was a problem hiding this comment.
It would be better to prepare it prior to restarting. You need to let the pipeline finish any pending work too.
|
@lgirdwood @tlauda
|
|
@zhigang-wu |
when START command comes, the pipeline has to be prepared. This case has to be taken into account: when ALSA has XRUN, it will send stop/start commands to FW and try to recover the pipepine. If we did not prepare the pipeline before start, the recover process will fail. Signed-off-by: Wu Zhigang <zhigang.wu@linux.intel.com>
|
I update the code and move the pipeline_prepare before the pipeline_trigger() function. My test is to enable the aplay and arecord both. @lgirdwood @tlauda |
|
@zhigang-wu |
|
@tlauda |
|
If adding prepare doesn't change anything, why to bother? |
|
@lgirdwood |
|
@zhigang-wu |
|
@tlauda |
Add test topology for CNL
when START command comes, the pipeline has to be prepared.
This case has to be taken into account:
when ALSA has XRUN, it will send stop/start commands to FW
and try to recover the pipepine. If we did not prepare
the pipeline before start, the recover process will fail.
Signed-off-by: Wu Zhigang zhigang.wu@linux.intel.com