Gizmod::AlsaMixerElements Class Reference

Data structure that holds information about each Mixer element. More...

#include <AlsaMixerElements.hpp>

Inheritance diagram for Gizmod::AlsaMixerElements:

Inheritance graph
[legend]

List of all members.

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


Detailed Description

Data structure that holds information about each Mixer element.

Definition at line 57 of file AlsaMixerElements.hpp.


Member Function Documentation

void AlsaMixerElements::buildEventFromMixerStates ( AlsaEvent Event,
AlsaMixerElements const &  OldElements,
AlsaMixerElements const &  NewElements 
)

Build an event from two mixer states.

Parameters:
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.


The documentation for this class was generated from the following files:
Generated on Wed Nov 7 10:06:59 2007 for gizmod by  doxygen 1.5.3