commit 09291a56e85d20a88b0792c97d41837f22064058 parent effb6fb862c6e08bac7b76ea431750d0130bc640 Author: sin <sin@2f30.org> Date: Sat, 11 Jun 2016 13:24:39 +0100 Add comment Diffstat:
M | ncmixer.c | | | 1 | + |
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/ncmixer.c b/ncmixer.c @@ -136,6 +136,7 @@ audio_open(char *devname) goto err0; } + /* allow 0.5% tolerance for actual sample rate */ if (par.rate < RATE * 995 / 1000 || par.rate > RATE * 1005 / 1000) { DPRINTF("%s: failed to set rate\n", devname);