sammoth / foo_out_pulse

PulseAudio output for foobar2000
GNU Lesser General Public License v3.0
19 stars 2 forks source link

foo_out_pulse

Native event-based PulseAudio output for foobar2000, for use in Wine.

Setup

This component connects to 127.0.0.1 using Pulse's native TCP protocol. First you have to enable the module for this protocol for the Pulse daemon by editing either /etc/pulse/default.pa or ~/.config/pulse/default.pa and adding or editing the following line:

load-module module-native-protocol-tcp

Next copy or link the Pulseaudio cookie into your Wine prefix, for example:

ln -s ~/.config/pulse/cookie ~/.wine/drive_c/users/<name>/.config/pulse/cookie

Make sure the Pulseaudio daemon is actually running, as it cannot be automatically activated over TCP.

For the icon to appear in the mixer, you will need to place a png of foobar's icon named foobar in, for example, ~/.icons/hicolor/256x256/apps/foobar.png

Wine 5.14+ is required for Pulseaudio to be able to read the cookie file, due to this change - see this discussion for context.

Known bugs

Advantages

Foobar works very well in Wine, but Wine's default Pulseaudio output has some disadvantages. Compared to using the standard output, this component

Todo

Currently it