Changeset 3924:c582372abfc5 in roaraudio


Ignore:
Timestamp:
06/09/10 09:57:22 (14 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

added debug lions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroarrsound/libroarrsound.c

    r3923 r3924  
    277277 int fh; 
    278278 
     279 ROAR_DBG("rsd_exec(rd=%p) = ?", rd); 
     280 
    279281 if ( !(self->flags & LIBROARRSOUND_FLAGS_STREAMING) ) 
    280282  if ( rsd_start(rd) == -1 ) 
    281283   return -1; 
    282284 
     285 ROAR_DBG("rsd_exec(rd=%p) = ?", rd); 
     286 
    283287 if ( roar_vio_ctl(&(self->vio), ROAR_VIO_CTL_GET_FH, &fh) == -1 ) 
    284288  return -1; 
    285289 
     290 ROAR_DBG("rsd_exec(rd=%p) = ?", rd); 
     291 
    286292 if ( fh == -1 ) 
    287293  return -1; 
    288294 
     295 ROAR_DBG("rsd_exec(rd=%p) = ?", rd); 
     296 
    289297 if ( roar_stream_exec(&(self->con), &(self->stream)) == -1 ) 
    290298  return -1; 
     299 
     300 ROAR_DBG("rsd_exec(rd=%p) = ?", rd); 
    291301 
    292302 // reset flags: 
     
    297307  self->flags -= LIBROARRSOUND_FLAGS_STREAMING; 
    298308 
     309 ROAR_DBG("rsd_exec(rd=%p) = ?", rd); 
     310 
    299311 // we hope nothing goes wrong here: 
    300312 rsd_free(rd); 
     313 
     314 ROAR_DBG("rsd_exec(rd=%p) = %i", fh); 
    301315 
    302316 return fh; 
Note: See TracChangeset for help on using the changeset viewer.