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, std::chrono::milliseconds 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 }
 
std::chrono::milliseconds m_audioOffset { 0ms }
 

Detailed Description

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

Definition at line 47 of file mythplayerstate.h.

Constructor & Destructor Documentation

◆ MythAudioState() [1/2]

MythAudioState::MythAudioState ( )
default

◆ MythAudioState() [2/2]

MythAudioState::MythAudioState ( AudioPlayer Player,
std::chrono::milliseconds  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 57 of file mythplayerstate.h.

Referenced by TV::MenuItemDisplayPlayback().

◆ m_isUpmixing

bool MythAudioState::m_isUpmixing { false }

Definition at line 58 of file mythplayerstate.h.

Referenced by TV::MenuItemDisplayPlayback().

◆ m_paused

bool MythAudioState::m_paused { false }

Definition at line 59 of file mythplayerstate.h.

◆ m_audioOffset

std::chrono::milliseconds MythAudioState::m_audioOffset { 0ms }

Definition at line 60 of file mythplayerstate.h.

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


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