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

#include <avformatdecoder.h>

Collaboration diagram for AudioInfo:
Collaboration graph
[legend]

Public Member Functions

 AudioInfo ()=default
 
 AudioInfo (AVCodecID id, AudioFormat fmt, int sr, int ch, bool passthru, int original_ch, int profile=0)
 
bool operator== (const AudioInfo &o) const
 
QString toString () const
 

Public Attributes

AVCodecID m_codecId {AV_CODEC_ID_NONE}
 
AudioFormat format {FORMAT_NONE}
 
int m_sampleSize {-2}
 
int m_sampleRate {-1}
 
int m_channels {-1}
 
int m_codecProfile {0}
 
bool m_doPassthru {false}
 
int m_originalChannels {-1}
 

Detailed Description

Definition at line 45 of file avformatdecoder.h.

Constructor & Destructor Documentation

◆ AudioInfo() [1/2]

AudioInfo::AudioInfo ( )
default

◆ AudioInfo() [2/2]

AudioInfo::AudioInfo ( AVCodecID  id,
AudioFormat  fmt,
int  sr,
int  ch,
bool  passthru,
int  original_ch,
int  profile = 0 
)
inline

Definition at line 50 of file avformatdecoder.h.

Member Function Documentation

◆ operator==()

bool AudioInfo::operator== ( const AudioInfo o) const
inline

Definition at line 68 of file avformatdecoder.h.

◆ toString()

QString AudioInfo::toString ( ) const
inline

Member Data Documentation

◆ m_codecId

AVCodecID AudioInfo::m_codecId {AV_CODEC_ID_NONE}

Definition at line 59 of file avformatdecoder.h.

Referenced by operator==(), AvFormatDecoder::SetupAudioStream(), and toString().

◆ format

AudioFormat AudioInfo::format {FORMAT_NONE}

◆ m_sampleSize

int AudioInfo::m_sampleSize {-2}

◆ m_sampleRate

int AudioInfo::m_sampleRate {-1}

◆ m_channels

int AudioInfo::m_channels {-1}

◆ m_codecProfile

int AudioInfo::m_codecProfile {0}

Definition at line 64 of file avformatdecoder.h.

Referenced by operator==(), AvFormatDecoder::SetupAudioStream(), and toString().

◆ m_doPassthru

bool AudioInfo::m_doPassthru {false}

◆ m_originalChannels

int AudioInfo::m_originalChannels {-1}

Definition at line 66 of file avformatdecoder.h.

Referenced by operator==().


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