#include <volumebase.h>

Definition at line 17 of file volumebase.h.
Public Member Functions | |
| VolumeBase () | |
| virtual | ~VolumeBase () |
| virtual int | GetCurrentVolume (void) |
| virtual void | SetCurrentVolume (int value) |
| virtual void | AdjustCurrentVolume (int change) |
| virtual void | SetMute (bool on) |
| virtual void | ToggleMute (void) |
| virtual kMuteState | GetMute (void) |
| virtual kMuteState | IterateMutedChannels (void) |
Protected Member Functions | |
| virtual int | GetVolumeChannel (int channel)=0 |
| virtual void | SetVolumeChannel (int channel, int volume)=0 |
| void | UpdateVolume (void) |
| void | SyncVolume (void) |
Protected Attributes | |
| bool | internal_vol |
Private Attributes | |
| int | volume |
| kMuteState | current_mute_state |
| VolumeBase::VolumeBase | ( | ) |
Definition at line 8 of file volumebase.cpp.
| virtual VolumeBase::~VolumeBase | ( | ) | [inline, virtual] |
Definition at line 21 of file volumebase.h.
| int VolumeBase::GetCurrentVolume | ( | void | ) | [virtual] |
Reimplemented in AudioReencodeBuffer.
Definition at line 15 of file volumebase.cpp.
Referenced by TV::ChangeVolume(), TV::DoTogglePictureAttribute(), MiniPlayer::keyPressEvent(), PlaybackBoxMusic::showVolume(), MiniPlayer::showVolume(), and MiniPlayer::wireupTheme().
| void VolumeBase::SetCurrentVolume | ( | int | value | ) | [virtual] |
Reimplemented in AudioReencodeBuffer.
Definition at line 20 of file volumebase.cpp.
Referenced by AdjustCurrentVolume(), and AudioOutputCA::OpenDevice().
| void VolumeBase::AdjustCurrentVolume | ( | int | change | ) | [virtual] |
Reimplemented in AudioReencodeBuffer.
Definition at line 38 of file volumebase.cpp.
Referenced by TV::ChangeVolume(), PlaybackBoxMusic::changeVolume(), and MiniPlayer::keyPressEvent().
| void VolumeBase::SetMute | ( | bool | on | ) | [virtual] |
Reimplemented in AudioReencodeBuffer.
Definition at line 43 of file volumebase.cpp.
Referenced by ToggleMute().
| void VolumeBase::ToggleMute | ( | void | ) | [virtual] |
Reimplemented in AudioReencodeBuffer.
Definition at line 56 of file volumebase.cpp.
Referenced by TV::ChangeChannel(), TV::DoNVPSeek(), TV::DoSkipCommercials(), MiniPlayer::keyPressEvent(), TV::SwapPIP(), TV::ToggleMute(), PlaybackBoxMusic::toggleMute(), and TV::UnMute().
| kMuteState VolumeBase::GetMute | ( | void | ) | [virtual] |
Reimplemented in AudioReencodeBuffer.
Definition at line 61 of file volumebase.cpp.
Referenced by TV::ChangeChannel(), TV::DoNVPSeek(), TV::DoSkipCommercials(), AudioOutputBase::GetAudioData(), MiniPlayer::keyPressEvent(), PlaybackBoxMusic::showVolume(), MiniPlayer::showVolume(), TV::SwapPIP(), TV::ToggleMute(), and TV::UnMute().
| kMuteState VolumeBase::IterateMutedChannels | ( | void | ) | [virtual] |
Reimplemented in AudioReencodeBuffer.
Definition at line 66 of file volumebase.cpp.
Referenced by TV::ToggleMute().
| virtual int VolumeBase::GetVolumeChannel | ( | int | channel | ) | [protected, pure virtual] |
Implemented in AudioOutputALSA, AudioOutputARTS, AudioOutputBase, AudioOutputCA, AudioOutputDX, AudioOutputJACK, AudioOutputNULL, AudioOutputOSS, AudioOutputWin, and AudioReencodeBuffer.
Referenced by SyncVolume().
| virtual void VolumeBase::SetVolumeChannel | ( | int | channel, | |
| int | volume | |||
| ) | [protected, pure virtual] |
Implemented in AudioOutputALSA, AudioOutputARTS, AudioOutputBase, AudioOutputCA, AudioOutputDX, AudioOutputJACK, AudioOutputNULL, AudioOutputOSS, AudioOutputWin, and AudioReencodeBuffer.
Referenced by UpdateVolume().
| void VolumeBase::UpdateVolume | ( | void | ) | [protected] |
Reimplemented in AudioOutputBase.
Definition at line 88 of file volumebase.cpp.
Referenced by IterateMutedChannels(), SetCurrentVolume(), and SetMute().
| void VolumeBase::SyncVolume | ( | void | ) | [protected] |
bool VolumeBase::internal_vol [protected] |
Definition at line 39 of file volumebase.h.
Referenced by AudioOutputJACK::GetVolumeChannel(), AudioOutputOSS::OpenDevice(), AudioOutputJACK::OpenDevice(), AudioOutputCA::OpenDevice(), AudioOutputALSA::OpenDevice(), AudioOutputBase::Reconfigure(), AudioOutputJACK::SetVolumeChannel(), and VolumeBase().
int VolumeBase::volume [private] |
Definition at line 43 of file volumebase.h.
Referenced by AdjustCurrentVolume(), GetCurrentVolume(), AudioOutputOSS::GetVolumeChannel(), AudioOutputCA::GetVolumeChannel(), AudioOutputALSA::GetVolumeChannel(), AudioOutputALSA::OpenMixer(), SetCurrentVolume(), SyncVolume(), UpdateVolume(), VolumeBase(), AudioOutputOSS::VolumeInit(), and AudioOutputJACK::VolumeInit().
kMuteState VolumeBase::current_mute_state [private] |
Definition at line 44 of file volumebase.h.
Referenced by GetMute(), IterateMutedChannels(), SetMute(), ToggleMute(), UpdateVolume(), and VolumeBase().
1.5.5