#include <freesurround.h>
Definition at line 24 of file freesurround.h.
Public Types | |
| enum | SurroundMode { SurroundModePassive, SurroundModeActiveSimple, SurroundModeActiveLinear } |
Public Member Functions | |
| FreeSurround (uint srate, bool moviemode, SurroundMode mode) | |
| ~FreeSurround () | |
| uint | putSamples (short *samples, uint numSamples, uint numChannels, int step) |
| uint | putSamples (char *samples, uint numSamples, uint numChannels, int step) |
| uint | receiveSamples (short *output, uint maxSamples) |
| void | flush () |
| uint | numUnprocessedSamples () |
| uint | numSamples () |
| long long | getLatency () |
| uint | sampleLatency () |
| uint | samplesPerBlock () |
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 int16buffers * | int16bufs |
| class fsurround_decoder * | decoder |
| int | in_count |
| int | out_count |
| bool | processed |
| int | processed_size |
| SurroundMode | surround_mode |
Classes | |
| struct | fsurround_params |
Definition at line 27 of file freesurround.h.
| FreeSurround::FreeSurround | ( | uint | srate, | |
| bool | moviemode, | |||
| SurroundMode | mode | |||
| ) |
Definition at line 178 of file freesurround.cpp.
| FreeSurround::~FreeSurround | ( | ) |
Definition at line 257 of file freesurround.cpp.
Definition at line 426 of file freesurround.cpp.
| void FreeSurround::flush | ( | ) |
| uint FreeSurround::numUnprocessedSamples | ( | ) |
| uint FreeSurround::numSamples | ( | ) |
| long long FreeSurround::getLatency | ( | ) |
Definition at line 676 of file freesurround.cpp.
| uint FreeSurround::sampleLatency | ( | ) |
| uint FreeSurround::samplesPerBlock | ( | ) |
Definition at line 734 of file freesurround.cpp.
| void FreeSurround::process_block | ( | ) | [protected] |
| void FreeSurround::open | ( | ) | [protected] |
| void FreeSurround::close | ( | void | ) | [protected] |
| void FreeSurround::SetParams | ( | ) | [protected] |
struct FreeSurround::fsurround_params FreeSurround::params [private] |
Referenced by FreeSurround(), process_block(), and SetParams().
uint FreeSurround::srate [private] |
bool FreeSurround::open_ [private] |
Definition at line 81 of file freesurround.h.
bool FreeSurround::initialized_ [private] |
Definition at line 82 of file freesurround.h.
struct int16buffers* FreeSurround::int16bufs [read, private] |
Definition at line 84 of file freesurround.h.
Referenced by flush(), FreeSurround(), open(), putSamples(), receiveSamples(), and ~FreeSurround().
class fsurround_decoder* FreeSurround::decoder [private] |
Definition at line 85 of file freesurround.h.
Referenced by close(), flush(), getLatency(), open(), process_block(), putSamples(), receiveSamples(), and SetParams().
int FreeSurround::in_count [private] |
Definition at line 86 of file freesurround.h.
Referenced by getLatency(), numUnprocessedSamples(), putSamples(), and sampleLatency().
int FreeSurround::out_count [private] |
Definition at line 87 of file freesurround.h.
Referenced by numSamples(), putSamples(), receiveSamples(), and sampleLatency().
bool FreeSurround::processed [private] |
Definition at line 88 of file freesurround.h.
Referenced by putSamples(), receiveSamples(), and sampleLatency().
int FreeSurround::processed_size [private] |
SurroundMode FreeSurround::surround_mode [private] |
Definition at line 90 of file freesurround.h.
Referenced by FreeSurround(), getLatency(), putSamples(), and receiveSamples().
1.5.5