mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-25 13:48:42 -05:00
Fixed definition of stime and Tsec in start_threads.c.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/trunk@44 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
45caec5d23
commit
28c62de695
@ -325,7 +325,8 @@ int capture_callback(alsa_driver_t *alsa_driver_capture) {
|
||||
snd_pcm_status_dump(pcm_stat, jcd_out);
|
||||
#endif
|
||||
gettimeofday(&tv, NULL);
|
||||
stime = (double) tv.tv_sec + ((double)tv.tv_usec / 1000.0);
|
||||
stime = (double) tv.tv_sec + ((double)tv.tv_usec / 1000000.0);
|
||||
*(this->Tsec)=stime;
|
||||
ib=*(this->ibuf);
|
||||
this->tbuf[ib++]=stime;
|
||||
if(ib>=1024) ib=0;
|
||||
|
Loading…
Reference in New Issue
Block a user