X-Git-Url: http://git.kpe.io/?p=wdq2wav.git;a=blobdiff_plain;f=wdq2wav.cpp;h=dd98f6b1ae70a604ebec63a823f6be10173b79e4;hp=81c52a4539c3b0411fd75979fec9fb20255f35e9;hb=55fc5ba6b5c1a35195d12422f0bd956195e00c4a;hpb=69101b0d7cf43ad42e921b59633af75edbe47d19 diff --git a/wdq2wav.cpp b/wdq2wav.cpp index 81c52a4..dd98f6b 100644 --- a/wdq2wav.cpp +++ b/wdq2wav.cpp @@ -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 -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(x+0.5) : static_cast(x-0.5)); } bool WindaqChannel::read_channel_data ()