MPD 0.20.6

- Main Page
- Namespaces
- Data Structures
- Files

- File List
- Globals

volume_mapping.h
Go to the documentation of this file.
1 #ifndef VOLUME_MAPPING_H_INCLUDED
2 #define VOLUME_MAPPING_H_INCLUDED
3
4 #include <alsa/asoundlib.h>
5
6 double get_normalized_playback_volume(snd_mixer_elem_t *elem,
7 snd_mixer_selem_channel_id_t channel);
8 double get_normalized_capture_volume(snd_mixer_elem_t *elem,
9 snd_mixer_selem_channel_id_t channel);
10 int set_normalized_playback_volume(snd_mixer_elem_t *elem,
11 double volume,
12 int dir);
13 int set_normalized_capture_volume(snd_mixer_elem_t *elem,
14 double volume,
15 int dir);
16
17 #endif
set_normalized_playback_volume
int set_normalized_playback_volume(snd_mixer_elem_t *elem, double volume, int dir)
get_normalized_capture_volume
double get_normalized_capture_volume(snd_mixer_elem_t *elem, snd_mixer_selem_channel_id_t channel)
set_normalized_capture_volume
int set_normalized_capture_volume(snd_mixer_elem_t *elem, double volume, int dir)
get_normalized_playback_volume
double get_normalized_playback_volume(snd_mixer_elem_t *elem, snd_mixer_selem_channel_id_t channel)