Changeset 2747:3b74f02762f5 in roaraudio


Ignore:
Timestamp:
09/21/09 23:55:45 (15 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

new debug lions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roard/streams.c

    r2734 r2747  
    873873 buflen = ROAR_OUTPUT_CALC_OUTBUFSIZE_MAX(info, stream_info); 
    874874 
     875 ROAR_DBG("streams_fill_mixbuffer2(id=%i, info=%p{...}): inlen=%lu, buflen=%lu", id, info, (unsigned long)inlen, (unsigned long)buflen); 
     876 
    875877 if ( inlen == 0 ) { 
    876878  ROAR_WARN("streams_fill_mixbuffer2(id=%i, info=%p{...}): inlen == 0, this should not happen!", id, info); 
     
    959961 
    960962 if ( !streams_get_flag(id, ROAR_FLAG_HWMIXER) && !streams_get_flag(id, ROAR_FLAG_PASSMIXER) ) { 
     963  ROAR_DBG("streams_fill_mixbuffer2(*): CALL change_vol(*)..."); 
    961964  if ( change_vol(outdata, info->bits, outdata, 8*outlen / info->bits, info->channels, &(ss->mixer)) == -1 ) 
    962965   return -1; 
     
    964967 
    965968 if ( streams_get_flag(id, ROAR_FLAG_ANTIECHO) ) { 
     969  ROAR_DBG("streams_fill_mixbuffer2(*): Calcing antiecho..."); 
    966970  // we can ignore errors here: 
    967971  if ( stream_outputbuffer_request(id, &bufbuf, buflen) == 0 ) { 
     
    973977 s->pos = ROAR_MATH_OVERFLOW_ADD(s->pos, ROAR_OUTPUT_CALC_OUTBUFSAMP(info, outlen)*info->channels); 
    974978 
     979 ROAR_DBG("streams_fill_mixbuffer2(*) = 0"); 
    975980 return 0; 
    976981} 
Note: See TracChangeset for help on using the changeset viewer.