VolumeControl Class Reference

#include <volumecontrol.h>

List of all members.


Detailed Description

Definition at line 6 of file volumecontrol.h.


Public Member Functions

 VolumeControl (bool setstartingvolume=true)
 ~VolumeControl ()
int GetCurrentVolume (void)
void SetCurrentVolume (int value)
void AdjustCurrentVolume (int change)
void SetMute (bool on)
void ToggleMute (void)
bool GetMute (void)
kMuteState IterateMutedChannels (void)

Private Attributes

int mixerfd
int volume
int internal_volume
int control
bool mute
kMuteState current_mute_state

Constructor & Destructor Documentation

VolumeControl::VolumeControl ( bool  setstartingvolume = true  ) 

Definition at line 22 of file volumecontrol.cpp.

VolumeControl::~VolumeControl (  ) 

Definition at line 74 of file volumecontrol.cpp.


Member Function Documentation

int VolumeControl::GetCurrentVolume ( void   ) 

Definition at line 80 of file volumecontrol.cpp.

Referenced by AdjustCurrentVolume(), and VolumeControl().

void VolumeControl::SetCurrentVolume ( int  value  ) 

Definition at line 104 of file volumecontrol.cpp.

Referenced by AdjustCurrentVolume().

void VolumeControl::AdjustCurrentVolume ( int  change  ) 

Definition at line 136 of file volumecontrol.cpp.

void VolumeControl::SetMute ( bool  on  ) 

Definition at line 143 of file volumecontrol.cpp.

Referenced by ToggleMute().

void VolumeControl::ToggleMute ( void   ) 

Definition at line 169 of file volumecontrol.cpp.

bool VolumeControl::GetMute ( void   )  [inline]

Definition at line 18 of file volumecontrol.h.

kMuteState VolumeControl::IterateMutedChannels ( void   ) 

Definition at line 174 of file volumecontrol.cpp.


Member Data Documentation

int VolumeControl::mixerfd [private]

int VolumeControl::volume [private]

Definition at line 23 of file volumecontrol.h.

Referenced by GetCurrentVolume(), SetCurrentVolume(), and VolumeControl().

int VolumeControl::control [private]

Definition at line 28 of file volumecontrol.h.

Referenced by IterateMutedChannels(), and VolumeControl().


The documentation for this class was generated from the following files:

Generated on Sat Dec 18 05:16:14 2010 for MythTV by  doxygen 1.5.5