aboutsummaryrefslogtreecommitdiffstats
path: root/src/output/pulse_output_plugin.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* include config.h in all sourcesMax Kellermann2009-11-121-0/+1
| | | | | | After we've been hit by Large File Support problems several times in the past week (which only occur on 32 bit platforms, which I don't have), this is yet another attempt to fix the issue.
* output/pulse: initialize pulse_output.mixerMax Kellermann2009-10-291-0/+1
| | | | This variable was uninitialized and led to crashes.
* output/pulse: implement methods enable()/disable()Max Kellermann2009-10-231-9/+35
| | | | Don't connect to PulseAudio before MPD has daemonized.
* output_plugin: added methods enable() and disable()Max Kellermann2009-10-231-0/+2
| | | | | | | With these methods, an output plugin can allocate some global resources only if it is actually enabled. The method enable() is called after daemonization, which allows for more sophisticated resource allocation during that method.
* output/pulse: call mixer on state changesMax Kellermann2009-10-231-1/+104
| | | | | | Don't let the mixer plugin "override" the libpulse callbacks. Instead, add a "mixer" attribute to the pulse_output struct, and call the mixer on all interesting events.
* pulse: code rewrite using the asynchronous libpulse APIMax Kellermann2009-10-211-73/+581
| | | | | | | | This is a complete rewrite of the PulseAudio output plugin. It uses the asynchronous API, which gives us more control over everything. Additionally, it connects to the PulseAudio server on startup, and keeps this connection up while MPD runs. During pause, instead of closing the stream, it enables "cork".
* output/pulse: renamed context to "Music Player Daemon"Max Kellermann2009-10-201-1/+1
| | | | This looks nicer in the PulseAudio manager than just "mpd".
* pulse: renamed source filesMax Kellermann2009-10-201-0/+183