diff options
| author | Alexey Dokuchaev <danfe@FreeBSD.org> | 2005-05-16 19:23:46 +0000 |
|---|---|---|
| committer | Alexey Dokuchaev <danfe@FreeBSD.org> | 2005-05-16 19:23:46 +0000 |
| commit | 91eaba1d2aab92a8a561e209c467ce08059e727d (patch) | |
| tree | a9f80d35df185da33b8f6092a91d22d3aaf5af3b /audio/rezound/files/patch-src_backend_AStatusComm.cpp | |
| parent | Upgrade to version 4.1 (plus JDK home fix from ports/76670) (diff) | |
Add ReZound, awesome graphical audio file editor with tons of features.
WWW: http://rezound.sourceforge.net/
Diffstat (limited to 'audio/rezound/files/patch-src_backend_AStatusComm.cpp')
| -rw-r--r-- | audio/rezound/files/patch-src_backend_AStatusComm.cpp | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/audio/rezound/files/patch-src_backend_AStatusComm.cpp b/audio/rezound/files/patch-src_backend_AStatusComm.cpp new file mode 100644 index 000000000000..e9f52f2faa85 --- /dev/null +++ b/audio/rezound/files/patch-src_backend_AStatusComm.cpp @@ -0,0 +1,19 @@ +--- src/backend/AStatusComm.cpp.orig Sun May 1 09:53:40 2005 ++++ src/backend/AStatusComm.cpp Mon May 16 21:35:32 2005 +@@ -94,12 +94,12 @@ + + // --- CStatusBar -------------------------------------- + +-#include <sys/timeb.h> ++#include <sys/time.h> + static unsigned long getCurrentMilliseconds() + { +- struct timeb tb; +- ftime(&tb); +- return (unsigned long)tb.time*1000UL+(unsigned long)tb.millitm; ++ struct timeval tp; ++ (void)gettimeofday(&tp, NULL); ++ return (unsigned long)tp.tv_sec*1000UL+(unsigned long)tp.tv_usec/1000UL; + } + + CStatusBar::CStatusBar(const string title,const sample_pos_t firstValue,const sample_pos_t lastValue,const bool showCancelButton) : |
