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 *)
 
void SetSampleRate (unsigned sample_rate)
 
void SetSampleCount (unsigned sample_count)
 
void SetSilenceLevel (int db=-72)
 
void SetQuietLevel (int db=-60)
 
void SetLoudLevel (int db=-12)
 
void SetMaxLevel (int db=-6)
 
MythImageGetImage (int64_t timecode) const
 
void Reset ()
 
void add (const void *b, unsigned long b_len, unsigned long timecode, int channels, 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 13 of file audiooutputgraph.h.

Constructor & Destructor Documentation

◆ AudioOutputGraph()

AudioOutputGraph::AudioOutputGraph ( )

Definition at line 210 of file audiooutputgraph.cpp.

◆ ~AudioOutputGraph()

AudioOutputGraph::~AudioOutputGraph ( )
override

Definition at line 214 of file audiooutputgraph.cpp.

Member Function Documentation

◆ SetPainter()

void AudioOutputGraph::SetPainter ( MythPainter painter)

Definition at line 219 of file audiooutputgraph.cpp.

Referenced by MythPlayer::EnableEdit().

◆ SetSampleRate()

void AudioOutputGraph::SetSampleRate ( unsigned  sample_rate)

Definition at line 225 of file audiooutputgraph.cpp.

Referenced by MythPlayer::EnableEdit().

◆ SetSampleCount()

void AudioOutputGraph::SetSampleCount ( unsigned  sample_count)

Definition at line 234 of file audiooutputgraph.cpp.

Referenced by MythPlayer::EnableEdit().

◆ SetSilenceLevel()

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

Definition at line 24 of file audiooutputgraph.h.

◆ SetQuietLevel()

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

Definition at line 25 of file audiooutputgraph.h.

◆ SetLoudLevel()

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

Definition at line 26 of file audiooutputgraph.h.

◆ SetMaxLevel()

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

Definition at line 27 of file audiooutputgraph.h.

◆ GetImage()

MythImage * AudioOutputGraph::GetImage ( int64_t  timecode) const

Definition at line 261 of file audiooutputgraph.cpp.

Referenced by OSD::SetGraph().

◆ Reset()

void AudioOutputGraph::Reset ( void  )

Definition at line 253 of file audiooutputgraph.cpp.

Referenced by MythPlayer::DisableEdit().

◆ add()

void AudioOutputGraph::add ( const void *  b,
unsigned long  b_len,
unsigned long  timecode,
int  channels,
int  bits 
)
overridevirtual

Implements MythTV::Visual.

Definition at line 247 of file audiooutputgraph.cpp.

◆ prepare()

void AudioOutputGraph::prepare ( void  )
overridevirtual

Implements MythTV::Visual.

Definition at line 243 of file audiooutputgraph.cpp.

Member Data Documentation

◆ m_painter

MythPainter* AudioOutputGraph::m_painter {nullptr}
private

Definition at line 41 of file audiooutputgraph.h.

Referenced by GetImage(), and SetPainter().

◆ m_dBsilence

int AudioOutputGraph::m_dBsilence {-72}
private

Definition at line 42 of file audiooutputgraph.h.

Referenced by GetImage().

◆ m_dBquiet

int AudioOutputGraph::m_dBquiet {-60}
private

Definition at line 43 of file audiooutputgraph.h.

Referenced by GetImage().

◆ m_dBLoud

int AudioOutputGraph::m_dBLoud {-12}
private

Definition at line 44 of file audiooutputgraph.h.

Referenced by GetImage().

◆ m_dbMax

int AudioOutputGraph::m_dbMax {-6}
private

Definition at line 45 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 48 of file audiooutputgraph.h.

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


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