aboutsummaryrefslogtreecommitdiffstats
path: root/src/mixer_control.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright notices.Avuton Olrich2009-12-311-1/+1
|
* mixer_plugin: pass audio_output pointer to mixer_plugin.init()Max Kellermann2009-10-211-1/+2
| | | | | This allows the mixer object to access its associated audio output object.
* mixer_plugin: use GError for error handlingMax Kellermann2009-10-201-4/+7
|
* output: use the software mixer pluginMax Kellermann2009-07-061-3/+0
| | | | | | | | | | Do all the software volume stuff inside each output thread, not in the player thread. This allows one software mixer per output device, and also allows the user to configure the mixer type (hardware or software) for each audio output. This moves the global "mixer_type" setting into the "audio_output" section, deprecating the "mixer_enabled" flag.
* mixer: added flag "open"Max Kellermann2009-03-261-0/+7
| | | | | | | | | | | | Remember if a mixer object is open or closed. Don't call open() again if it is already open. This guarantees that the mixer plugin is always called in a consistent state, and we will be able to remove lots of checks from the implementations. To support mixers which are automatically opened even if the audio output is still closed (to set the volume before playback starts), this patch also adds the "global" flag to the mixer_plugin struct. Both ALSA and OSS set this flag, while PULSE does not.
* mixer_api: moved functions to mixer_control.cMax Kellermann2009-03-141-0/+30
| | | | | | mixer_control.h should provide the functions needed to manipulate a mixer, without exposing the internal mixer API (which is provided by mixer_api.h).
* mixer_control: moved functions to mixer_all.cMax Kellermann2009-03-141-6/+0
|
* all: Update copyright header.Avuton Olrich2009-03-131-3/+4
| | | | | | | | This updates the copyright header to all be the same, which is pretty much an update of where to mail request for a copy of the GPL and the years of the MPD project. This also puts all committers under 'The Music Player Project' umbrella. These entries should go individually in the AUTHORS file, for consistancy.
* audio: moved mixer functions to mixer_control.cMax Kellermann2009-03-121-0/+30