1 // AChannel.h, Petr Hlavka, 2004
9 #include <alsa/asoundlib.h>
11 #define SNDCHID_T snd_mixer_selem_channel_id_t
17 SNDCHID_T id
; // channel id (front left, f. right, ...)
18 AItem
*aItem
; // parent mixer item
20 AChannel(AItem
*item
, SNDCHID_T cID
); // ctor
23 long getVolume(); // get channel volume
24 void setVolume(long value
); // set channel volume
25 bool isMuted(); // return true, if channel is muted