3 // Copyright (C) 2004, Petr Hlavka
5 // SPDX-License-Identifier: GPL-2.0+
13 #include <alsa/asoundlib.h>
15 #define SNDCHID_T snd_mixer_selem_channel_id_t
21 SNDCHID_T id
; // channel id (front left, f. right, ...)
22 AItem
*aItem
; // parent mixer item
24 AChannel(AItem
*item
, SNDCHID_T cID
); // ctor
27 long getVolume(); // get channel volume
28 void setVolume(long value
); // set channel volume
29 bool isMuted(); // return true, if channel is muted