r4122: Auto commit for Debian build
authorKevin M. Rosenberg <kevin@rosenberg.net>
Tue, 25 Feb 2003 18:15:52 +0000 (18:15 +0000)
committerKevin M. Rosenberg <kevin@rosenberg.net>
Tue, 25 Feb 2003 18:15:52 +0000 (18:15 +0000)
wdq2wav.cpp
wdq2wav.h

index 81c52a4539c3b0411fd75979fec9fb20255f35e9..dd98f6b1ae70a604ebec63a823f6be10173b79e4 100644 (file)
@@ -8,7 +8,7 @@
 **
 **  Copyright (c) 2003 Kevin Rosenberg
 **
-**  $Id: wdq2wav.cpp,v 1.21 2003/02/25 18:14:10 kevin Exp $
+**  $Id: wdq2wav.cpp,v 1.22 2003/02/25 18:15:06 kevin Exp $
 **
 **  This program is free software; you can redistribute it and/or modify
 **  it under the terms of the GNU General Public License (version 2) as
@@ -26,7 +26,7 @@
 
 #include <wdq2wav.h>
 
-const char* g_szIdStr = "$Id: wdq2wav.cpp,v 1.21 2003/02/25 18:14:10 kevin Exp $";
+const char* g_szIdStr = "$Id: wdq2wav.cpp,v 1.22 2003/02/25 18:15:06 kevin Exp $";
 
 bool g_quiet = false;
 bool g_verbose = false;
@@ -439,8 +439,6 @@ bool get_float8 (int fd, double& f)
   return true;
 }
 
-inline T nearest (double x)
-{ return (x > 0 ? static_cast<T>(x+0.5) : static_cast<T>(x-0.5)); }
 
 bool
 WindaqChannel::read_channel_data ()
index 0a3f6022e50e4080d80ba5084393b27040fc80ae..79201361dfa04cc8f7efad8c5d881b98341e41fd 100644 (file)
--- a/wdq2wav.h
+++ b/wdq2wav.h
@@ -8,7 +8,7 @@
 **
 **  Copyright (c) 2003 Kevin Rosenberg
 **
-**  $Id: wdq2wav.h,v 1.13 2003/02/25 18:15:06 kevin Exp $
+**  $Id: wdq2wav.h,v 1.14 2003/02/25 18:15:52 kevin Exp $
 **
 **  This program is free software; you can redistribute it and/or modify
 **  it under the terms of the GNU General Public License (version 2) as
@@ -133,4 +133,7 @@ class WavFile
 };
 
 inline T nearest (double x)
-{ return (x > 0 ? static_cast<T>(x+0.5) : static_cast<T>(x-0.5)); }
+{
+  return (x > 0 ?
+         static_cast<T>(x+0.5) : static_cast<T>(x-0.5));
+}