Changeset 964:0a0e4e32d700 in roaraudio
- Timestamp:
- 12/09/08 17:16:35 (15 years ago)
- Branch:
- default
- Phase:
- public
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
libroar/stream.c
r963 r964 318 318 roar_debug_audio_info_print(&s->info); 319 319 320 m->pos = s->pos; 321 320 322 return 0; 321 323 } … … 329 331 if ( m->datalen != _ROAR_STREAM_MESSAGE_LEN ) 330 332 return -1; 333 334 s->pos = m->pos; 331 335 332 336 data = (uint32_t*) m->data; -
roarclients/roarctl.c
r963 r964 177 177 else 178 178 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)); 179 181 printf("Input rate : %i\n", s.info.rate); 180 182 printf("Input bits : %i\n", s.info.bits); -
roard/req.c
r963 r964 309 309 //ROAR_DIR_OUTPUT 310 310 311 memset(s, 0, sizeof(struct roar_stream)); 312 311 313 s.dir = ROAR_DIR_OUTPUT; 312 314 s.pos_rel_id = -1; … … 486 488 } 487 489 490 mes->pos = s->pos; 491 488 492 mes->cmd = ROAR_CMD_OK; 489 493 return 0;
Note: See TracChangeset
for help on using the changeset viewer.