Changeset 2311:883f5e3c33f0 in roaraudio for libroardsp/transcode.c


Ignore:
Timestamp:
08/05/09 16:29:04 (15 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

added a lot debug lions, commented out parts making the speex xcoder unusable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroardsp/transcode.c

    r2297 r2311  
    129129 _CHECK(); 
    130130 
     131 ROAR_DBG("roar_xcoder_proc_packet(state=%p, buf=%p, len=%lu) = ?", state, buf, (unsigned long)len); 
     132 
    131133 if ( state->backend == NULL ) 
    132134  return -1; 
     
    168170 int ret; 
    169171 
     172 ROAR_DBG("roar_bixcoder_packet_size(state=%p, samples=%i) = ?", state, samples); 
     173 
    170174 if ( state == NULL ) 
    171175  return -1; 
     
    174178  return -1; 
    175179 
     180 ROAR_DBG("roar_bixcoder_packet_size(state=%p, samples=%i): ret=%i", state, samples, ret); 
     181 
     182// TODO: we need a lot hope here... 
     183/* 
    176184 if ( roar_xcoder_packet_size(&(state->decoder), ret) != ret ) 
    177185  return -1; 
    178  
     186*/ 
     187 
     188 ROAR_DBG("roar_bixcoder_packet_size(state=%p, samples=%i) = %i", state, samples, ret); 
    179189 return ret; 
    180190} 
     
    195205 
    196206int roar_bixcoder_read_packet (struct roar_bixcoder * state, void * buf, size_t len) { 
     207 
     208 ROAR_DBG("roar_bixcoder_read_packet(state=%p, buf=%p, len=%lu) = ?", state, buf, (unsigned long)len); 
     209 
    197210 if ( state == NULL ) 
    198211  return -1; 
Note: See TracChangeset for help on using the changeset viewer.