diff options
author | Joerg Mueller <nexyon@gmail.com> | 2011-06-22 00:25:48 +0400 |
---|---|---|
committer | Joerg Mueller <nexyon@gmail.com> | 2011-06-22 00:25:48 +0400 |
commit | d5eaffda23274271e28bf499bd8d4555b0077079 (patch) | |
tree | aeea31ffdddc329474cc62a6c5bd1371daf12f9a /intern/audaspace/SRC/AUD_SRCResampleReader.h | |
parent | c89b4e4b665757e0a164e98985d2f5d1c6843fa0 (diff) |
3D Audio GSoC:
Dynamic resampling for libsamplerate and linear resampling.
Diffstat (limited to 'intern/audaspace/SRC/AUD_SRCResampleReader.h')
-rw-r--r-- | intern/audaspace/SRC/AUD_SRCResampleReader.h | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/intern/audaspace/SRC/AUD_SRCResampleReader.h b/intern/audaspace/SRC/AUD_SRCResampleReader.h index 5b210a61e70..896a742356b 100644 --- a/intern/audaspace/SRC/AUD_SRCResampleReader.h +++ b/intern/audaspace/SRC/AUD_SRCResampleReader.h @@ -44,24 +44,19 @@ class AUD_SRCResampleReader : public AUD_EffectReader { private: /** - * The sample specification of the source. - */ - const AUD_Specs m_sspecs; - - /** - * The resampling factor. + * The sound output buffer. */ - const double m_factor; + AUD_Buffer m_buffer; /** - * The sound output buffer. + * The target sampling rate. */ - AUD_Buffer m_buffer; + AUD_SampleRate m_rate; /** - * The target specification. + * The reader channels. */ - AUD_Specs m_tspecs; + AUD_Channels m_channels; /** * The src state structure. |