coronacommit

This commit is contained in:
2020-05-13 12:38:06 +02:00
parent 10b2f53b85
commit 4bd4e1c43f
5 changed files with 33 additions and 12 deletions

17
main.c
View File

@@ -14,7 +14,7 @@
int verbosity;
SampleRef the_samples[26];
SampleRef the_samples[26];
/* --------------------------------------------------------------------- */
void help(int k)
@@ -28,7 +28,8 @@ exit(0);
*/
int introduction(int k)
{
int foo;
int foo;
ao_device *device;
#if DEBUG_LEVEL
fprintf(stderr, ">>> %s ( %d )\n", __func__, k);
@@ -37,12 +38,15 @@ fprintf(stderr, ">>> %s ( %d )\n", __func__, k);
foo = init_ecran(__func__);
sleep(1);
/* check the sound subsystem */
return -1;
}
/* --------------------------------------------------------------------- */
int conclusion(int k)
{
int foo;
int foo;
#if DEBUG_LEVEL
fprintf(stderr, ">>> %s ( %d )\n", __func__, k);
@@ -75,11 +79,8 @@ fprintf(stderr, "argc = %d, optind = %d\n", argc, optind);
foo = lecture_liste_des_samples(listname, the_samples);
fprintf(stderr,"retour lecture liste '%s' -> %d\n", listname, foo);
for (foo=0; foo<26; foo++) {
printf("%2d %02x %-30s %s\n", foo, the_samples[foo].key,
the_samples[foo].text,
the_samples[foo].path);
}
foo = start_the_engine();
fprintf(stderr,"retour start engine -> %d\n", foo);
introduction(0);