-
Notifications
You must be signed in to change notification settings - Fork 325
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
Running on Windows Subsystem for Linux with Pulseaudio working - /!\ Cannot open audio device. #685
Comments
I don't think you need |
Yeah, that's just one option I tried when desperately tried to get this to work. It's now removed from libao.conf but that doesn't improve the situation which seems to be stay the same regardless to that option. |
Can you step into GDB, add a breakpoint at player.c:336 (the error message) and dump the value of the variable |
GDB is not familiar to me as I'm not very experienced in testing and programming software as I'm only a server and web dev type of dude. I have just installed gdb via adb. |
Uh, that’s going to be tough if you’ve never used GDB before. Can you apply this patch instead? It should print the error number. https://gist.github.com/PromyLOPh/b294b0882c3bf942bf456dda0af19632 |
Here you go:
|
That is equivalent to AO_EOPENDEVICE, which means the driver is having some issue opening the device. It is likely this is an issue with libao on Windows Subsystem for Linux, so you might have to report it here and pray for someone to answer. Not much else I can do, unfortunately. |
Subject of the issue
Trying to run pianobar on WSL, Hyper terminal, Ubuntu 16.04. Getting it to run, but just skipping tracks with
/!\ Cannot open audio device.
message without any sound.Your environment
config:
Steps to reproduce
Expected behaviour
Songs should play normally with sound without errors.
Actual behaviour
Sound works when running
paplay test.wav
on Terminal. It just needsexport PULSE_SERVER=tcp:127.0.0.1
to be run before. However, when runningpianobar
, it looks like this (debug on):/etc/libao.conf:
Alsa is currently not functional on WSL.
The text was updated successfully, but these errors were encountered: