Changeset 1329:1e617b6b0d30 in roaraudio
- Timestamp:
- 03/23/09 02:39:11 (15 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libroar/vio_dstr.c
r1328 r1329 243 243 } 244 244 245 ROAR_ WARN("roar_vio_open_dstr_vio(*): name='%s', opts='%s', dst='%s'", name, opts, dst);245 ROAR_DBG("roar_vio_open_dstr_vio(*): name='%s', opts='%s', dst='%s'", name, opts, dst); 246 246 247 247 if ( (type = roar_vio_dstr_get_type(name)) == -1 ) { … … 249 249 } 250 250 251 ROAR_ WARN("roar_vio_open_dstr_vio(*): type=0x%.4x(%s)", type, roar_vio_dstr_get_name(type));251 ROAR_DBG("roar_vio_open_dstr_vio(*): type=0x%.4x(%s)", type, roar_vio_dstr_get_name(type)); 252 252 253 253 chain[cc].type = type; … … 312 312 for (i = len; i >= 0; i--) { 313 313 c = &chain[i]; 314 next = &chain[i-1]; 314 315 if ( i > 0 ) { 316 next = &chain[i-1]; 317 } else { 318 next = NULL; 319 320 if ( c->type != ROAR_VIO_DSTR_OBJT_INTERNAL ) 321 return -1; 322 } 315 323 316 324 memset(tmp, 0, sizeof(tmp)); … … 398 406 } 399 407 400 ROAR_WARN("roar_vio_dstr_set_defaults(*): i=%i, c->type=0x%.4x(%s): next->def=%p, next->def->type=%i", i, 401 c->type & 0xFFFF, roar_vio_dstr_get_name(c->type), 402 next->def, next->def == NULL ? -1 : next->def->type); 408 if ( next != NULL ) { 409 ROAR_DBG("roar_vio_dstr_set_defaults(*): i=%i, c->type=0x%.4x(%s): next->def=%p, next->def->type=%i", i, 410 c->type & 0xFFFF, roar_vio_dstr_get_name(c->type), 411 next->def, next->def == NULL ? -1 : next->def->type); 412 } else { 413 ROAR_DBG("roar_vio_dstr_set_defaults(*): i=%i, c->type=0x%.4x(%s): next=NULL", i, 414 c->type & 0xFFFF, roar_vio_dstr_get_name(c->type)); 415 } 403 416 } 404 417 … … 425 438 return -1; 426 439 427 ROAR_ WARN("roar_vio_dstr_build_chain(*): chain=%p", chain);440 ROAR_DBG("roar_vio_dstr_build_chain(*): chain=%p", chain); 428 441 429 442 if ( (def = chain->def) != NULL ) {
Note: See TracChangeset
for help on using the changeset viewer.