diff options
Diffstat (limited to 'src/plugins/Effect')
| -rw-r--r-- | src/plugins/Effect/srconverter/srconverter.cpp | 4 | ||||
| -rw-r--r-- | src/plugins/Effect/srconverter/srconverter.h | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/plugins/Effect/srconverter/srconverter.cpp b/src/plugins/Effect/srconverter/srconverter.cpp index 9d7937e7e..9cfd56361 100644 --- a/src/plugins/Effect/srconverter/srconverter.cpp +++ b/src/plugins/Effect/srconverter/srconverter.cpp @@ -97,7 +97,7 @@ const ulong SRConverter::process(char *in_data, const ulong size, char **out_dat return wbytes; } -void SRConverter::configure(ulong freq, int chan, int res) +void SRConverter::configure(quint32 freq, int chan, int res) { Effect::configure(freq, chan, res); freeSRC(); @@ -114,7 +114,7 @@ void SRConverter::configure(ulong freq, int chan, int res) } } -const ulong SRConverter::frequency() +const quint32 SRConverter::sampleRate() { return m_overSamplingFs; } diff --git a/src/plugins/Effect/srconverter/srconverter.h b/src/plugins/Effect/srconverter/srconverter.h index 3638383f9..f96079868 100644 --- a/src/plugins/Effect/srconverter/srconverter.h +++ b/src/plugins/Effect/srconverter/srconverter.h @@ -40,20 +40,20 @@ public: virtual ~SRConverter(); const ulong process(char *in_data, const ulong size, char **out_data); - void configure(ulong freq, int chan, int res); - const ulong frequency(); + void configure(quint32 freq, int chan, int res); + const quint32 sampleRate(); private: void freeSRC(); SRC_STATE *m_src_state; SRC_DATA m_src_data; - int m_overSamplingFs; + quint32 m_overSamplingFs; int m_srcError; int m_converter_type; bool m_isSrcAlloc; float *m_srcIn, *m_srcOut; short *m_wOut; - ulong m_freq; + quint32 m_freq; }; #endif |
