Skip to main content
Sign in
Snippets Groups Projects
Select Git revision
  • 01a43cb1f397d90ba4379968134f0cec723ca7ed
  • master default protected
  • develop protected
  • feature/triangulation-qhull
  • jst
  • ti_lab_build
  • features/splines_and_piecewise_polynomials
  • ma_2018/erraji
  • fabian
  • ITABase_v2025a
  • ITABase_v2024a
  • VA_v2023b
  • VA_v2023a
  • VA_v2022a
  • before_cmake_rework
  • v2021.a
  • v2020.a
  • v2019.a
  • v2018.b
  • v2018.a
  • v2017.d
  • v2017.c
  • v2017.b
  • v2017.a
  • v2016.a
25 results

ITAAudiofileCommon.cpp

Blame
  • Jonas Stienen's avatar
    Dipl.-Ing. Jonas Stienen authored
    style
    cleanups
    moving definitions to ITATypes (domain, quantization)
    1900a522
    History
    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" );
    }