Changeset 1201:d5acfaa1ee7f in roaraudio


Ignore:
Timestamp:
02/04/09 17:00:26 (15 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

updated display of rel pos id

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roarclients/roarctl.c

    r1162 r1201  
    182182  } 
    183183  printf("Stream direction      : %s\n", roar_dir2str(s.dir)); 
    184   if ( s.pos_rel_id == -1 ) 
     184  if ( s.pos_rel_id == -1 ) { 
    185185   printf("Relativ position id   : none (stream not synchronized)\n"); 
    186   else 
    187    printf("Relativ position id   : %i\n", s.pos_rel_id); 
     186  } else if ( s.pos_rel_id == id[i] ) { 
     187   printf("Relativ position id   : %i (self synchronized)\n", s.pos_rel_id); 
     188  } else { 
     189   printf("Relativ position id   : %i (synchronized)\n", s.pos_rel_id); 
     190  } 
    188191  if ( g_verbose > 1 ) 
    189192   printf("Position              : %lu S (%.3fs)\n", (unsigned long int) s.pos, (float)s.pos/(s.info.rate*s.info.channels)); 
Note: See TracChangeset for help on using the changeset viewer.