summaryrefslogtreecommitdiffstats
path: root/akode/lib/crossfader.cpp
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2015-06-16 21:13:16 +0200
committerSlávek Banko <slavek.banko@axis.cz>2015-06-16 21:13:16 +0200
commitbc4b50acff7062f7155e87c4d337f37dfc5f1fd5 (patch)
treea92ce119b196b3f18ccda39a7bdf16cf2110024e /akode/lib/crossfader.cpp
parent69006eae7f26d3f38c5512a19738656e109fd419 (diff)
downloadakode-bc4b50acff7062f7155e87c4d337f37dfc5f1fd5.tar.gz
akode-bc4b50acff7062f7155e87c4d337f37dfc5f1fd5.zip
Fix FTBFS with clang
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'akode/lib/crossfader.cpp')
-rw-r--r--akode/lib/crossfader.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/akode/lib/crossfader.cpp b/akode/lib/crossfader.cpp
index 8e5b970..cdf9059 100644
--- a/akode/lib/crossfader.cpp
+++ b/akode/lib/crossfader.cpp
@@ -27,7 +27,7 @@ namespace aKode {
CrossFader::CrossFader(unsigned int time) : time(time),pos(0) {}
// T is the input/output type, S is the fast arithmetics type, Div is a division method
-template<typename T, typename S, template<typename S> class Arithm>
+template<typename T, typename S, template<typename S_Type> class Arithm>
static bool _doFrame(AudioFrame* in, int& pos, AudioFrame* frame)
{
T** indata1 = (T**)in->data;
@@ -66,7 +66,7 @@ static bool _doFrame(AudioFrame* in, int& pos, AudioFrame* frame)
}
// T is the input/output type, S is the fast arithmetics type, Arithm defines devisions
-template<typename T, typename S, template<typename S> class Arithm>
+template<typename T, typename S, template<typename S_Type> class Arithm>
static bool _readFrame(AudioFrame* in, int& pos, AudioFrame* frame)
{
T** indata = (T**)frame->data;