oto icon indicating copy to clipboard operation
oto copied to clipboard

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

Open DaleEMoore opened this issue 5 years ago • 1 comments

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! [email protected]

DaleEMoore avatar May 31 '20 14:05 DaleEMoore

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.

hajimehoshi avatar May 31 '20 17:05 hajimehoshi