aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2014-02-01 23:01:06 -0800
committerChris Robinson <[email protected]>2014-02-01 23:01:06 -0800
commit755f161fc58aec0b541c7783ed716bd5c861a615 (patch)
tree820a12954f4772cb55117243b81ef85ec141a43b /Alc
parent7bfea9087e9ea596b5f7c4aee563c5fc7d9962c1 (diff)
Use nanosecond resolution for MIDI
This makes the MIDI clock use the same resolution as the device clock and source latency and the device clock.
Diffstat (limited to 'Alc')
-rw-r--r--Alc/midi/base.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/midi/base.c b/Alc/midi/base.c
index 25dd19d9..249bc2a8 100644
--- a/Alc/midi/base.c
+++ b/Alc/midi/base.c
@@ -16,8 +16,8 @@
#include "alu.h"
-/* Microsecond resolution */
-#define TICKS_PER_SECOND (1000000)
+/* Nanosecond resolution */
+#define TICKS_PER_SECOND (1000000000)
/* MIDI events */
#define SYSEX_EVENT (0xF0)