** Need command line options for verbose and debug output
** Should comment the reading and writing of files to document the file formats
**
-** $Id: wdq2wav.cpp,v 1.2 2003/01/21 03:03:49 kevin Exp $
+** $Id: wdq2wav.cpp,v 1.4 2003/01/21 03:05:03 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
if (*channel_endptr != 0) {
std::ostringstream os;
os << "Error: Channel " << argv[2] << " is not an integer";
- error_str (os.str().c_str());
+ error_msg (os.str().c_str());
usage();
return(1);
}
if ((m_fd = open (m_strFile.c_str(), O_WRONLY | O_TRUNC | O_CREAT,
S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH)) == 0) {
std::ostringstream os;
- os << "Error opening output file ", << m_strFile.c_str();
+ os << "Error opening output file " << m_strFile.c_str();
error_msg (os);
return false;
}