summaryrefslogtreecommitdiffstats
path: root/libaf/af_sweep.c
diff options
context:
space:
mode:
Diffstat (limited to 'libaf/af_sweep.c')
-rw-r--r--libaf/af_sweep.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libaf/af_sweep.c b/libaf/af_sweep.c
index 6c44cada43..c75ce28f78 100644
--- a/libaf/af_sweep.c
+++ b/libaf/af_sweep.c
@@ -74,8 +74,7 @@ static int af_open(af_instance_t* af){
af->control=control;
af->uninit=uninit;
af->play=play;
- af->mul.n=1;
- af->mul.d=1;
+ af->mul=1;
af->data=calloc(1,sizeof(af_data_t));
af->setup=calloc(1,sizeof(af_sweept));
return AF_OK;