pkgsrc-wip/ReZound/patches/patch-ag
Thomas Klausner db7a7101aa Update to 0.12.0beta:
Notes:
This release adds a few new major features and some overdue bug fixes.

Changes:
- Implemented Macros.  Now, if you often repeat a sequence of edits,
  you can record this sequence, and play them back unattendedly on
  different files.
- Implemented user-definable key-bindings.  Now a user can customize
  what he wants keys on the keyboard to do in ReZound.
- Added a new Remaster action which can "shorten quiet areas".
  That is, it finds quiet areas and automatically shortens these by
  some given amount.  It's great for [sic]
- Enhanced the Burn To CD action.  More feedback to the user.
- Included a new Finnish thanks to Uffek
- There is new 'M' column in the loaded sound list to indicate
  which files are in a "modified" state.
- Updated other translation files
- Compiles with latest FOX releases
- Several other bug fixes and cosmetic tweaks
2005-07-25 13:41:54 +00:00

21 lines
734 B
Text

$NetBSD: patch-ag,v 1.1 2005/07/25 13:41:54 thomasklausner Exp $
--- src/backend/AStatusComm.cpp.orig 2005-05-01 04:53:40.000000000 +0200
+++ src/backend/AStatusComm.cpp
@@ -94,12 +94,12 @@ void endAllProgressBars()
// --- 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 tv;
+ gettimeofday(&tv, NULL);
+ return (unsigned long)tv.tv_sec*1000UL+(unsigned long)tv.tv_usec/1000;
}
CStatusBar::CStatusBar(const string title,const sample_pos_t firstValue,const sample_pos_t lastValue,const bool showCancelButton) :