Commit 0651a5f
committed
ASoC: SOF: Add min_fragment_size member to struct sof_compr_stream
The minimum fragment size for a compressed stream cannot be static since
we can have different sized host DMA buffer, which means that the DMA
can burst in higher steps than the decoder/encoder's processing block
size.
The new member in sof_compr_stream can be used to store this limit at
runtime and be used to configure and validate the buffer setup.
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>1 parent aa5dc47 commit 0651a5f
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
| 118 | + | |
118 | 119 | | |
119 | 120 | | |
120 | 121 | | |
| |||
0 commit comments