#include <freesurround.h>
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 buffers * | bufs |
| struct int16buffers * | int16bufs |
| class fsurround_decoder * | decoder |
| int | in_count |
| int | out_count |
| bool | processed |
| int | processed_size |
| SurroundMode | surround_mode |
| int | latency_frames |
| int | channels |
Definition at line 26 of file freesurround.h.
Definition at line 29 of file freesurround.h.
| 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.
Definition at line 224 of file freesurround.cpp.
Referenced by AudioOutputBase::CopyWithUpmix().
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().
struct FreeSurround::fsurround_params FreeSurround::params [private] |
Referenced by FreeSurround(), process_block(), and SetParams().
uint FreeSurround::srate [private] |
Definition at line 75 of file freesurround.h.
Referenced by getLatency(), and open().
bool FreeSurround::open_ [private] |
Definition at line 78 of file freesurround.h.
bool FreeSurround::initialized_ [private] |
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.
class fsurround_decoder* FreeSurround::decoder [private] |
Definition at line 82 of file freesurround.h.
Referenced by close(), flush(), getLatency(), open(), process_block(), putFrames(), receiveFrames(), and SetParams().
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().
bool FreeSurround::processed [private] |
Definition at line 85 of file freesurround.h.
Referenced by frameLatency(), putFrames(), and receiveFrames().
int FreeSurround::processed_size [private] |
Definition at line 86 of file freesurround.h.
Referenced by putFrames(), and receiveFrames().
SurroundMode FreeSurround::surround_mode [private] |
Definition at line 87 of file freesurround.h.
Referenced by FreeSurround(), and putFrames().
int FreeSurround::latency_frames [private] |
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().
1.6.3