summaryrefslogtreecommitdiff
path: root/src/mixer_plugin.h
AgeCommit message (Collapse)Author
2011-03-31fix common misspellingsJonathan Neuschäfer
These fixes were mostly generated with `codespell' [0] and manually reviewed. [0] http://git.profusion.mobi/cgit.cgi/lucas/codespell/
2011-01-29copyright year 2011Max Kellermann
2009-12-31Update copyright notices.Avuton Olrich
2009-10-23mixer_plugin: get_volume() may return -1 if unavailableMax Kellermann
If the method get_volume() returns -1 and no error object is set, then the volume is currently unavailable, but the mixer should not be closed immediately.
2009-10-21mixer_plugin: pass audio_output pointer to mixer_plugin.init()Max Kellermann
This allows the mixer object to access its associated audio output object.
2009-10-20mixer_plugin: use GError for error handlingMax Kellermann
2009-03-26mixer: added flag "open"Max Kellermann
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.
2009-03-14mixer_api: moved struct mixer_plugin to mixer_plugin.hMax Kellermann