Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

newbie question: aplay works, oto gets "ALSA lib confmisc.c:767:(parse_card) cannot find card '0'" #111

Open
DaleEMoore opened this issue May 31, 2020 · 1 comment

Comments

@DaleEMoore
Copy link

Howdy all y'all, I'm sorry for what will probably be a very newbie question but I can't seem to find my way forward. I've taken example/main.go and aplay works without problem:

dalem@QnD3:~/go/src/goLang/src/beepOto/1-hello-beep/a$ aplay ../Lame_Drivers_-01-Frozen_Egg.mp3
Playing raw data '../Lame_Drivers
-01-_Frozen_Egg.mp3' : Unsigned 8 bit, Rate 8000 Hz, Mono

but oto fails with:

ALSA lib confmisc.c:767:(parse_card) cannot find card '0'
ALSA lib conf.c:4568:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4568:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name
ALSA lib conf.c:4568:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5047:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2564:(snd_pcm_open_noupdate) Unknown PCM default

Any help you can provide is very much appreciated!
DaleEMoore@gMail.Com

@hajimehoshi
Copy link
Collaborator

Hi,

This seems like a general Alsa question rather than Oto. I'm afraid I'm not so familiar with Alsa's details.

https://askubuntu.com/questions/342420/cannot-play-sound-alsa-lib-errors might be a similar issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants