Changeset 3924:c582372abfc5 in roaraudio
- Timestamp:
- 06/09/10 09:57:22 (14 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libroarrsound/libroarrsound.c
r3923 r3924 277 277 int fh; 278 278 279 ROAR_DBG("rsd_exec(rd=%p) = ?", rd); 280 279 281 if ( !(self->flags & LIBROARRSOUND_FLAGS_STREAMING) ) 280 282 if ( rsd_start(rd) == -1 ) 281 283 return -1; 282 284 285 ROAR_DBG("rsd_exec(rd=%p) = ?", rd); 286 283 287 if ( roar_vio_ctl(&(self->vio), ROAR_VIO_CTL_GET_FH, &fh) == -1 ) 284 288 return -1; 285 289 290 ROAR_DBG("rsd_exec(rd=%p) = ?", rd); 291 286 292 if ( fh == -1 ) 287 293 return -1; 288 294 295 ROAR_DBG("rsd_exec(rd=%p) = ?", rd); 296 289 297 if ( roar_stream_exec(&(self->con), &(self->stream)) == -1 ) 290 298 return -1; 299 300 ROAR_DBG("rsd_exec(rd=%p) = ?", rd); 291 301 292 302 // reset flags: … … 297 307 self->flags -= LIBROARRSOUND_FLAGS_STREAMING; 298 308 309 ROAR_DBG("rsd_exec(rd=%p) = ?", rd); 310 299 311 // we hope nothing goes wrong here: 300 312 rsd_free(rd); 313 314 ROAR_DBG("rsd_exec(rd=%p) = %i", fh); 301 315 302 316 return fh;
Note: See TracChangeset
for help on using the changeset viewer.