3 // Copyright (C) 2004, Petr Hlavka
5 // SPDX-License-Identifier: GPL-2.0+
13 #include <alsa/asoundlib.h>
22 AMixer
*mixer
; // parent mixer
23 std::vector
<AChannel
*> pbChannels
; // item channels
25 long minPVolume
, maxPVolume
; // min/max playback volume
26 bool hPVolume
; // has Playback volume
27 bool hPSwitch
; // has Playback switch
30 snd_mixer_elem_t
*aElem
; // mixer item element
31 const char *name
; // item name
33 AItem(AMixer
*m
, snd_mixer_elem_t
*e
); // ctor
36 void setVolumePerc(unsigned int percent
);
37 unsigned int getVolumePerc();