diff --git a/Ecoute/.gitignore b/Ecoute/.gitignore index 4ac52f0..53de37a 100644 --- a/Ecoute/.gitignore +++ b/Ecoute/.gitignore @@ -1,3 +1,8 @@ ecoute +*.wav +*.ogg +*.flac +*.mp3 +*.au diff --git a/Ecoute/Makefile b/Ecoute/Makefile index 43c17b6..5016fff 100644 --- a/Ecoute/Makefile +++ b/Ecoute/Makefile @@ -8,7 +8,7 @@ # #---------------------------------------------------------------- -VERSION=0.0037 +VERSION=0.0038 TEKFLAG= -DDEBUG_LEVEL=0 -g CFLAGS=-Wall -Wextra -ansi $(TEKFLAG) -DVERSION=\"$(VERSION)\" diff --git a/Ecoute/fonctions.c b/Ecoute/fonctions.c index 7dac80d..19362d0 100644 --- a/Ecoute/fonctions.c +++ b/Ecoute/fonctions.c @@ -169,6 +169,10 @@ fprintf(stderr, " end of %s\n", __func__); return foo; } /*==------------------------------------------------------------------==*/ +/* + * mey be, here, we can use the internals functions + * of libsndfile ? + */ int info_about_this_file(char *nom, int type) { int foo; @@ -211,11 +215,9 @@ else /* * internals infos */ -foo = magic_detect(nom, &magicbits); -sprintf(chaine, "magic_detect: %4d", foo); +sprintf(chaine, "magic_detect: %4d / ", type); mvwaddstr(popup, 8, 2, chaine); -mvwaddstr(popup, 8, 25, type2descr(foo)); - +mvwaddstr(popup, 8, 25, type2descr(type)); wrefresh(popup); getch();