aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_music.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-01 23:55:26 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-01 23:55:26 +0100
commitfbdf87fcabdbc111508f5709347b88c8ce604011 (patch)
tree6140ee4bd2ed48a680fa23b0d0186f40a3f8a69e /src/ft_music.c
parentNorme (diff)
download42-cub3d-fbdf87fcabdbc111508f5709347b88c8ce604011.tar.gz
42-cub3d-fbdf87fcabdbc111508f5709347b88c8ce604011.tar.bz2
42-cub3d-fbdf87fcabdbc111508f5709347b88c8ce604011.tar.xz
42-cub3d-fbdf87fcabdbc111508f5709347b88c8ce604011.tar.zst
42-cub3d-fbdf87fcabdbc111508f5709347b88c8ce604011.zip
Preparing music
Diffstat (limited to '')
-rw-r--r--src/ft_music.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/ft_music.c b/src/ft_music.c
index 1be430b..3050f44 100644
--- a/src/ft_music.c
+++ b/src/ft_music.c
@@ -10,10 +10,19 @@
/* */
/* ************************************************************************** */
+#include <libft.h>
#include <cub3d.h>
+#include <stdlib.h>
void
ft_music(t_cub *cl)
{
+ /* char *cmd; */
+ /* uint8_t len; */
+
(void)cl;
+ /* if (FT_OS == 2) */
+ /* ft_sprintf(cmd, "aplay -f cd -t wav %s", cl->mlist->music_path); */
+ /* else {} */
+ /* system(cmd); */
}