We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 661484c commit 3e00247Copy full SHA for 3e00247
src/audio/buffers/audio_buffer.c
@@ -243,7 +243,7 @@ uint32_t audio_buffer_sink_get_lft(struct sof_sink *sink)
243
*/
244
int32_t deadline_correction = 0;
245
246
- if (data_consumer_mod->dev->period < data_producer_mod->dev->period) {
+ if (data_consumer_mod->dev->period > data_producer_mod->dev->period) {
247
deadline_correction = (data_consumer_mod->dev->period - us_in_buffer) /
248
data_producer_mod->dev->period;
249
if (deadline_correction < 0)
0 commit comments