diff options
Diffstat (limited to 'libaf/af_sweep.c')
-rw-r--r-- | libaf/af_sweep.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/libaf/af_sweep.c b/libaf/af_sweep.c index dab6895b0f..e1890c6b3b 100644 --- a/libaf/af_sweep.c +++ b/libaf/af_sweep.c @@ -36,7 +36,7 @@ typedef struct af_sweep_s{ // Initialization and runtime control static int control(struct af_instance_s* af, int cmd, void* arg) { - af_sweept* s = (af_sweept*)af->setup; + af_sweept* s = (af_sweept*)af->setup; af_data_t *data= (af_data_t*)arg; switch(cmd){ @@ -57,7 +57,7 @@ static int control(struct af_instance_s* af, int cmd, void* arg) return AF_UNKNOWN; } -// Deallocate memory +// Deallocate memory static void uninit(struct af_instance_s* af) { if(af->data) @@ -70,7 +70,7 @@ static void uninit(struct af_instance_s* af) // Filter data through filter static af_data_t* play(struct af_instance_s* af, af_data_t* data) -{ +{ af_sweept *s = af->setup; int i, j; int16_t *in = (int16_t*)data->audio; @@ -105,4 +105,3 @@ af_info_t af_info_sweep = { AF_FLAGS_REENTRANT, af_open }; - |