Skip to content

Commit

Permalink
[change] general: Change audio wait time to 100ms to improve performance
Browse files Browse the repository at this point in the history
  • Loading branch information
nikp123 committed Mar 9, 2020
1 parent f263704 commit c541099
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/xava.c
Original file line number Diff line number Diff line change
Expand Up @@ -588,8 +588,8 @@ as of 0.4.0 all options are specified in config file, see in '/home/username/.co
#ifdef DEBUG
printw("no sound detected for 5 sec, going to sleep mode\n");
#endif
//wait 1 sec, then check sound again.
xavaSleep(1000, 0);
// wait 100ms, then check sound again.
xavaSleep(100, 0);

// unless the user requested that the program ends
if(kys||should_reload) sleep = 0;
Expand Down

0 comments on commit c541099

Please sign in to comment.