**
** Copyright (c) 2003 Kevin Rosenberg
**
-** $Id: wdq2wav.cpp,v 1.23 2003/02/25 18:18:45 kevin Exp $
+** $Id: wdq2wav.cpp,v 1.24 2003/02/25 18:19:45 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
#include <wdq2wav.h>
-const char* g_szIdStr = "$Id: wdq2wav.cpp,v 1.23 2003/02/25 18:18:45 kevin Exp $";
+const char* g_szIdStr = "$Id: wdq2wav.cpp,v 1.24 2003/02/25 18:19:45 kevin Exp $";
bool g_quiet = false;
bool g_verbose = false;
m_min_scaled_data = (m_slope * data_min) + m_intercept;
if (g_demean) {
- double dmean = total_data / static_cast<double>(wdq.m_nSamples);
+ double dmean = total_data / static_cast<double>(r_wdq.m_nSamples);
int mean = nearest<int>(dmean);
for (i = 0; i < r_wdq.m_nSamples; i++)
m_data[i] -= mean;