From 55fc5ba6b5c1a35195d12422f0bd956195e00c4a Mon Sep 17 00:00:00 2001 From: "Kevin M. Rosenberg" Date: Tue, 25 Feb 2003 18:15:52 +0000 Subject: [PATCH] r4122: Auto commit for Debian build --- wdq2wav.cpp | 6 ++---- wdq2wav.h | 7 +++++-- 2 files changed, 7 insertions(+), 6 deletions(-) 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 () diff --git a/wdq2wav.h b/wdq2wav.h index 0a3f602..7920136 100644 --- 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(x+0.5) : static_cast(x-0.5)); } +{ + return (x > 0 ? + static_cast(x+0.5) : static_cast(x-0.5)); +} -- 2.34.1