aboutsummaryrefslogtreecommitdiffstats
path: root/src/mixer_api.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2009-01-25mixer_api: removed struct mixer_dataMax Kellermann1-16/+11
The mixer plugins should re-use the mixer struct and incorporate it in their object class.
2009-01-25mixer: merged methods "init" and "configure"Max Kellermann1-11/+5
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.
2009-01-25mixer: removed mixer_configure(), configure mixer in mixer_new()Max Kellermann1-7/+3
Allocate the mixer object when it is configured. Merged mixer_configure() into mixer_new(). mixer_new() was quite useless anyway.
2009-01-25mixer: return a mixer struct pointerMax Kellermann1-0/+16
Don't use statically allocated mixer objects.
2009-01-25mixer: make all mixer_plugin pointers constMax Kellermann1-1/+1
The plugin structures must never be modified.
2009-01-25mixer: added missing copyright headersMax Kellermann1-0/+17
2009-01-25conf: const pointers in block get functionsMax Kellermann1-1/+1
All config_get_block_*() functions should accept constant config_param pointers.
2009-01-17conf: no CamelCase, part IMax Kellermann1-1/+1
Renamed functions, types, variables.
2009-01-10Introducing mixer apiViliam Mateicka1-0/+45
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