From 7061de025008dfc83dd105da9fe4ba209a77a8d9 Mon Sep 17 00:00:00 2001 From: Alexandre Ratchov Date: Thu, 29 Sep 2016 18:20:18 +0200 Subject: [PATCH] Set device rate to calculated rate. --- aucat/aucat.c | 1 + 1 file changed, 1 insertion(+) diff --git a/aucat/aucat.c b/aucat/aucat.c index a3aa212..0cee83e 100644 --- a/aucat/aucat.c +++ b/aucat/aucat.c @@ -665,6 +665,7 @@ dev_open(char *dev, int mode, int bufsz, char *port) par.bps = sizeof(adata_t); par.msb = 0; par.le = SIO_LE_NATIVE; + par.rate = rate; if (mode & SIO_PLAY) par.pchan = pmax + 1; if (mode & SIO_REC)