Compare commits
4 Commits
86f3f2e3e7
...
4ed0ab33b9
Author | SHA1 | Date | |
---|---|---|---|
![]() |
4ed0ab33b9 | ||
![]() |
c9154c923b | ||
![]() |
9defba34c6 | ||
![]() |
298c6e1d1e |
@ -10,9 +10,10 @@
|
|||||||
|
|
||||||
VERSION=0.0040
|
VERSION=0.0040
|
||||||
|
|
||||||
TEKFLAG= -DDEBUG_LEVEL=1 -g
|
TEKFLAG = -DDEBUG_LEVEL=1 -g
|
||||||
CFLAGS=-Wall -Wextra -ansi $(TEKFLAG) -DVERSION=\"$(VERSION)\"
|
CFLAGS = -std=c11 -Wall -Wextra -ansi -Wlogical-op \
|
||||||
BIBS=-lncurses -lao -lsndfile -logg
|
$(TEKFLAG) -DVERSION=\"$(VERSION)\"
|
||||||
|
BIBS = -lncurses -lao -lsndfile -logg
|
||||||
|
|
||||||
#---------------------------------------------------------
|
#---------------------------------------------------------
|
||||||
|
|
||||||
@ -33,9 +34,10 @@ playau.o: playau.c ecoute.h Makefile
|
|||||||
playogg.o: playogg.c ecoute.h Makefile
|
playogg.o: playogg.c ecoute.h Makefile
|
||||||
playspeex.o: playspeex.c ecoute.h Makefile
|
playspeex.o: playspeex.c ecoute.h Makefile
|
||||||
playflac.o: playflac.c ecoute.h Makefile
|
playflac.o: playflac.c ecoute.h Makefile
|
||||||
|
rmfile.o: rmfile.c ecoute.h Makefile
|
||||||
|
|
||||||
OBJ=main.o ecran.o playnote.o playwav.o playogg.o fonctions.o interactive.o \
|
OBJ=main.o ecran.o playnote.o playwav.o playogg.o fonctions.o interactive.o \
|
||||||
dump.o playau.o playspeex.o playflac.o magic.o ifao.o
|
dump.o playau.o playspeex.o playflac.o magic.o ifao.o rmfile.o
|
||||||
|
|
||||||
ecoute: $(OBJ)
|
ecoute: $(OBJ)
|
||||||
gcc $(CFLAGS) $(OBJ) $(BIBS) -o ecoute
|
gcc $(CFLAGS) $(OBJ) $(BIBS) -o ecoute
|
||||||
|
@ -90,7 +90,7 @@ format.byte_format = AO_FMT_LITTLE; /* XXX ??? */
|
|||||||
fprintf(stderr, "%s: going to open ao\n", __func__);
|
fprintf(stderr, "%s: going to open ao\n", __func__);
|
||||||
|
|
||||||
device = ao_open_live(driver, &format, NULL);
|
device = ao_open_live(driver, &format, NULL);
|
||||||
fprintf(stderr, "%s: open live -> %p\n", device);
|
fprintf(stderr, "%s: open live -> %p\n", __func__, device);
|
||||||
if (NULL == device) {
|
if (NULL == device) {
|
||||||
fprintf(stderr, "\nEcoute: Error open device\n");
|
fprintf(stderr, "\nEcoute: Error open device\n");
|
||||||
/*
|
/*
|
||||||
|
@ -125,7 +125,7 @@ char buffer[200];
|
|||||||
|
|
||||||
barre_inverse(' ', 0);
|
barre_inverse(' ', 0);
|
||||||
standout();
|
standout();
|
||||||
mvaddstr(0, 2, " Visuel HexDiff v " VERSION " by tTh 2023 ");
|
mvaddstr(0, 2, " Visuel HexDiff v " VERSION " by tTh 2024 ");
|
||||||
#if TRACE
|
#if TRACE
|
||||||
sprintf(buffer, " screen size %dx%d ", COLS, LINES);
|
sprintf(buffer, " screen size %dx%d ", COLS, LINES);
|
||||||
foo = strlen(buffer);
|
foo = strlen(buffer);
|
||||||
@ -211,7 +211,7 @@ delwin(popup);
|
|||||||
static char *about_texte[] =
|
static char *about_texte[] =
|
||||||
{
|
{
|
||||||
"Visuel Hexdiff - version " VERSION,
|
"Visuel Hexdiff - version " VERSION,
|
||||||
"(c) 2023 by Thierry [tTh] Boudet",
|
"(c) 2024 by Thierry [tTh] Boudet",
|
||||||
"http://tboudet.free.fr/hexdiff/",
|
"http://tboudet.free.fr/hexdiff/",
|
||||||
"https://git.tetalab.org/tTh/KlugyTools/",
|
"https://git.tetalab.org/tTh/KlugyTools/",
|
||||||
"send bugs reports: tontonth@free.fr",
|
"send bugs reports: tontonth@free.fr",
|
||||||
@ -319,7 +319,7 @@ return -1;
|
|||||||
/*----------------------------------------------------------------*/
|
/*----------------------------------------------------------------*/
|
||||||
void version(void)
|
void version(void)
|
||||||
{
|
{
|
||||||
fprintf(stderr, "\nThis is 'hexdiff' v "VERSION", made by tTh in 2023\n");
|
fprintf(stderr, "\nThis is 'hexdiff' v "VERSION", made by tTh in 2024\n");
|
||||||
/* fprintf(stderr, "homepage: http://tboudet.free.fr/hexdiff/\n"); */
|
/* fprintf(stderr, "homepage: http://tboudet.free.fr/hexdiff/\n"); */
|
||||||
fprintf(stderr, "homepage: https://git.tetalab.org/tTh/KlugyTools/\n");
|
fprintf(stderr, "homepage: https://git.tetalab.org/tTh/KlugyTools/\n");
|
||||||
#if TRACE
|
#if TRACE
|
||||||
|
Loading…
Reference in New Issue
Block a user