Changeset 1135:bb7bb703c22b in roaraudio


Ignore:
Timestamp:
01/20/09 20:42:24 (15 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

ROAR_WARN() -> ROAR_DBG()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroardsp/filter_dcblock.c

    r1131 r1135  
    6161  return -1; 
    6262 
     63 ROAR_DBG("roardsp_dcblock_reset(filter=%p, what=%i) = ?", filter, what); 
     64 
    6365 switch (what) { 
    6466  case ROARDSP_RESET_NONE: 
     
    7173  case ROARDSP_RESET_STATE: 
    7274    memset(((struct roardsp_dcblock*)filter->inst)->dc, 0, sizeof(int32_t)*ROARDSP_DCBLOCK_NUMBLOCKS); 
     75    ((struct roardsp_dcblock*)filter->inst)->cur = 0; 
    7376    return  0; 
    7477   break; 
     
    9194 } 
    9295 
    93  ROAR_WARN("roardsp_dcblock_calc16(*): s=%i (current block of %i samples)", s, samples); 
     96 ROAR_DBG("roardsp_dcblock_calc16(*): s=%i (current block of %i samples)", s, samples); 
    9497 
    9598 s = (float)(s / samples); 
    9699 
    97  ROAR_WARN("roardsp_dcblock_calc16(*): inst=%p, inst->cur=%i", inst, inst->cur); 
     100 ROAR_DBG("roardsp_dcblock_calc16(*): inst=%p, inst->cur=%i", inst, inst->cur); 
    98101 inst->dc[(inst->cur)++] = s; 
    99102 
     
    110113// s += (ROAR_INSTINT)filter->inst; 
    111114 
    112  ROAR_WARN("roardsp_dcblock_calc16(*): new DC value: %i", s); 
     115 ROAR_DBG("roardsp_dcblock_calc16(*): new DC value: %i", s); 
    113116 
    114117 for (i = 0; i < samples; i++) 
Note: See TracChangeset for help on using the changeset viewer.