Changeset 5270:e25346c13638 in roaraudio for libroardsp/filter_responsecurve.c
- Timestamp:
- 11/17/11 18:20:12 (12 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libroardsp/filter_responsecurve.c
r5269 r5270 29 29 struct roardsp_responsecurve * self = roar_mm_malloc(sizeof(struct roardsp_responsecurve)); 30 30 31 (void)stream, (void)id; 32 31 33 ROAR_DBG("roardsp_responsecurve_init(filter=%p, stream=%p, id=%i) = ?", filter, stream, id); 32 34 … … 50 52 51 53 static double __func_pass(double i, double N) { 54 (void)N; 52 55 return i; 53 56 } … … 70 73 71 74 static double __func_cos(double i, double N) { 75 (void)N; 72 76 return 0.5 - cos(i * M_PI)/2.; 73 77 } 74 78 75 79 static double __func_icos(double i, double N) { 80 (void)N; 76 81 return 2.*i - 0.5 + cos(i * M_PI)/2.; 77 82 }
Note: See TracChangeset
for help on using the changeset viewer.