30 Oct
2015
30 Oct
'15
2:20 a.m.
On Thu, Oct 29, 2015 at 03:42:59PM +0000, Damien Horsley wrote:
For the I2S In, there is another issue with flushing on stream close. If the stream is stopped, then reconfigured to use a larger number of channels (without the stream being closed), then the per-channel fifos will become inconsistent with each other. The new channels will have no samples in their FIFOs, while the others may contain samples from the previous stream.
Would hw_params be the correct place to flush instead?
Yes, you could flush there (or in both places for that matter).