a little clean
This commit is contained in:
parent
d61fff9b4d
commit
00fc91a451
5
Ecoute/.gitignore
vendored
5
Ecoute/.gitignore
vendored
@ -1,3 +1,8 @@
|
|||||||
|
|
||||||
ecoute
|
ecoute
|
||||||
|
|
||||||
|
*.wav
|
||||||
|
*.ogg
|
||||||
|
*.flac
|
||||||
|
*.mp3
|
||||||
|
*.au
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
#
|
#
|
||||||
#----------------------------------------------------------------
|
#----------------------------------------------------------------
|
||||||
|
|
||||||
VERSION=0.0037
|
VERSION=0.0038
|
||||||
|
|
||||||
TEKFLAG= -DDEBUG_LEVEL=0 -g
|
TEKFLAG= -DDEBUG_LEVEL=0 -g
|
||||||
CFLAGS=-Wall -Wextra -ansi $(TEKFLAG) -DVERSION=\"$(VERSION)\"
|
CFLAGS=-Wall -Wextra -ansi $(TEKFLAG) -DVERSION=\"$(VERSION)\"
|
||||||
|
@ -169,6 +169,10 @@ fprintf(stderr, " end of %s\n", __func__);
|
|||||||
return foo;
|
return foo;
|
||||||
}
|
}
|
||||||
/*==------------------------------------------------------------------==*/
|
/*==------------------------------------------------------------------==*/
|
||||||
|
/*
|
||||||
|
* mey be, here, we can use the internals functions
|
||||||
|
* of libsndfile ?
|
||||||
|
*/
|
||||||
int info_about_this_file(char *nom, int type)
|
int info_about_this_file(char *nom, int type)
|
||||||
{
|
{
|
||||||
int foo;
|
int foo;
|
||||||
@ -211,11 +215,9 @@ else
|
|||||||
/*
|
/*
|
||||||
* internals infos
|
* internals infos
|
||||||
*/
|
*/
|
||||||
foo = magic_detect(nom, &magicbits);
|
sprintf(chaine, "magic_detect: %4d / ", type);
|
||||||
sprintf(chaine, "magic_detect: %4d", foo);
|
|
||||||
mvwaddstr(popup, 8, 2, chaine);
|
mvwaddstr(popup, 8, 2, chaine);
|
||||||
mvwaddstr(popup, 8, 25, type2descr(foo));
|
mvwaddstr(popup, 8, 25, type2descr(type));
|
||||||
|
|
||||||
wrefresh(popup);
|
wrefresh(popup);
|
||||||
getch();
|
getch();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user