Changeset 5545:d5521f94525c in roaraudio


Ignore:
Timestamp:
06/17/12 15:29:23 (12 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

added debug lions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roarclients/roardtmf.c

    r5534 r5545  
    7676int calc_break (int16_t * samples, size_t len, int rate, char c) { 
    7777 (void)rate, (void)c; 
     78// printf("calc_break(*): len=%zu\n", len); 
    7879 memset(samples, 0, len); 
    7980 return 0; 
     
    8889 float fc0, fc1; 
    8990 
     91// printf("calc_tone(*): len=%zu\n", len); 
     92 
    9093// printf("calc(*): t_inc=%f, t_max=%f\n", t_inc, t_max); 
    9194 
     
    116119  samples[i] = (sinf(fc0*t) + sinf(fc1*t))*8192.0; 
    117120 } 
     121 
     122// printf("i=%i\n", i); 
    118123 
    119124 return 0; 
Note: See TracChangeset for help on using the changeset viewer.