diff options
Diffstat (limited to 'src/audioio.h')
-rw-r--r-- | src/audioio.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/audioio.h b/src/audioio.h index e78813b..5f62e27 100644 --- a/src/audioio.h +++ b/src/audioio.h @@ -46,6 +46,7 @@ extern "C" { #define COULD_NOT_OPEN_DEVICE -110 #define INVALID_MIXER_LEVEL -111 #define NO_SUCH_ENUM -112 +#define NO_SUCH_CHANNEL -113 struct aio_t; @@ -186,6 +187,16 @@ int aio_set_enum_value(struct aio_t *handle, const char *name, const char *value); /** + * Set mute state of a named channel. + */ +int aio_set_mute(struct aio_t *handle, const char *name, int muted); + +/** + * Get mute state of a named channel. + */ +int aio_get_mute(struct aio_t *handle, const char *name, int *muted); + +/** * Get actual samplerate. * The samplerate set in ai_init may or may not match a possible samplerate for * the audio hardware and therefore the ALSA library might decide to use another |