Changeset 3183:a965fad9c167 in roaraudio


Ignore:
Timestamp:
01/16/10 00:44:37 (12 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

more debug lions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroaross/libroaross.c

    r3180 r3183  
    234234 
    235235static struct session * _open_session (char * server, char * name) { 
     236 ROAR_DBG("_open_session(server='%s', name='%s') = ?", server, name); 
     237 ROAR_DBG("_open_session(server='%s', name='%s'): _session.refc=%i", server, name, _session.refc); 
     238 
    236239 if ( _session.refc == 0 ) { 
    237240 
     
    246249 
    247250 _session.refc++; 
     251 
     252 ROAR_DBG("_open_session(server='%s', name='%s') = %p", server, name, &_session); 
    248253 return &_session; 
    249254} 
     
    264269static struct handle * _open_handle(struct session * session) { 
    265270 struct handle * handle; 
     271 
     272 ROAR_DBG("_open_handle(session=%p) = ?", session); 
    266273 
    267274 if ( (handle = roar_mm_malloc(sizeof(struct handle))) == NULL ) 
     
    277284 roar_stream_new(&(handle->stream), ROAR_RATE_DEFAULT, ROAR_CHANNELS_DEFAULT, ROAR_BITS_DEFAULT, ROAR_CODEC_DEFAULT); 
    278285 
     286 ROAR_DBG("_open_handle(session=%p) = %p", session, handle); 
    279287 return handle; 
    280288} 
Note: See TracChangeset for help on using the changeset viewer.