Use the time given by the read callback instead of computing that time by counting the number of sample that have been read.
Use the time given by the read callback instead of computing that time by counting the number of sample that have been read.