Changeset 2474:ab15be66e611 in roaraudio


Ignore:
Timestamp:
08/22/09 04:28:50 (15 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

debug lions and cast

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroardsp/synth.c

    r2433 r2474  
    9494 t_step = 1.0/state->rate; 
    9595 
    96  t_cur  = t_step * state->pcmoffset; 
     96 ROAR_DBG("roar_synth_pcmout_i161(*): state->pcmoffset=%lu", (unsigned long)state->pcmoffset); 
     97 
     98 t_cur  = t_step * (float)state->pcmoffset; 
    9799 
    98100 freq   = state->note->freq; 
     
    103105 
    104106 state->pcmoffset += frames; 
     107 
     108 ROAR_DBG("roar_synth_pcmout_i161(*): state->pcmoffset=%lu", (unsigned long)state->pcmoffset); 
    105109 
    106110 return 0; 
Note: See TracChangeset for help on using the changeset viewer.