beep
beep copied to clipboard
Tutorial example appears to be broken on linux
When its run i recieve this error:
ALSA lib pcm_dmix.c:1108:(snd_pcm_dmix_open) unable to open slave
However the speedy-player example works but only when installed via go get.
I'm on ubuntu 19.04, running Sway, go 1.12
Edit:
I'm even more confused than before, go build app.go && ./app works without any errors, go run app.go does not
Hi! Sorry for not responding earlier. Do you still have this problem or have you found a fix?
i have the same problem (build
works but run
doesn't...). Any ideas? I'm happy to try to help out a little bit (since I'm guessing, faiface, you can't replicate)
Same issue for me on a fairly simple/generic ~20 line app
ᐅ go version
go version go1.19.1 linux/amd64
When it tries to play audio I get
ALSA lib pcm_dmix.c:999:(snd_pcm_dmix_open) unable to open slave
I use pulseaudio/pipewire on Arch Linux.
Creating a simple ~/.asoundrc
as suggested in this old Arch Linux forums post worked for me to get beep
to play my .wav
file https://bbs.archlinux.org/viewtopic.php?pid=1356438#p1356438