#include <RageSoundResampler.h>
Public Member Functions | |
| RageSoundResampler () | |
| void | SetChannels (int c) |
| void | SetInputSampleRate (int hz) |
| void | SetOutputSampleRate (int hz) |
| void | write (const void *data, int bytes) |
| void | eof () |
| void | reset () |
| unsigned | avail () const |
| int | read (void *data, unsigned bytes) |
Private Types | |
| enum | { MAX_CHANNELS = 15 } |
Private Attributes | |
| int | InputRate |
| int | OutputRate |
| int | Channels |
| int16_t | prev [MAX_CHANNELS] |
| vector< int16_t > | outbuf |
| bool | at_eof |
| int | ipos |
| float | t [MAX_CHANNELS] |
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.3.7