mirror of
https://github.com/Tha14/toxic.git
synced 2025-07-01 13:26:44 +02:00
Reduce sound notify polling by factor of 10
Polling 100 times per second is excessive. This should help reduce Toxic's resource usage without a noticable difference to the user.
This commit is contained in:
@ -318,7 +318,7 @@ void *do_playing(void *_p)
|
||||
has_looping = false;
|
||||
|
||||
control_unlock();
|
||||
sleep_thread(10000L);
|
||||
sleep_thread(100000L);
|
||||
}
|
||||
|
||||
pthread_exit(NULL);
|
||||
|
Reference in New Issue
Block a user