MythTV
master
|
#include <libmyth/audio/freesurround.h>
Classes | |
struct | fsurround_params |
Public Types | |
enum | SurroundMode : std::uint8_t { SurroundModePassive, SurroundModeActiveSimple, SurroundModeActiveLinear, SurroundModePassiveHall } |
Public Member Functions | |
FreeSurround (uint srate, bool moviemode, SurroundMode mode) | |
~FreeSurround () | |
uint | putFrames (void *buffer, uint numFrames, uint numChannels) |
uint | receiveFrames (void *buffer, uint maxFrames) |
void | flush () |
uint | numUnprocessedFrames () const |
uint | numFrames () const |
long long | getLatency () |
uint | frameLatency () const |
Static Public Member Functions | |
static uint | framesPerBlock () |
Protected Member Functions | |
void | process_block () |
void | open () |
void | close () |
void | SetParams () |
Private Attributes | |
struct FreeSurround::fsurround_params | m_params |
uint | m_srate |
struct buffers * | m_bufs {nullptr} |
class fsurround_decoder * | m_decoder {nullptr} |
int | m_inCount {0} |
int | m_outCount {0} |
bool | m_processed {true} |
int | m_processedSize {0} |
SurroundMode | m_surroundMode {SurroundModePassive} |
int | m_latencyFrames {0} |
int | m_channels {0} |
Definition at line 28 of file freesurround.h.
enum FreeSurround::SurroundMode : std::uint8_t |
Enumerator | |
---|---|
SurroundModePassive | |
SurroundModeActiveSimple | |
SurroundModeActiveLinear | |
SurroundModePassiveHall |
Definition at line 31 of file freesurround.h.
FreeSurround::FreeSurround | ( | uint | srate, |
bool | moviemode, | ||
SurroundMode | mode | ||
) |
Definition at line 74 of file freesurround.cpp.
FreeSurround::~FreeSurround | ( | ) |
Definition at line 130 of file freesurround.cpp.
Definition at line 139 of file freesurround.cpp.
Referenced by AudioOutputBase::CopyWithUpmix().
Definition at line 306 of file freesurround.cpp.
Referenced by AudioOutputBase::CopyWithUpmix().
void FreeSurround::flush | ( | ) |
Definition at line 412 of file freesurround.cpp.
Referenced by AudioOutputBase::Reset().
uint FreeSurround::numUnprocessedFrames | ( | ) | const |
Definition at line 439 of file freesurround.cpp.
Referenced by AudioOutputBase::AddData().
uint FreeSurround::numFrames | ( | ) | const |
Definition at line 444 of file freesurround.cpp.
Referenced by AudioOutputBase::CopyWithUpmix(), and putFrames().
long long FreeSurround::getLatency | ( | ) |
Definition at line 402 of file freesurround.cpp.
uint FreeSurround::frameLatency | ( | ) | const |
Definition at line 449 of file freesurround.cpp.
Referenced by AudioOutputBase::SetAudiotime().
|
static |
Definition at line 456 of file freesurround.cpp.
|
protected |
Definition at line 387 of file freesurround.cpp.
Referenced by putFrames().
|
protected |
Definition at line 420 of file freesurround.cpp.
Referenced by FreeSurround().
|
protected |
Definition at line 433 of file freesurround.cpp.
Referenced by ~FreeSurround().
|
protected |
Definition at line 119 of file freesurround.cpp.
Referenced by open().
|
private |
Referenced by FreeSurround(), process_block(), and SetParams().
|
private |
Definition at line 77 of file freesurround.h.
Referenced by getLatency(), and open().
|
private |
Definition at line 80 of file freesurround.h.
Referenced by flush(), FreeSurround(), open(), putFrames(), receiveFrames(), and ~FreeSurround().
|
private |
Definition at line 81 of file freesurround.h.
Referenced by close(), flush(), getLatency(), open(), process_block(), putFrames(), receiveFrames(), and SetParams().
|
private |
Definition at line 82 of file freesurround.h.
Referenced by frameLatency(), getLatency(), numUnprocessedFrames(), and putFrames().
|
private |
Definition at line 83 of file freesurround.h.
Referenced by frameLatency(), numFrames(), putFrames(), and receiveFrames().
Definition at line 84 of file freesurround.h.
Referenced by frameLatency(), putFrames(), and receiveFrames().
|
private |
Definition at line 85 of file freesurround.h.
Referenced by putFrames(), and receiveFrames().
|
private |
Definition at line 86 of file freesurround.h.
Referenced by FreeSurround(), and putFrames().
|
private |
Definition at line 87 of file freesurround.h.
Referenced by FreeSurround(), getLatency(), and putFrames().
|
private |
Definition at line 88 of file freesurround.h.
Referenced by putFrames(), and receiveFrames().