31 lines
620 B
C
31 lines
620 B
C
|
/*
|
||
|
* 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;
|
||
|
}
|
||
|
/* --------------------------------------------------------------------- */
|