Open guizhenwei opened 6 years ago
How is this supposed to work on Windows?
I'm sorry for the uncertain. After a bit search, i found this: https://en.wikipedia.org/wiki/Named_pipe (Section: In Windows)
I'm still not sure if it's feasible. If not, please close this issue.
How can this be implemented? I'm trying to get cava working with mpd fifo output in WSL.
@Pablo1107 This can be done by piping the "Stereo Mix" playback device in windows to a fifo from socat
from fmedia.exe
from wsl. First go to "Sounds" > playback > Stereo Mix > Properties > Listen > make sure "Listen to this device" is unchecked. Then you can start the fifo with socat PIPE:/tmp/mpd.fifo EXEC:"/mnt/d/Applications/fmedia/fmedia.exe --notui --record --dev-loopback=1 --format=int16 --rate=44100 --channels=2 -o @stdout.wav"
. This pipes in all system audio though, not just mpd, I use it with ncmpcpp like the instructions here.
Currently no
fifo
output plugin in the official released MPD.exe for windows platform. It would be good to have this plugin enabled in the default release for win32.