#include <MixerElement.H>
|
long | vol |
| If the channel has a volume, this holds its state. More...
|
|
double | dB |
| If the channel has a volume, this holds its state in dB. More...
|
|
int | sw |
| If the channel has a switch, this holds its state. More...
|
|
snd_mixer_selem_channel_id_t | channel |
|
long | volDB |
| If the channel has a volume, this holds its state in 100*dB. More...
|
|
Class to manage a capture channel volumes
Definition at line 103 of file MixerElement.H.
◆ ChannelCaptureElement()
ALSA::ChannelCaptureElement::ChannelCaptureElement |
( |
snd_mixer_selem_channel_id_t |
ch | ) |
|
|
inline |
◆ ~ChannelCaptureElement()
virtual ALSA::ChannelCaptureElement::~ChannelCaptureElement |
( |
| ) |
|
|
inlinevirtual |
◆ getLevels()
int ALSA::ChannelCaptureElement::getLevels |
( |
snd_mixer_elem_t * |
elem | ) |
|
|
inline |
Get the capture levels for this channel
- Parameters
-
elem | the mixer element to get capture levels for |
- Returns
- <0 on error
Definition at line 112 of file MixerElement.H.
◆ getSwitch()
int ALSA::ChannelCaptureElement::getSwitch |
( |
snd_mixer_elem_t * |
elem | ) |
|
|
inline |
Get the switch state for this channel
- Parameters
-
elem | the mixer element to get switch state for |
- Returns
- <0 on error
Definition at line 126 of file MixerElement.H.
The documentation for this class was generated from the following file: