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

#include <audioreencodebuffer.h>

Public Member Functions

 AudioBuffer ()
 
 AudioBuffer (const AudioBuffer &old)
 
 ~AudioBuffer ()
 
void appendData (unsigned char *buffer, int len, int frames, long long time)
 
char * data (void)
 
int size (void)
 

Public Attributes

uint8_t * m_buffer {nullptr}
 
int m_size {0}
 
int m_realsize {ABLOCK_SIZE}
 
int m_frames {0}
 
long long m_time {-1}
 

Detailed Description

Definition at line 9 of file audioreencodebuffer.h.

Constructor & Destructor Documentation

◆ AudioBuffer() [1/2]

AudioBuffer::AudioBuffer ( )

Definition at line 12 of file audioreencodebuffer.cpp.

◆ AudioBuffer() [2/2]

AudioBuffer::AudioBuffer ( const AudioBuffer old)

Definition at line 21 of file audioreencodebuffer.cpp.

◆ ~AudioBuffer()

AudioBuffer::~AudioBuffer ( )

Definition at line 33 of file audioreencodebuffer.cpp.

Member Function Documentation

◆ appendData()

void AudioBuffer::appendData ( unsigned char *  buffer,
int  len,
int  frames,
long long  time 
)

Definition at line 38 of file audioreencodebuffer.cpp.

Referenced by AudioReencodeBuffer::AddData().

◆ data()

char* AudioBuffer::data ( void  )
inline

Definition at line 17 of file audioreencodebuffer.h.

Referenced by Transcode::TranscodeFile().

◆ size()

int AudioBuffer::size ( void  )
inline

Definition at line 18 of file audioreencodebuffer.h.

Referenced by AudioReencodeBuffer::AddData(), and Transcode::TranscodeFile().

Member Data Documentation

◆ m_buffer

uint8_t* AudioBuffer::m_buffer {nullptr}

Definition at line 20 of file audioreencodebuffer.h.

Referenced by appendData(), AudioBuffer(), data(), and ~AudioBuffer().

◆ m_size

int AudioBuffer::m_size {0}

Definition at line 21 of file audioreencodebuffer.h.

Referenced by appendData(), AudioBuffer(), and size().

◆ m_realsize

int AudioBuffer::m_realsize {ABLOCK_SIZE}

Definition at line 22 of file audioreencodebuffer.h.

Referenced by appendData(), and AudioBuffer().

◆ m_frames

int AudioBuffer::m_frames {0}

Definition at line 23 of file audioreencodebuffer.h.

Referenced by appendData(), and AudioReencodeBuffer::GetSamples().

◆ m_time

long long AudioBuffer::m_time {-1}

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