#ifndef SIGNAL_H__ #define SIGNAL_H__ /* */ enum{ SINE_WAVE = 0x1, WHITE_NOISE, PINK_NOISE, PITCH_VOICE, }; void* alg_sg_create(int sample_rate,int sample_num); void alg_sg_set_param(void* h,int f,int type,float gain); void alg_sg_process(void* h,float* data_out); void alg_sg_destroy(void* h); void gen_pink(float G, int n, float* data_out); void gen_white(float G, int n, float* data_out); #endif