# HG changeset patch # User Chris Cannam # Date 1620648310 -3600 # Mon May 10 13:05:10 2021 +0100 # Branch resampler # Node ID 652ed168bb40110e0d2d34b7e47ae3e215521b2f # Parent beeafb105b6fca09a7b3ee0d7d4f453f6026313a Some minor debug/reporting improvements diff --git a/example/resample.cpp b/example/resample.cpp --- a/example/resample.cpp +++ b/example/resample.cpp @@ -14,8 +14,8 @@ void usage() { cerr << "Usage: resample [-v] [-c ] -to " << endl; - cerr << "where may be 0, 1, or 2, for best, medium, or fastest respectively" << endl; - cerr << "supply -v for verbose output" << endl; + cerr << "where may be 0, 1, or 2, for best, medium, or fastest respectively." << endl; + cerr << "Supply -v for verbose output." << endl; exit(2); } diff --git a/src/Resampler.cpp b/src/Resampler.cpp --- a/src/Resampler.cpp +++ b/src/Resampler.cpp @@ -175,7 +175,7 @@ m_debugLevel(debugLevel) { if (m_debugLevel > 0) { - cerr << "Resampler::Resampler: using IPP implementation" << endl; + cerr << "Resampler::Resampler: using implementation: IPP" << endl; } m_window = 32; @@ -601,7 +601,7 @@ m_debugLevel(debugLevel) { if (m_debugLevel > 0) { - cerr << "Resampler::Resampler: using libsamplerate implementation" + cerr << "Resampler::Resampler: using implementation: libsamplerate" << endl; } @@ -820,7 +820,7 @@ m_debugLevel(debugLevel) { if (m_debugLevel > 0) { - cerr << "Resampler::Resampler: using libresample implementation" + cerr << "Resampler::Resampler: using implementation: libresample" << endl; } @@ -1004,7 +1004,7 @@ m_debugLevel(params.debugLevel) { if (m_debugLevel > 0) { - cerr << "Resampler::Resampler: using BQResampler implementation" << endl; + cerr << "Resampler::Resampler: using implementation: BQResampler" << endl; } BQResampler::Parameters rparams; @@ -1170,7 +1170,7 @@ quality == Resampler::Fastest ? 0 : 4); if (m_debugLevel > 0) { - cerr << "Resampler::Resampler: using Speex implementation with q = " + cerr << "Resampler::Resampler: using implementation: Speex with q = " << q << endl; }