ref: 9d742e2840dacfffe8ecda3ef25ed6aa7974ac6b
parent: 943431e46c852a12fa0769ad3e4a93575c7da2dc
author: cbagwell <cbagwell>
date: Mon Sep 10 09:47:53 EDT 2001
Cosmetic cleanup of trim effect. Placed in order in array.
--- a/src/handlers.c
+++ b/src/handlers.c
@@ -690,6 +690,11 @@
extern int st_synth_drain();
extern int st_synth_stop();
+extern int st_trim_getopts();
+extern int st_trim_start();
+extern int st_trim_flow();
+extern int st_trim_stop();
+
extern int st_vibro_getopts();
extern int st_vibro_start();
extern int st_vibro_flow();
@@ -700,11 +705,6 @@
extern int st_vol_flow();
extern int st_vol_stop();
-extern int st_trim_getopts();
-extern int st_trim_start();
-extern int st_trim_flow();
-extern int st_trim_stop();
-
/*
* ST_EFF_CHAN means that the number of channels can change.
* ST_EFF_RATE means that the sample rate can change.
@@ -827,6 +827,9 @@
{"synth", ST_EFF_MCHAN,
st_synth_getopts, st_synth_start, st_synth_flow,
st_synth_drain, st_synth_stop},
+ {"trim", ST_EFF_MCHAN,
+ st_trim_getopts, st_trim_start, st_trim_flow,
+ st_null_drain, st_nothing},
{"vibro", 0,
st_vibro_getopts, st_vibro_start, st_vibro_flow,
st_null_drain, st_nothing},
@@ -833,10 +836,6 @@
{"vol", ST_EFF_MCHAN,
st_vol_getopts, st_vol_start, st_vol_flow,
st_null_drain, st_vol_stop},
- {"trim", ST_EFF_MCHAN,
- st_trim_getopts, st_trim_start, st_trim_flow,
- st_null_drain, st_nothing},
-
{0, 0, 0, 0, 0, 0, 0}
};