Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
$NetBSD: patch-akode-lib-crossfader.cpp,v 1.1 2011/08/31 14:43:43 joerg Exp $
--- akode/lib/crossfader.cpp.orig 2011-08-30 13:55:31.000000000 +0000
+++ 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 U> 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
}
// 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 U> class Arithm>
static bool _readFrame(AudioFrame* in, int& pos, AudioFrame* frame)
{
T** indata = (T**)frame->data;