Changeset 2474:ab15be66e611 in roaraudio
- Timestamp:
- 08/22/09 04:28:50 (15 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libroardsp/synth.c
r2433 r2474 94 94 t_step = 1.0/state->rate; 95 95 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; 97 99 98 100 freq = state->note->freq; … … 103 105 104 106 state->pcmoffset += frames; 107 108 ROAR_DBG("roar_synth_pcmout_i161(*): state->pcmoffset=%lu", (unsigned long)state->pcmoffset); 105 109 106 110 return 0;
Note: See TracChangeset
for help on using the changeset viewer.