1 // AItem.h, Petr Hlavka, 2004
9 #include <alsa/asoundlib.h>
18 AMixer
*mixer
; // parent mixer
19 std::vector
<AChannel
*> pbChannels
; // item channels
21 long minPVolume
, maxPVolume
; // min/max playback volume
22 bool hPVolume
; // has Playback volume
23 bool hPSwitch
; // has Playback switch
26 snd_mixer_elem_t
*aElem
; // mixer item element
27 const char *name
; // item name
29 AItem(AMixer
*m
, snd_mixer_elem_t
*e
); // ctor
32 void setVolumePerc(unsigned int percent
);
33 unsigned int getVolumePerc();