Changeset 5545:d5521f94525c in roaraudio
- Timestamp:
- 06/17/12 15:29:23 (11 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
roarclients/roardtmf.c
r5534 r5545 76 76 int calc_break (int16_t * samples, size_t len, int rate, char c) { 77 77 (void)rate, (void)c; 78 // printf("calc_break(*): len=%zu\n", len); 78 79 memset(samples, 0, len); 79 80 return 0; … … 88 89 float fc0, fc1; 89 90 91 // printf("calc_tone(*): len=%zu\n", len); 92 90 93 // printf("calc(*): t_inc=%f, t_max=%f\n", t_inc, t_max); 91 94 … … 116 119 samples[i] = (sinf(fc0*t) + sinf(fc1*t))*8192.0; 117 120 } 121 122 // printf("i=%i\n", i); 118 123 119 124 return 0;
Note: See TracChangeset
for help on using the changeset viewer.