I've also made a simple c program to test. I copied exactly the code from example 3 in http://www.linuxjournal.com/article/6735
This is the error message i get when running as non-root (it is very similar to the one from alsaplayer): ALSA lib confmisc.c:670:(snd_func_card_driver) cannot find card 'AudioPCI' ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_card_driver returned error: No such device ALSA lib confmisc.c:391:(snd_func_concat) error evaluating strings ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_concat returned error: No such device ALSA lib confmisc.c:1070:(snd_func_refer) error evaluating name ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_refer returned error: No such device ALSA lib conf.c:3968:(snd_config_expand) Evaluate error: No such device ALSA lib pcm.c:2145:(snd_pcm_open_noupdate) Unknown PCM default unable to open pcm device: No such device And it works perfectly and I hear the right sound using it as root. As I said, sometimes I've had sound problems in other programs as well, such as firefox and skype for a long time, but I have a distant memory that this has worked before, maybe in Ubuntu 5.10 or something like that. That is, playing sounds with ALSA worked without a problem. In that case, this is a regression. I tried to boot up an old 5.10 live disc, but I couldn't manage to install alsaplayer there. (I suppose this is because that version has been deprecated?) If someone could tell me how to test this on older distributions, then I can do it, but I did not manage to figure it out by myself. I tried to link this program (testplayer.c) statically and then run it from the 5.10 live disc, but I didn't manage to make that work unfortunately. ** Attachment added: "The code for the testplayer" http://launchpadlibrarian.net/9005305/testplayer.c -- alsa sound works only as root https://bugs.launchpad.net/bugs/134942 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
