diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-06 21:47:52 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-06 21:47:52 +0100 |
commit | a14c6b476a36f68ba75eb4da651062bdbf8f0dc0 (patch) | |
tree | fe0cb9349a68312b33add01009f33ebeb24cebeb /src/ft_music.c | |
parent | Good enough (diff) | |
download | 42-cub3d-a14c6b476a36f68ba75eb4da651062bdbf8f0dc0.tar.gz 42-cub3d-a14c6b476a36f68ba75eb4da651062bdbf8f0dc0.tar.bz2 42-cub3d-a14c6b476a36f68ba75eb4da651062bdbf8f0dc0.tar.xz 42-cub3d-a14c6b476a36f68ba75eb4da651062bdbf8f0dc0.tar.zst 42-cub3d-a14c6b476a36f68ba75eb4da651062bdbf8f0dc0.zip |
Good
Diffstat (limited to 'src/ft_music.c')
-rw-r--r-- | src/ft_music.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ft_music.c b/src/ft_music.c index 0667ecb..3104978 100644 --- a/src/ft_music.c +++ b/src/ft_music.c @@ -17,9 +17,13 @@ void ft_music_fork(char **mcmd_words, char *const envp[]) { if (FT_OS == 1) + { execve("/usr/bin/afplay", mcmd_words, envp); + } else + { execve("/usr/bin/aplay", mcmd_words, envp); + } } void |