Changeset 3211:85d85a3413b7 in roaraudio


Ignore:
Timestamp:
01/24/10 05:12:35 (10 years ago)
Author:
phi
Branch:
default
Message:

display delay as meter

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roarclients/roarctl.c

    r3072 r3211  
    2323 */ 
    2424 
     25#define _UNITS_T_BASE_USEC 
     26 
    2527#include <roaraudio.h> 
     28#include <roaraudio/units.h> 
    2629 
    2730#if defined(ROAR_HAVE_SETGID) && defined(ROAR_HAVE_SETUID) 
     
    366369    printf("Underruns pre/post    : %i/%i\n",   info.pre_underruns, info.post_underruns); 
    367370    if ( g_verbose > 1 ) 
    368      printf("Stream delay          : %ims\n",   (int)info.delay/1000); 
     371     printf("Stream delay          : %ims (%.2fm)\n",   (int)info.delay/1000, (info.delay*(float)_SPEED_OF_SOUND)); 
    369372 
    370373    if ( g_verbose > 1 ) 
Note: See TracChangeset for help on using the changeset viewer.