Changeset 5710:8a616242d3a1 in roaraudio for roard


Ignore:
Timestamp:
10/24/12 16:37:35 (7 years ago)
Author:
phi
Branch:
default
Message:

added some more debug lions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roard/streams.c

    r5624 r5710  
    843843  //ROAR_INFO("streams_set_fh(id=%i, fh=%i): stream state: %s->new", ROAR_DBG_INFO_VERBOSE, id, fh, roar_streamstate2str(ss->state)); 
    844844  _streams_change_state(ss, ROAR_STREAMSTATE_NEW, "streams_set_fh"); 
     845  ROAR_DBG("streams_set_fh(id=%i, fh=%i): s->fh=%i", id, fh, s->fh); 
     846  ROAR_DBG("streams_set_fh(id=%i, fh=%i) = 0", id, fh); 
    845847  return 0; 
    846848 } 
     
    897899 
    898900int streams_get_fh     (int id) { 
    899  _CHECK_SID(id); 
    900  
    901  return ROAR_STREAM(g_streams[id])->fh; 
     901 int ret; 
     902 
     903 ROAR_DBG("streams_get_fh(id=%i) = ?", id); 
     904 
     905 _CHECK_SID(id); 
     906 
     907 ROAR_DBG("streams_get_fh(id=%i) = ?", id); 
     908 
     909 ret = ROAR_STREAM(g_streams[id])->fh; 
     910 
     911 ROAR_DBG("streams_get_fh(id=%i) = %i", id, ret); 
     912 
     913 return ret; 
    902914} 
    903915 
Note: See TracChangeset for help on using the changeset viewer.