aboutsummaryrefslogtreecommitdiff
path: root/libOSC/test_OSC_timeTag.c
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2012-10-16 18:45:39 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2012-10-16 18:45:39 +0000
commit9a4263e499b328a6943e75d97358933597d390cb (patch)
tree52bd8073c0992b138003c29e5f0e2c692fde631d /libOSC/test_OSC_timeTag.c
parent07e371b1ec2fd16de0cc965b2f935e2aee3ce6ae (diff)
converted OSCx to the Library Template and bumped the version to 0.3.1
svn path=/branches/pd-extended/0.43/externals/oscx/; revision=16399
Diffstat (limited to 'libOSC/test_OSC_timeTag.c')
-rw-r--r--libOSC/test_OSC_timeTag.c36
1 files changed, 0 insertions, 36 deletions
diff --git a/libOSC/test_OSC_timeTag.c b/libOSC/test_OSC_timeTag.c
deleted file mode 100644
index 8a1cabf..0000000
--- a/libOSC/test_OSC_timeTag.c
+++ /dev/null
@@ -1,36 +0,0 @@
-/*
- * Copyright (c) 1997 Regents of the University of California.
- * All rights reserved.
- *
- * The name of the University may not be used to endorse or promote
- * products derived from this software without specific prior written
- * permission. THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE
- * IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE.
- */
-
-/*
- test_OSC_timeTag.c
- Matt Wright, 5/30/97
-*/
-
-#include <stdio.h>
-#include "OSC_timeTag.h"
-
-main() {
- OSCTimeTag now, later;
-
- now = OSCTT_CurrentTime();
- printf("Now it's %llu (0x%llx)\n", now, now);
-
- printf("Immediately would be %llu (0x%llx)\n", OSCTT_Immediately(),
- OSCTT_Immediately());
-
- later = OSCTT_PlusSeconds(now, 1.0f);
- printf("One second from now would be %llu (0x%llx)\n", later, later);
-
- now = OSCTT_CurrentTime();
- printf("And *now* it's %llu (0x%llx)\n", now, now);
-}
-