It seems the files are not found for some reason.
Try adding a printf() to the snd_input_stdio_open() function in
alsa-lib/src/input.c to see which files it tries to open.
# strace -estat,open,close,read aplay -l
syscall: unknown syscall trap 0xef000000
i also tried adding printf to input.c:
int snd_input_stdio_open(snd_input_t **inputp, const char *file, const char *mode)
{
int err;
printf("trying to open: %s\n", file);
FILE *fp = fopen(file, mode);
if (!fp) {
//SYSERR("fopen");
return -errno;
}
err = snd_input_stdio_attach(inputp, fp, 1);
if (err < 0)
fclose(fp);
return err;
}
unfortunately this doesnt seem to get called when i run amixer or aplay, im not sure whats going on here. basically when i run aplay i get the same output as before without any new printf statements.
are there any other places that i can add some printf statements to try and figure out where its looking for the files?
thanks for your help,
tony
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________ Alsa-user mailing list Alsa-user@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-user