first beep

This commit is contained in:
2019-10-23 13:17:57 +02:00
parent bcc6295925
commit 2e538157c5
5 changed files with 146 additions and 0 deletions

30
audio/t.c Normal file
View File

@@ -0,0 +1,30 @@
/*
* NcLooper test des fonctions audio
*/
#include <stdio.h>
#include "ao_output.h"
/* --------------------------------------------------------------------- */
/* --------------------------------------------------------------------- */
int main(int argc, char *argv[])
{
int foo;
foo = init_ao_output(44100);
fprintf(stderr, "AO init -> %d\n", foo);
foo = play_some_stuff(0);
fprintf(stderr, "play stuff -> %d\n", foo);
foo = close_ao_output();
fprintf(stderr, "AO close -> %d\n", foo);
return 0;
}
/* --------------------------------------------------------------------- */