summaryrefslogtreecommitdiff
path: root/src/sink
diff options
context:
space:
mode:
Diffstat (limited to 'src/sink')
-rw-r--r--src/sink/input_simulator.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sink/input_simulator.c b/src/sink/input_simulator.c
index baa7dc8..9cf395f 100644
--- a/src/sink/input_simulator.c
+++ b/src/sink/input_simulator.c
@@ -39,8 +39,8 @@ static nn_thread_result NNWT_THREADCALL input_simulation_thread(void *userdata)
case SEEK: {
f64 pos = al_rand() / (f64)AL_RAND_MAX;
if (pos < 0.005) pos = 0.0;
- if (pos > 0.995) pos = 100.0;
- else if (pos > 0.99) pos = 99.9;
+ if (pos > 0.995) pos = 1.0;
+ else if (pos > 0.99) pos = .9999;
camu_sink_seek(sink, pos);
break;
}