Changeset 5384:7878569294fa in roaraudio
- Timestamp:
- 01/09/12 20:59:48 (12 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
roarclients/roarctl.c
r5383 r5384 79 79 #endif 80 80 " whoami - Get own client ID\n" 81 "\n" 82 " beep - Ask the server to beep.\n" 81 83 "\n" 82 84 " listaiprofiles - list audio info profiles\n" … … 246 248 ans.tv_usec -= try.tv_usec; 247 249 248 printf("Pong from server: seq=%i time=%.3fms\n", i, (cur = ans.tv_usec/1000.0)); 250 cur = ans.tv_usec/1000.0; 251 252 printf("Pong from server: seq=%i time=%.3f%cs\n", i, cur < 0.5 ? cur*1000.0 : cur, cur < 0.5 ? 'u' : 'm'); 249 253 250 254 sum += cur; … … 1295 1299 } else if ( !strcmp(k, "whoami") ) { 1296 1300 printf("My client ID is: %i\n", roar_get_clientid(&con)); 1301 } else if ( !strcmp(k, "beep") ) { 1302 roar_beep(&con, NULL); 1297 1303 } else if ( !strcmp(k, "serverinfo") ) { 1298 1304 server_info(&con);
Note: See TracChangeset
for help on using the changeset viewer.