annotate osdep/gettimeofday.c @ 24824:70a64a5a85c3

r24740: misc roff fixes r24746: document filter -vf ow: Overcomplete Wavelet denoiser. r24772: DirectShow based tv:// driver for win32 r24783: Consistently set NOTE: in italics. r24784: small grammar fix r24785: Add -lavfdopts cryptokey r24807: Docs update: -ao openal handles more than one channels since some time already r24808: Add a space behind openal to get minimum length of 7 r24809: Replace Polyp- by PulseAudio output. r24820: Clarify that -vo gl bicubic filtering is B-spline, not polynomial r24837: Spelling, vf_ow parameters are optional. r24841: type fix: there was a 'not' too much
author voroshil
date Thu, 25 Oct 2007 17:37:49 +0000
parents 936209c39ed1
children 5cfef41a1771
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
16985
08cac43f1e38 Unify include paths, -I.. is in CFLAGS.
diego
parents: 9834
diff changeset
1 #include "config.h"
9829
0f2cc9ef24f6 gettimeofday() emulation using ftime()
faust3
parents:
diff changeset
2
0f2cc9ef24f6 gettimeofday() emulation using ftime()
faust3
parents:
diff changeset
3 #include <sys/time.h>
0f2cc9ef24f6 gettimeofday() emulation using ftime()
faust3
parents:
diff changeset
4 #include <sys/timeb.h>
0f2cc9ef24f6 gettimeofday() emulation using ftime()
faust3
parents:
diff changeset
5 void gettimeofday(struct timeval* t,void* timezone)
0f2cc9ef24f6 gettimeofday() emulation using ftime()
faust3
parents:
diff changeset
6 { struct timeb timebuffer;
0f2cc9ef24f6 gettimeofday() emulation using ftime()
faust3
parents:
diff changeset
7 ftime( &timebuffer );
0f2cc9ef24f6 gettimeofday() emulation using ftime()
faust3
parents:
diff changeset
8 t->tv_sec=timebuffer.time;
0f2cc9ef24f6 gettimeofday() emulation using ftime()
faust3
parents:
diff changeset
9 t->tv_usec=1000*timebuffer.millitm;
0f2cc9ef24f6 gettimeofday() emulation using ftime()
faust3
parents:
diff changeset
10 }