def _getSampleRate(self, sri):
if sri.xdelta > 0.0:
# Round sample rate to an integral value to account for the fact
# that there is typically some rounding error in the xdelta value.
return round(1.0 / sri.xdelta)
else:
# Bad SRI xdelta, use normalized value.
return 1.0
评论列表
文章目录