Changeset 2482:98c1836272a8 in roaraudio for include/libroardsp
- Timestamp:
- 08/23/09 16:07:35 (15 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
include/libroardsp/synth.h
r2433 r2482 42 42 43 43 // SYNF -> Synthesis Function 44 #define ROAR_SYNTH_SYNF_SIN ROAR_SYNTH_FUNC_CAST(sinf)45 44 #define ROAR_SYNTH_SYNF_RECT ROAR_SYNTH_FUNC_CAST(roar_synth_synf_rect) 46 45 #define ROAR_SYNTH_SYNF_SAW ROAR_SYNTH_FUNC_CAST(roar_synth_synf_saw) 47 46 #define ROAR_SYNTH_SYNF_TRI ROAR_SYNTH_FUNC_CAST(roar_synth_synf_tri) 48 47 #define ROAR_SYNTH_SYNF_TRAP ROAR_SYNTH_FUNC_CAST(roar_synth_synf_trap) 48 49 // those use sin*() 50 #ifdef ROAR_HAVE_LIBM 51 #define ROAR_SYNTH_SYNF_SIN ROAR_SYNTH_FUNC_CAST(sinf) 49 52 #define ROAR_SYNTH_SYNF_S2S ROAR_SYNTH_FUNC_CAST(roar_synth_synf_s2s) 53 #endif 50 54 51 55 struct roar_synth_state { … … 70 74 float roar_synth_synf_tri (float t, struct roar_synth_state * state); 71 75 float roar_synth_synf_trap (float t, struct roar_synth_state * state); 76 77 #ifdef ROAR_HAVE_LIBM 72 78 float roar_synth_synf_s2s (float t, struct roar_synth_state * state); 79 #endif 73 80 74 81 #endif
Note: See TracChangeset
for help on using the changeset viewer.