aboutsummaryrefslogtreecommitdiffstats
path: root/src/mixer_api.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* mixer_api: replaced method "control()" with "{get,set}_volume()"Max Kellermann2009-02-161-6/+28
| | | | | The method control() is too complicated, and overengineered. Replace it with two trivial functions: get_volume() and set_volume().
* mixer_api: removed struct mixer_dataMax Kellermann2009-01-251-9/+10
| | | | | The mixer plugins should re-use the mixer struct and incorporate it in their object class.
* mixer: merged methods "init" and "configure"Max Kellermann2009-01-251-11/+3
| | | | | | | Both methods are always called together. There is no point in having them separate. This simplifies the code, because the old configure() method could be called more than once, and had to free old allocations.
* mixer: removed mixer_configure(), configure mixer in mixer_new()Max Kellermann2009-01-251-2/+1
| | | | | | | Allocate the mixer object when it is configured. Merged mixer_configure() into mixer_new(). mixer_new() was quite useless anyway.
* mixer: return a mixer struct pointerMax Kellermann2009-01-251-0/+7
| | | | Don't use statically allocated mixer objects.
* mixer: make all mixer_plugin pointers constMax Kellermann2009-01-251-4/+4
| | | | The plugin structures must never be modified.
* mixer: added missing copyright headersMax Kellermann2009-01-251-0/+17
|
* conf: const pointers in block get functionsMax Kellermann2009-01-251-2/+3
| | | | | All config_get_block_*() functions should accept constant config_param pointers.
* conf: no CamelCase, part IMax Kellermann2009-01-171-2/+2
| | | | Renamed functions, types, variables.
* Introducing mixer apiViliam Mateicka2009-01-101-23/+51
| | | | | This patch tryes to introduce pluggable mixer (struct mixer_plugin) along with some basic infrastructure (mixer_* functions). Instance of mixer (struct mixer) is used in alsa and oss output plugin
* renaming mixer.h to mixer_api.hViliam Mateicka2009-01-041-0/+33