Changeset 4964:bba084fba0fa in roaraudio
- Timestamp:
- 05/14/11 05:17:28 (13 years ago)
- Branch:
- default
- Phase:
- public
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
libroar/vio_dstr.c
r4956 r4964 780 780 } 781 781 782 if ( roar_vio_ init_calls(tc) == -1 ) {782 if ( roar_vio_clear_calls(tc) == -1 ) { 783 783 free(tc); 784 784 _ret(-1); … … 813 813 } 814 814 815 if ( roar_vio_ init_calls(tc) == -1 ) {815 if ( roar_vio_clear_calls(tc) == -1 ) { 816 816 free(tc); 817 817 _ret(-1); -
libroaross/libroaross.c
r4853 r4964 793 793 handle->sysio_flags = flags; 794 794 795 if ( roar_vio_ init_calls(&(handle->stream_vio)) == -1 ) {795 if ( roar_vio_clear_calls(&(handle->stream_vio)) == -1 ) { 796 796 _close_handle(handle); 797 797 return -1; -
roard/sources.c
r4920 r4964 348 348 //if ( roar_vio_open_file(vio, device, O_RDONLY, 0644) == -1 ) { 349 349 if ( roar_vio_open_dstr(vio, device, &def, 1) == -1 ) { 350 roar_vio_ init_calls(vio); // clear the VIO object again350 roar_vio_clear_calls(vio); // clear the VIO object again 351 351 // from things roar_vio_open_dstr() left. 352 352 _ret(-1); -
roard/streams.c
r4957 r4964 222 222 #endif 223 223 224 roar_vio_ init_calls(&(s->vio));225 roar_vio_ init_calls(&(s->jumbo));224 roar_vio_clear_calls(&(s->vio)); 225 roar_vio_clear_calls(&(s->jumbo)); 226 226 s->viop = &(s->vio); 227 227 s->driver_id = -1; … … 340 340 if ( s->driver_id != -1 ) { 341 341 driver_closevio(&(s->vio), s->driver_id); 342 roar_vio_ init_calls(&(s->vio));342 roar_vio_clear_calls(&(s->vio)); 343 343 s->driver_id = -1; 344 344 no_vio_close = 1;
Note: See TracChangeset
for help on using the changeset viewer.