aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--inc/cub3d_defines.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/inc/cub3d_defines.h b/inc/cub3d_defines.h
index 66dbdc1..5d5003c 100644
--- a/inc/cub3d_defines.h
+++ b/inc/cub3d_defines.h
@@ -158,19 +158,19 @@ enum
# define FT_SND_CMD "/usr/bin/afplay --volume 0.2 %s"
# endif
# if FT_OS == 2
-# define FT_SND_CMD "/usr/bin/aplay -f cd -t wav -q %s"
+# define FT_SND_CMD "/usr/bin/aplay -f cd -t wav -q %s >/dev/null 2>&1"
# endif
# if FT_OS == 3
# define FT_SND_CMD "/usr/local/bin/waveplay -s %s >/dev/null 2>&1"
# endif
# if FT_OS == 1
-# define FT_SND_TERM_CMD "pkill -SIGTERM afplay"
+# define FT_SND_TERM_CMD "pkill -SIGTERM afplay >/dev/null 2>&1"
# endif
# if FT_OS == 2
-# define FT_SND_TERM_CMD "pkill -SIGTERM aplay"
+# define FT_SND_TERM_CMD "pkill -SIGTERM aplay >/dev/null 2>&1"
# endif
# if FT_OS == 3
-# define FT_SND_TERM_CMD "pkill -SIGTERM waveplay"
+# define FT_SND_TERM_CMD "pkill -SIGTERM waveplay >/dev/null 2>&1"
# endif
/*