a little clean

This commit is contained in:
tTh 2023-12-04 14:08:14 +01:00
parent d61fff9b4d
commit 00fc91a451
3 changed files with 12 additions and 5 deletions

5
Ecoute/.gitignore vendored
View File

@ -1,3 +1,8 @@
ecoute
*.wav
*.ogg
*.flac
*.mp3
*.au

View File

@ -8,7 +8,7 @@
#
#----------------------------------------------------------------
VERSION=0.0037
VERSION=0.0038
TEKFLAG= -DDEBUG_LEVEL=0 -g
CFLAGS=-Wall -Wextra -ansi $(TEKFLAG) -DVERSION=\"$(VERSION)\"

View File

@ -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();