#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 playback channel volumes
Definition at line 69 of file MixerElement.H.
◆ ChannelPlaybackElement()
ALSA::ChannelPlaybackElement::ChannelPlaybackElement |
( |
snd_mixer_selem_channel_id_t |
ch | ) |
|
|
inline |
◆ ~ChannelPlaybackElement()
virtual ALSA::ChannelPlaybackElement::~ChannelPlaybackElement |
( |
| ) |
|
|
inlinevirtual |
◆ getLevels()
int ALSA::ChannelPlaybackElement::getLevels |
( |
snd_mixer_elem_t * |
elem | ) |
|
|
inline |
Get the playback levels for this channel
- Parameters
-
elem | the mixer element to get playback levels for |
- Returns
- <0 on error
Definition at line 79 of file MixerElement.H.
◆ getSwitch()
int ALSA::ChannelPlaybackElement::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 93 of file MixerElement.H.
The documentation for this class was generated from the following file: