FreeSurround Class Reference

#include <freesurround.h>

List of all members.

Classes

struct  fsurround_params

Public Types

enum  SurroundMode { SurroundModePassive, SurroundModeActiveSimple, SurroundModeActiveLinear }

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 ()
uint numFrames ()
long long getLatency ()
uint frameLatency ()
uint framesPerBlock ()

Protected Member Functions

void process_block ()
void open ()
void close ()
void SetParams ()

Private Attributes

struct
FreeSurround::fsurround_params 
params
uint srate
bool open_
bool initialized_
struct buffersbufs
struct int16buffers * int16bufs
class fsurround_decoderdecoder
int in_count
int out_count
bool processed
int processed_size
SurroundMode surround_mode
int latency_frames
int channels

Detailed Description

Definition at line 26 of file freesurround.h.


Member Enumeration Documentation

Enumerator:
SurroundModePassive 
SurroundModeActiveSimple 
SurroundModeActiveLinear 

Definition at line 29 of file freesurround.h.


Constructor & Destructor Documentation

FreeSurround::FreeSurround ( uint  srate,
bool  moviemode,
SurroundMode  mode 
)

Definition at line 135 of file freesurround.cpp.

FreeSurround::~FreeSurround (  ) 

Definition at line 212 of file freesurround.cpp.


Member Function Documentation

uint FreeSurround::putFrames ( void *  buffer,
uint  numFrames,
uint  numChannels 
)

Definition at line 224 of file freesurround.cpp.

Referenced by AudioOutputBase::CopyWithUpmix().

uint FreeSurround::receiveFrames ( void *  buffer,
uint  maxFrames 
)

Definition at line 368 of file freesurround.cpp.

Referenced by AudioOutputBase::CopyWithUpmix().

void FreeSurround::flush (  ) 

Definition at line 476 of file freesurround.cpp.

Referenced by AudioOutputBase::Reset().

uint FreeSurround::numUnprocessedFrames (  ) 

Definition at line 506 of file freesurround.cpp.

Referenced by AudioOutputBase::AddData().

uint FreeSurround::numFrames (  ) 

Definition at line 511 of file freesurround.cpp.

Referenced by AudioOutputBase::CopyWithUpmix().

long long FreeSurround::getLatency (  ) 

Definition at line 468 of file freesurround.cpp.

uint FreeSurround::frameLatency (  ) 

Definition at line 516 of file freesurround.cpp.

Referenced by AudioOutputBase::SetAudiotime().

uint FreeSurround::framesPerBlock (  ) 

Definition at line 524 of file freesurround.cpp.

void FreeSurround::process_block (  )  [protected]

Definition at line 453 of file freesurround.cpp.

Referenced by putFrames().

void FreeSurround::open (  )  [protected]

Definition at line 484 of file freesurround.cpp.

Referenced by FreeSurround().

void FreeSurround::close ( void   )  [protected]

Definition at line 497 of file freesurround.cpp.

Referenced by ~FreeSurround().

void FreeSurround::SetParams (  )  [protected]

Definition at line 189 of file freesurround.cpp.

Referenced by open().


Member Data Documentation

Definition at line 75 of file freesurround.h.

Referenced by getLatency(), and open().

Definition at line 78 of file freesurround.h.

Definition at line 79 of file freesurround.h.

struct buffers* FreeSurround::bufs [private]

Definition at line 80 of file freesurround.h.

Referenced by flush(), FreeSurround(), open(), putFrames(), receiveFrames(), and ~FreeSurround().

struct int16buffers* FreeSurround::int16bufs [private]

Definition at line 81 of file freesurround.h.

int FreeSurround::in_count [private]

Definition at line 83 of file freesurround.h.

Referenced by frameLatency(), getLatency(), numUnprocessedFrames(), and putFrames().

int FreeSurround::out_count [private]

Definition at line 84 of file freesurround.h.

Referenced by frameLatency(), numFrames(), putFrames(), and receiveFrames().

Definition at line 85 of file freesurround.h.

Referenced by frameLatency(), putFrames(), and receiveFrames().

Definition at line 86 of file freesurround.h.

Referenced by putFrames(), and receiveFrames().

Definition at line 87 of file freesurround.h.

Referenced by FreeSurround(), and putFrames().

Definition at line 88 of file freesurround.h.

Referenced by FreeSurround(), getLatency(), and putFrames().

int FreeSurround::channels [private]

Definition at line 89 of file freesurround.h.

Referenced by putFrames(), and receiveFrames().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends
Generated on Fri May 25 06:42:02 2012 for MythTV by  doxygen 1.6.3