summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorAlexandre Ratchov <ratchov@cvs.openbsd.org>2019-06-16 13:45:13 +0000
committerAlexandre Ratchov <ratchov@cvs.openbsd.org>2019-06-16 13:45:13 +0000
commit03c865999c49eafd8afd2a270995ec825b1bc14b (patch)
treed16be82ba69abbb063d26253da6cfa64005edcd6 /usr.bin
parent91a61bc3874f339335a6f19c3ddb260fcab89559 (diff)
Say in comment why we use 1/2400 second as MTC time unit.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/sndiod/defs.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/sndiod/defs.h b/usr.bin/sndiod/defs.h
index 8167221c751..149abfbb811 100644
--- a/usr.bin/sndiod/defs.h
+++ b/usr.bin/sndiod/defs.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: defs.h,v 1.2 2012/12/07 08:04:58 ratchov Exp $ */
+/* $OpenBSD: defs.h,v 1.3 2019/06/16 13:45:12 ratchov Exp $ */
/*
* Copyright (c) 2008-2012 Alexandre Ratchov <alex@caoua.org>
*
@@ -23,7 +23,8 @@
#define MIDI_BUFSZ 3125 /* 1 second at 31.25kbit/s */
/*
- * units used for MTC clock.
+ * units used for MTC clock. Must allow a quarter of frame to be
+ * represented at any of the standard 24, 25, or 30 fps.
*/
#define MTC_SEC 2400 /* 1 second is 2400 ticks */