Changeset 964:0a0e4e32d700 in roaraudio for roarclients/roarctl.c


Ignore:
Timestamp:
12/09/08 17:16:35 (15 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

added support for roarctl to show position info

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roarclients/roarctl.c

    r963 r964  
    177177  else 
    178178   printf("Relativ position id   : %i\n", s.pos_rel_id); 
     179  if ( g_verbose > 1 ) 
     180   printf("Position              : %lu S (%.3fs)\n", (unsigned long int) s.pos, (float)s.pos/(s.info.rate*s.info.channels)); 
    179181  printf("Input rate            : %i\n", s.info.rate); 
    180182  printf("Input bits            : %i\n", s.info.bits); 
Note: See TracChangeset for help on using the changeset viewer.