summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2017-08-04 17:40:35 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2017-08-04 17:40:35 -0400
commit6e2e54d384f7fbd248506abdd60c130bcd3ca1da (patch)
treed451104b7ca56345b60e8145a4b868e730024bcb
parentad1a7118635cced1e8306db4210a5e26bbfab303 (diff)
change superclock ticks per second (no need for 11,13,17)
-rw-r--r--tools/bb/bb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/bb/bb.h b/tools/bb/bb.h
index e9d89ddf0b..68c1fbe709 100644
--- a/tools/bb/bb.h
+++ b/tools/bb/bb.h
@@ -12,7 +12,7 @@
typedef uint64_t superclock_t;
-static const superclock_t superclock_ticks_per_second = 1235025792000; // 2^10 * 3^4 * 5^3 * 7^2 * 11 * 13 * 17
+static const superclock_t superclock_ticks_per_second = 508032000; // 2^10 * 3^4 * 5^3 * 7^2
inline superclock_t superclock_to_samples (superclock_t s, int sr) { return (s * sr) / superclock_ticks_per_second; }
inline superclock_t samples_to_superclock (int samples, int sr) { return (samples * superclock_ticks_per_second) / sr; }