Changeset 5495:2bbc84e22b80 in roaraudio


Ignore:
Timestamp:
05/06/12 02:49:56 (12 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

removed ROAR_DBG() lions resulting in build failture in case of -DDEBUG

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroardsp/transcode_speex.c

    r5381 r5495  
    177177   return -1; 
    178178  state->stage = ROAR_XCODER_STAGE_MAGIC; 
    179   ROAR_DBG("roar_xcoder_speex_encode(*): Wrote MAGIC"); 
     179  ROAR_DBG("roar_xcoder_speex_proc_header(*): Wrote MAGIC"); 
    180180 
    181181  state->stage = ROAR_XCODER_STAGE_OPENING; 
     
    187187  state->stage = ROAR_XCODER_STAGE_OPENED; 
    188188 } else { 
    189   ROAR_DBG("roar_xcoder_speex_decode(state=%p, buf=%p, len=%lu): state->stage = INITED", state, buf, (unsigned long)len); 
    190189  if ( roar_vio_read(state->backend, magic, ROAR_SPEEX_MAGIC_LEN) != ROAR_SPEEX_MAGIC_LEN ) 
    191190   return -1; 
     
    195194 
    196195  state->stage = ROAR_XCODER_STAGE_MAGIC; 
    197   ROAR_DBG("roar_xcoder_speex_decode(state=%p, buf=%p, len=%lu): state->stage = MAGIC", state, buf, (unsigned long)len); 
    198196 
    199197  if ( roar_vio_read(state->backend, &tmp_net, 2) != 2 ) 
     
    203201 
    204202  state->stage = ROAR_XCODER_STAGE_OPENING; 
    205   ROAR_DBG("roar_xcoder_speex_decode(state=%p, buf=%p, len=%lu): state->stage = OPENING", state, buf, (unsigned long)len); 
    206203 
    207204  switch (self->mode) { 
     
    212209  } 
    213210 
    214   ROAR_DBG("roar_xcoder_speex_decode(state=%p, buf=%p, len=%lu): opened decoder state", state, buf, (unsigned long)len); 
    215  
    216211  tmp=1; 
    217212  speex_decoder_ctl(self->xcoder, SPEEX_SET_ENH, &tmp); 
     
    220215  speex_decoder_ctl(self->xcoder, SPEEX_GET_FRAME_SIZE, &(self->frame_size)); 
    221216 
    222   ROAR_DBG("roar_xcoder_speex_decode(state=%p, buf=%p, len=%lu): self->stereo = %i", state, buf, (unsigned long)len, self->stereo); 
    223  
    224217  if ( self->stereo ) { 
    225218   memcpy(&(self->stereo_state), &stereo, sizeof(self->stereo_state)); 
     
    233226 
    234227  state->stage = ROAR_XCODER_STAGE_OPENED; 
    235   ROAR_DBG("roar_xcoder_speex_decode(state=%p, buf=%p, len=%lu): state->stage = OPENED", state, buf, (unsigned long)len); 
    236228 } 
    237229 
Note: See TracChangeset for help on using the changeset viewer.