Select Git revision
ITAAudiofileCommon.cpp
Dipl.-Ing. Jonas Stienen authored
style cleanups moving definitions to ITATypes (domain, quantization)
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
ITAAudiofileCommon.cpp 438 B
#include "ITAAudiofileCommon.h"
#include <cstdio>
void print( const ITAAudiofileProperties& props )
{
printf( "%s | %0.1f Hz | %i channels | %s | length: %i Samples",
toString( props.eDomain ).c_str(),
props.dSampleRate,
props.iChannels,
toString( props.eQuantization ).c_str(),
props.iLength );
if( !props.sComment.empty() )
printf( " | Comment: \"%s\"", props.sComment.c_str() );
printf( "\n" );
}