summaryrefslogtreecommitdiff
path: root/tools/bb/bb.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/bb/bb.h')
-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; }