#include <AlsaMixerElements.hpp>
Public Member Functions | |
AlsaMixerElements () | |
AlsaMixerElements Default Constructor. | |
AlsaMixerElements (AlsaMixerElements const &Init) | |
AlsaMixerElements Init Constructor. | |
virtual | ~AlsaMixerElements () |
AlsaMixerElements Destructor. | |
void | buildEventFromMixerStates (AlsaEvent &Event, AlsaMixerElements const &OldElements, AlsaMixerElements const &NewElements) |
Build an event from two mixer states. | |
Public Attributes | |
bool | IsActive |
Is the mixer element currently active. | |
bool | HasCommonVolume |
Does the mixer element have a common playback volume. | |
bool | HasPlaybackVolume |
Does the mixer element have a playback volume. | |
bool | HasPlaybackVolumeJoined |
Does the mixer element have a joined playback volume. | |
bool | HasCaptureVolume |
Does the mixer element have a capture volume. | |
bool | HasCaptureVolumeJoined |
Does the mixer element have a joined capture volume. | |
bool | HasCommonSwitch |
Does the mixer element have a common switch. | |
bool | HasPlaybackSwitch |
Does the mixer element have a playback switch. | |
bool | HasPlaybackSwitchJoined |
Does the mixer element have a joined playback switch. | |
bool | HasCaptureSwitch |
Does the mixer element have a capture switch. | |
bool | HasCaptureSwitchJoined |
Does the mixer element have a joined capture switch. | |
bool | HasCaptureSwitchExclusive |
Does the mixer element have an exclusive capture switch. | |
long | VolumePlayback |
Playback volume. | |
long | VolumePlaybackMin |
Min playback volume. | |
long | VolumePlaybackMax |
Max playback volume. | |
float | VolumePlaybackPercent |
Percent playback volume. | |
long | VolumeCapture |
Capture volume. | |
long | VolumeCaptureMin |
Min Capture volume. | |
long | VolumeCaptureMax |
Max Capture volume. | |
float | VolumeCapturePercent |
Percent Capture volume. | |
bool | SwitchPlayback |
Value of the playback switch. | |
bool | SwitchCapture |
Value of the capture switch. | |
Friends | |
class | boost::serialization::access |
Definition at line 57 of file AlsaMixerElements.hpp.
void AlsaMixerElements::buildEventFromMixerStates | ( | AlsaEvent & | Event, | |
AlsaMixerElements const & | OldElements, | |||
AlsaMixerElements const & | NewElements | |||
) |
Build an event from two mixer states.
Event | The return event | |
OldElements | The old mixer state | |
NewElements | The new mixer state |
Definition at line 120 of file AlsaMixerElements.cpp.
References Gizmod::AlsaEvent::ElementsChanged, HasCaptureSwitch, HasCaptureSwitchExclusive, HasCaptureSwitchJoined, HasCaptureVolume, HasCaptureVolumeJoined, HasCommonSwitch, HasCommonVolume, HasPlaybackSwitch, HasPlaybackSwitchJoined, HasPlaybackVolume, HasPlaybackVolumeJoined, IsActive, Gizmod::AlsaEvent::IsActiveChanged, SwitchCapture, Gizmod::AlsaEvent::SwitchCaptureChanged, SwitchPlayback, Gizmod::AlsaEvent::SwitchPlaybackChanged, VolumeCapture, Gizmod::AlsaEvent::VolumeCaptureChanged, VolumeCaptureMax, VolumeCaptureMin, VolumePlayback, Gizmod::AlsaEvent::VolumePlaybackChanged, VolumePlaybackMax, and VolumePlaybackMin.