Changeset 1104:bfe959698403 in roaraudio
- Timestamp:
- 01/11/09 02:25:42 (15 years ago)
- Branch:
- default
- Phase:
- public
- Location:
- libroardsp
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
libroardsp/filter.c
r1100 r1104 37 37 {ROARDSP_FILTER_ADD, "Add", roardsp_add_init, roardsp_amp_uninit, roardsp_amp_ctl, { 38 38 {NULL, NULL, NULL},{NULL, NULL, NULL},{roardsp_add_calc16, NULL, NULL},{NULL, NULL, NULL},{NULL, NULL, NULL}}}, 39 #ifdef ROAR_HAVE_LIBM 39 40 {ROARDSP_FILTER_LOWP, "Lowpass", roardsp_lowp_init, roardsp_lowp_uninit, roardsp_lowp_ctl, { 40 41 {NULL, NULL, NULL},{NULL, NULL, NULL},{roardsp_lowp_calc16, NULL, NULL},{NULL, NULL, NULL},{NULL, NULL, NULL}}}, 41 42 {ROARDSP_FILTER_HIGHP, "Highpass", roardsp_highp_init, roardsp_highp_uninit, roardsp_highp_ctl, { 42 43 {NULL, NULL, NULL},{NULL, NULL, NULL},{roardsp_highp_calc16, NULL, NULL},{NULL, NULL, NULL},{NULL, NULL, NULL}}}, 44 #endif 43 45 {ROARDSP_FILTER_QUANTIFY, "Quantifier", roardsp_quantify_init, NULL, roardsp_quantify_ctl, { 44 46 {NULL, NULL, NULL},{NULL, NULL, NULL},{roardsp_quantify_calc16, NULL, NULL},{NULL, NULL, NULL},{NULL, NULL, NULL}}}, -
libroardsp/filter_downmix.c
r1020 r1104 62 62 } 63 63 break; 64 #ifdef ROAR_HAVE_LIBM 64 65 case ROARDSP_DOWNMIX_RMS: 65 66 for (i = 0; i < samples; i += 2) { … … 79 80 } 80 81 break; 82 #endif 81 83 default: 82 84 ROAR_DBG("roardsp_downmix_calc162(*) = -1 // unknown mode"); -
libroardsp/filter_highp.c
r883 r1104 24 24 25 25 #include "libroardsp.h" 26 27 #ifdef ROAR_HAVE_LIBM 26 28 27 29 int roardsp_highp_init (struct roardsp_filter * filter, struct roar_stream * stream, int id) { … … 109 111 } 110 112 113 #endif 114 111 115 //ll -
libroardsp/filter_lowp.c
r885 r1104 24 24 25 25 #include "libroardsp.h" 26 27 #ifdef ROAR_HAVE_LIBM 26 28 27 29 int roardsp_lowp_init (struct roardsp_filter * filter, struct roar_stream * stream, int id) { … … 105 107 } 106 108 109 #endif 110 107 111 //ll -
libroardsp/midi.c
r687 r1104 107 107 108 108 int roar_midi_gen_tone (struct roar_note_octave * note, int16_t * samples, float t, int rate, int channels, int type, void * opts) { 109 #ifdef ROAR_HAVE_LIBM 109 110 int i, c; 110 111 float ct; … … 137 138 138 139 return 0; 140 #else 141 return -1; 142 #endif 139 143 } 140 144
Note: See TracChangeset
for help on using the changeset viewer.