Logo Search packages:      
Sourcecode: alsa-utils version File versions  Download package

volume_mapping.h

#ifndef VOLUME_MAPPING_H_INCLUDED
#define VOLUME_MAPPING_H_INCLUDED

#include <alsa/asoundlib.h>

double get_normalized_playback_volume(snd_mixer_elem_t *elem,
                              snd_mixer_selem_channel_id_t channel);
double get_normalized_capture_volume(snd_mixer_elem_t *elem,
                             snd_mixer_selem_channel_id_t channel);
int set_normalized_playback_volume(snd_mixer_elem_t *elem,
                           snd_mixer_selem_channel_id_t channel,
                           double volume,
                           int dir);
int set_normalized_capture_volume(snd_mixer_elem_t *elem,
                          snd_mixer_selem_channel_id_t channel,
                          double volume,
                          int dir);

#endif

Generated by  Doxygen 1.6.0   Back to index