Set device rate to calculated rate.

This commit is contained in:
Alexandre Ratchov 2016-09-29 18:20:18 +02:00
parent 2a451f9623
commit 7061de0250
1 changed files with 1 additions and 0 deletions

View File

@ -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)