Skip to content

Commit

Permalink
- little tuning for safer audio buffer...
Browse files Browse the repository at this point in the history
Former-commit-id: a8d3713
  • Loading branch information
ngragas committed May 19, 2021
1 parent e4cf194 commit 4406a04
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions sources_bonus/sounds_bonus.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
/* By: ngragas <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2021/03/25 17:30:14 by ngragas #+# #+# */
/* Updated: 2021/05/19 22:09:46 by ngragas ### ########.fr */
/* Updated: 2021/05/19 22:14:43 by ngragas ### ########.fr */
/* */
/* ************************************************************************** */

Expand All @@ -20,9 +20,9 @@ void initialize_sounds(t_game *g)
cs_spawn_mix_thread(g->audio.ctx);
cs_spawn_mix_thread(g->audio.ctx7);
cs_spawn_mix_thread(g->audio.ctx22);
cs_thread_sleep_delay(g->audio.ctx, 25);
cs_thread_sleep_delay(g->audio.ctx7, 25);
cs_thread_sleep_delay(g->audio.ctx22, 25);
cs_thread_sleep_delay(g->audio.ctx, 20);
cs_thread_sleep_delay(g->audio.ctx7, 20);
cs_thread_sleep_delay(g->audio.ctx22, 20);
}

void sounds(t_game *game)
Expand Down

0 comments on commit 4406a04

Please sign in to comment.