aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/Effect/srconverter
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2008-11-07 19:07:48 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2008-11-07 19:07:48 +0000
commit6d9653f4d1becfdd260f60c9177d5e3ca6dc56af (patch)
tree124dbc0b5a094a869f2a42a8da795e017e56afe5 /src/plugins/Effect/srconverter
parent7577a11147b8b931a408a3875bb1c1e25ecfb861 (diff)
downloadqmmp-6d9653f4d1becfdd260f60c9177d5e3ca6dc56af.tar.gz
qmmp-6d9653f4d1becfdd260f60c9177d5e3ca6dc56af.tar.bz2
qmmp-6d9653f4d1becfdd260f60c9177d5e3ca6dc56af.zip
gcc-4.3 support
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@610 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/Effect/srconverter')
-rw-r--r--src/plugins/Effect/srconverter/srconverter.cpp4
-rw-r--r--src/plugins/Effect/srconverter/srconverter.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/plugins/Effect/srconverter/srconverter.cpp b/src/plugins/Effect/srconverter/srconverter.cpp
index 9cfd56361..b8f729da9 100644
--- a/src/plugins/Effect/srconverter/srconverter.cpp
+++ b/src/plugins/Effect/srconverter/srconverter.cpp
@@ -57,7 +57,7 @@ SRConverter::~SRConverter()
}
}
-const ulong SRConverter::process(char *in_data, const ulong size, char **out_data)
+ulong SRConverter::process(char *in_data, const ulong size, char **out_data)
{
if (m_isSrcAlloc)
{
@@ -114,7 +114,7 @@ void SRConverter::configure(quint32 freq, int chan, int res)
}
}
-const quint32 SRConverter::sampleRate()
+quint32 SRConverter::sampleRate()
{
return m_overSamplingFs;
}
diff --git a/src/plugins/Effect/srconverter/srconverter.h b/src/plugins/Effect/srconverter/srconverter.h
index f96079868..2258e6594 100644
--- a/src/plugins/Effect/srconverter/srconverter.h
+++ b/src/plugins/Effect/srconverter/srconverter.h
@@ -39,9 +39,9 @@ public:
virtual ~SRConverter();
- const ulong process(char *in_data, const ulong size, char **out_data);
+ ulong process(char *in_data, const ulong size, char **out_data);
void configure(quint32 freq, int chan, int res);
- const quint32 sampleRate();
+ quint32 sampleRate();
private:
void freeSRC();