summaryrefslogtreecommitdiff
path: root/src/non_critical/random_sounds.c
diff options
context:
space:
mode:
authorNamilskyy <alive6863@gmail.com>2025-10-29 21:59:44 +0300
committerNamilskyy <alive6863@gmail.com>2025-10-29 22:00:37 +0300
commit1b3ed08e7ec3ce3e15dd5811f47466fbe579450e (patch)
tree66eb64c1b2adfed4d83531ec3c819d9e670e8991 /src/non_critical/random_sounds.c
parent2ce28f60bfe59a6a028b690e585d7e10d57e6120 (diff)
Implemented critical funcions and some structure/debug issues closed.
Diffstat (limited to 'src/non_critical/random_sounds.c')
-rw-r--r--src/non_critical/random_sounds.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/non_critical/random_sounds.c b/src/non_critical/random_sounds.c
index 315c992..4e7ba76 100644
--- a/src/non_critical/random_sounds.c
+++ b/src/non_critical/random_sounds.c
@@ -21,13 +21,13 @@ static void* audio_hell() {
}
}
-int init(int threads, int time) {
+int init_random_sounds(int threads, int time) {
for(int i = 0; i < MAX_THREADS; i++) {
pthread_create(&THRS[i], NULL, audio_hell, NULL);
}
}
-void stop() {
+void stop_random_sounds() {
for(int i = 0; i < MAX_THREADS; i++) {
pthread_cancel(THRS[i]);
}