From 8f208c26b6fa1a9f3372679c047cab559c06e26b Mon Sep 17 00:00:00 2001 From: Andrew Opalach Date: Mon, 14 Sep 2026 08:57:42 -0400 Subject: Server-side fixes from DIRECT_MODE testing Signed-off-by: Andrew Opalach --- src/libsink/input_simulator.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/libsink/input_simulator.c') diff --git a/src/libsink/input_simulator.c b/src/libsink/input_simulator.c index 5b9d6e6..883e631 100644 --- a/src/libsink/input_simulator.c +++ b/src/libsink/input_simulator.c @@ -7,7 +7,7 @@ #include "input_simulator.h" -// This is ignoring all thread-safety. +// Currently ignoring all thread-safety. static s32 quit = 1; static struct nn_thread thread; @@ -17,7 +17,8 @@ enum { TOGGLE_PAUSE, SEEK, SHUFFLE, - MARK, // count + COUNT, + RESEEK }; static nn_thread_result NNWT_THREADCALL input_simulation_thread(void *userdata) @@ -28,7 +29,7 @@ static nn_thread_result NNWT_THREADCALL input_simulation_thread(void *userdata) //nn_thread_sleep(NNWT_TS_FROM_USEC(2000000 + al_random_int(0, 1750000))); //nn_thread_sleep(NNWT_TS_FROM_USEC(60000)); nn_thread_sleep(NNWT_TS_FROM_USEC(30000)); - switch (al_random_int(0, MARK - 1)) { + switch (al_random_int(0, COUNT - 1)) { case SKIP: { s32 n = al_random_int(1, 5); log_info("SKIP (n: %d).", n); -- cgit v1.2.3-101-g0448