]> git.alsa-project.org Git - alsa-lib.git/commit
dsnoop: The stop threshold was not implemented correctly
authorMark Hills <mark@xwax.org>
Mon, 22 Jun 2020 13:15:12 +0000 (14:15 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 23 Jun 2020 10:59:00 +0000 (12:59 +0200)
commit19c7de16fddbe0f37eadfb05c64dd24412757ee3
treeb225df785b01f9bd792e734826393d9f1b08e4b5
parent243105769b23d5c2c9462d85ae98ca31a38ce250
dsnoop: The stop threshold was not implemented correctly

The previous implementation would mean that stop_threshold behaved
erratically. The intent is to detect that the buffer is too full,
and stop.

In practice, I don't think this was a bug in practice for applications
which don't adjust the stop_threshold. The line above catches those cases.

Signed-off-by: Mark Hills <mark@xwax.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
src/pcm/pcm_dsnoop.c