MythTV  master
Public Member Functions | Public Attributes | List of all members
MythAudioState Class Reference

A simple wrapper around audio state used to signal changes in the current state. More...

#include <mythplayerstate.h>

Collaboration diagram for MythAudioState:
Collaboration graph
[legend]

Public Member Functions

 MythAudioState ()=default
 
 MythAudioState (AudioPlayer *Player, int64_t Offset)
 

Public Attributes

bool m_hasAudioOut { true }
 
bool m_volumeControl { true }
 
uint m_volume { 0 }
 
MuteState m_muteState { kMuteOff }
 
bool m_canUpmix { false }
 
bool m_isUpmixing { false }
 
bool m_paused { false }
 
int64_t m_audioOffset { 0 }
 

Detailed Description

A simple wrapper around audio state used to signal changes in the current state.

Definition at line 46 of file mythplayerstate.h.

Constructor & Destructor Documentation

◆ MythAudioState() [1/2]

MythAudioState::MythAudioState ( )
default

◆ MythAudioState() [2/2]

MythAudioState::MythAudioState ( AudioPlayer Player,
int64_t  Offset 
)

Definition at line 19 of file mythplayerstate.cpp.

Member Data Documentation

◆ m_hasAudioOut

bool MythAudioState::m_hasAudioOut { true }

◆ m_volumeControl

bool MythAudioState::m_volumeControl { true }

◆ m_volume

uint MythAudioState::m_volume { 0 }

◆ m_muteState

MuteState MythAudioState::m_muteState { kMuteOff }

◆ m_canUpmix

bool MythAudioState::m_canUpmix { false }

Definition at line 56 of file mythplayerstate.h.

Referenced by TV::PlaybackMenuInit().

◆ m_isUpmixing

bool MythAudioState::m_isUpmixing { false }

Definition at line 57 of file mythplayerstate.h.

Referenced by TV::PlaybackMenuInit().

◆ m_paused

bool MythAudioState::m_paused { false }

Definition at line 58 of file mythplayerstate.h.

◆ m_audioOffset

int64_t MythAudioState::m_audioOffset { 0 }

Definition at line 59 of file mythplayerstate.h.

Referenced by TV::GetStatus(), and TV::HandleOSDClosed().


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