MythTV  master
Classes | Public Member Functions | Private Attributes | List of all members
AudioOutputGraph Class Reference

#include <audiooutputgraph.h>

Inheritance diagram for AudioOutputGraph:
Inheritance graph
[legend]
Collaboration diagram for AudioOutputGraph:
Collaboration graph
[legend]

Classes

class  Buffer
 

Public Member Functions

 AudioOutputGraph ()
 
 ~AudioOutputGraph () override
 
void SetPainter (MythPainter *Painter)
 
void SetSampleRate (uint16_t SampleRate)
 
void SetSampleCount (uint16_t SampleCount)
 
void SetSilenceLevel (int Db=-72)
 
void SetQuietLevel (int Db=-60)
 
void SetLoudLevel (int Db=-12)
 
void SetMaxLevel (int Db=-6)
 
MythImageGetImage (std::chrono::milliseconds Timecode) const
 
void Reset ()
 
void add (const void *_Buffer, unsigned long Length, std::chrono::milliseconds Timecode, int Channnels, int Bits) override
 
void prepare () override
 
- Public Member Functions inherited from MythTV::Visual
 Visual ()
 
virtual ~Visual ()
 
QMutex * mutex ()
 

Private Attributes

MythPainterm_painter { nullptr }
 
int m_dBsilence { -72 }
 
int m_dBquiet { -60 }
 
int m_dBLoud { -12 }
 
int m_dbMax { -6 }
 
Buffer *const m_buffer { nullptr }
 
QMutex m_mutex
 

Detailed Description

Definition at line 14 of file audiooutputgraph.h.

Constructor & Destructor Documentation

◆ AudioOutputGraph()

AudioOutputGraph::AudioOutputGraph ( )

Definition at line 201 of file audiooutputgraph.cpp.

◆ ~AudioOutputGraph()

AudioOutputGraph::~AudioOutputGraph ( )
override

Definition at line 206 of file audiooutputgraph.cpp.

Member Function Documentation

◆ SetPainter()

void AudioOutputGraph::SetPainter ( MythPainter Painter)

Definition at line 211 of file audiooutputgraph.cpp.

Referenced by MythPlayerAudioUI::MythPlayerAudioUI().

◆ SetSampleRate()

void AudioOutputGraph::SetSampleRate ( uint16_t  SampleRate)

Definition at line 217 of file audiooutputgraph.cpp.

Referenced by MythPlayerAudioUI::SetupAudioGraph().

◆ SetSampleCount()

void AudioOutputGraph::SetSampleCount ( uint16_t  SampleCount)

Definition at line 224 of file audiooutputgraph.cpp.

Referenced by MythPlayerAudioUI::SetupAudioGraph().

◆ SetSilenceLevel()

void AudioOutputGraph::SetSilenceLevel ( int  Db = -72)
inline

Definition at line 23 of file audiooutputgraph.h.

◆ SetQuietLevel()

void AudioOutputGraph::SetQuietLevel ( int  Db = -60)
inline

Definition at line 24 of file audiooutputgraph.h.

◆ SetLoudLevel()

void AudioOutputGraph::SetLoudLevel ( int  Db = -12)
inline

Definition at line 25 of file audiooutputgraph.h.

◆ SetMaxLevel()

void AudioOutputGraph::SetMaxLevel ( int  Db = -6)
inline

Definition at line 26 of file audiooutputgraph.h.

◆ GetImage()

MythImage * AudioOutputGraph::GetImage ( std::chrono::milliseconds  Timecode) const

Definition at line 249 of file audiooutputgraph.cpp.

Referenced by OSD::SetGraph().

◆ Reset()

void AudioOutputGraph::Reset ( )

Definition at line 242 of file audiooutputgraph.cpp.

Referenced by MythPlayerAudioUI::ClearAudioGraph().

◆ add()

void AudioOutputGraph::add ( const void *  _Buffer,
unsigned long  Length,
std::chrono::milliseconds  Timecode,
int  Channnels,
int  Bits 
)
overridevirtual

Implements MythTV::Visual.

Definition at line 235 of file audiooutputgraph.cpp.

◆ prepare()

void AudioOutputGraph::prepare ( )
overridevirtual

Implements MythTV::Visual.

Definition at line 231 of file audiooutputgraph.cpp.

Member Data Documentation

◆ m_painter

MythPainter* AudioOutputGraph::m_painter { nullptr }
private

Definition at line 36 of file audiooutputgraph.h.

Referenced by GetImage(), and SetPainter().

◆ m_dBsilence

int AudioOutputGraph::m_dBsilence { -72 }
private

Definition at line 37 of file audiooutputgraph.h.

Referenced by GetImage().

◆ m_dBquiet

int AudioOutputGraph::m_dBquiet { -60 }
private

Definition at line 38 of file audiooutputgraph.h.

Referenced by GetImage().

◆ m_dBLoud

int AudioOutputGraph::m_dBLoud { -12 }
private

Definition at line 39 of file audiooutputgraph.h.

Referenced by GetImage().

◆ m_dbMax

int AudioOutputGraph::m_dbMax { -6 }
private

Definition at line 40 of file audiooutputgraph.h.

Referenced by GetImage().

◆ m_buffer

Buffer* const AudioOutputGraph::m_buffer { nullptr }
private

◆ m_mutex

QMutex AudioOutputGraph::m_mutex
mutableprivate

Definition at line 43 of file audiooutputgraph.h.

Referenced by add(), GetImage(), Reset(), SetPainter(), SetSampleCount(), and SetSampleRate().


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