aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-04-24 14:34:56 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-04-24 14:34:56 +0200
commitfa9304f1d7ad4d210f19f6462adacd9fb0828bb4 (patch)
treecf1802aa72804c7c0b04bf72f4fd9ed473c56d57
parentBetter try that (diff)
download42-cub3d-fa9304f1d7ad4d210f19f6462adacd9fb0828bb4.tar.gz
42-cub3d-fa9304f1d7ad4d210f19f6462adacd9fb0828bb4.tar.bz2
42-cub3d-fa9304f1d7ad4d210f19f6462adacd9fb0828bb4.tar.xz
42-cub3d-fa9304f1d7ad4d210f19f6462adacd9fb0828bb4.tar.zst
42-cub3d-fa9304f1d7ad4d210f19f6462adacd9fb0828bb4.zip
With that
-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
/*