Adding more information outputs on streaming configuration

parent 8dca9ea7
......@@ -164,6 +164,12 @@ int main( int argc, char* argv[] )
std::cerr << "Could not initialize Portaudio, encountered error: " << ITAPortaudioInterface::GetErrorCodeString( iError ) << std::endl;
return 255;
}
std::cout << "Starting audio streaming on device '" << oITAPA.GetDeviceName(iPortaudioDeviceID) << "'"
<< " with " << dSamplingRate / 1.0e3 << " kHz and a block size of " << iBlockLength << " samples on "
<< oITAPA.GetNumOutputChannels( iPortaudioDeviceID ) << " output channels." << std::endl;
std::cout << "Your FIR filter has " << iFilterChannels << " channel" << ( iFilterChannels > 1 ? "s" : "" ) << " and a length of " << iFilterLength << " taps / samples"
<< " (" << double( iFilterLength ) / dSamplingRate << " seconds)." << std::endl;
// Streaming chaing
ITAStreamConvolver oConvolver( dSamplingRate, iBlockLength, iFilterLength );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment