diff options
author | Viliam Mateicka <viliam.mateicka@gmail.com> | 2009-01-04 17:35:51 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-01-04 19:15:18 +0100 |
commit | 1a04e571686ea9c9bfca2701564a41f7d9d12a9e (patch) | |
tree | d462ac9aba6a61f600459d8feefb876cbcf620d6 /src/mixer_api.h | |
parent | fed719197c7014151710c4aae9174990fd131d59 (diff) | |
download | mpd-1a04e571686ea9c9bfca2701564a41f7d9d12a9e.tar.gz mpd-1a04e571686ea9c9bfca2701564a41f7d9d12a9e.tar.xz mpd-1a04e571686ea9c9bfca2701564a41f7d9d12a9e.zip |
renaming mixer.h to mixer_api.h
Diffstat (limited to 'src/mixer_api.h')
-rw-r--r-- | src/mixer_api.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/src/mixer_api.h b/src/mixer_api.h new file mode 100644 index 000000000..43dc3299d --- /dev/null +++ b/src/mixer_api.h @@ -0,0 +1,33 @@ + +#ifndef MPD_MIXER_H +#define MPD_MIXER_H + +#include "conf.h" + +/** + * alsa mixer + */ + +struct alsa_mixer; + +struct alsa_mixer *alsa_mixer_init(void); +void alsa_mixer_finish(struct alsa_mixer *am); +void alsa_mixer_configure(struct alsa_mixer *am, ConfigParam *param); +bool alsa_mixer_open(struct alsa_mixer *am); +bool alsa_mixer_control(struct alsa_mixer *am, int cmd, void *arg); +void alsa_mixer_close(struct alsa_mixer *am); + +/** + * oss mixer + */ + +struct oss_mixer; + +struct oss_mixer *oss_mixer_init(void); +void oss_mixer_finish(struct oss_mixer *am); +void oss_mixer_configure(struct oss_mixer *am, ConfigParam *param); +bool oss_mixer_open(struct oss_mixer *am); +bool oss_mixer_control(struct oss_mixer *am, int cmd, void *arg); +void oss_mixer_close(struct oss_mixer *am); + +#endif |