#include <volumecontrol.h>
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 |
| VolumeControl::VolumeControl | ( | bool | setstartingvolume = true |
) |
Definition at line 22 of file volumecontrol.cpp.
| VolumeControl::~VolumeControl | ( | ) |
Definition at line 74 of file volumecontrol.cpp.
| int VolumeControl::GetCurrentVolume | ( | void | ) |
Definition at line 80 of file volumecontrol.cpp.
Referenced by AdjustCurrentVolume(), and VolumeControl().
| void VolumeControl::SetCurrentVolume | ( | int | value | ) |
| void VolumeControl::AdjustCurrentVolume | ( | int | change | ) |
Definition at line 136 of file volumecontrol.cpp.
| void VolumeControl::SetMute | ( | bool | on | ) |
| 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.
int VolumeControl::mixerfd [private] |
Definition at line 22 of file volumecontrol.h.
Referenced by GetCurrentVolume(), IterateMutedChannels(), SetCurrentVolume(), SetMute(), VolumeControl(), and ~VolumeControl().
int VolumeControl::volume [private] |
Definition at line 23 of file volumecontrol.h.
Referenced by GetCurrentVolume(), SetCurrentVolume(), and VolumeControl().
int VolumeControl::internal_volume [private] |
Definition at line 24 of file volumecontrol.h.
Referenced by GetCurrentVolume(), IterateMutedChannels(), SetCurrentVolume(), SetMute(), and VolumeControl().
int VolumeControl::control [private] |
Definition at line 25 of file volumecontrol.h.
Referenced by GetCurrentVolume(), IterateMutedChannels(), SetCurrentVolume(), SetMute(), and VolumeControl().
bool VolumeControl::mute [private] |
Definition at line 27 of file volumecontrol.h.
Referenced by GetCurrentVolume(), GetMute(), SetCurrentVolume(), SetMute(), ToggleMute(), and VolumeControl().
kMuteState VolumeControl::current_mute_state [private] |
Definition at line 28 of file volumecontrol.h.
Referenced by IterateMutedChannels(), and VolumeControl().
1.5.5