blurpped sound, wtf ?

This commit is contained in:
2019-10-23 19:01:22 +02:00
parent 1bd06fb67b
commit ad54bac3f7
2 changed files with 25 additions and 7 deletions

View File

@@ -14,14 +14,30 @@
int verbosity;
/* --------------------------------------------------------------------- */
void help(int k)
{
}
/* --------------------------------------------------------------------- */
int main(int argc, char *argv[])
{
int foo;
ao_device *device;
int opt;
while ((opt = getopt(argc, argv, "hv")) != -1) {
switch(opt) {
case 'h': help(0); break;
case 'v': verbosity++; break;
}
}
#if DEBUG_LEVEL
fprintf(stderr, "argc = %d, optind = %d\n", argc, optind);
#endif
device = init_ao_output(44100);
fprintf(stderr, "AO init -> %p\n", device);