More something like this i.e. include both IRs during compile time:
Code:
static const int len = 1024;
static const float ir1[ir_len] =
{
#include "ir1.h"
};
static const float ir2[ir_len] =
{
#include "ir2.h"
};
And then select ir1/ir2 on runtime.
EDIT: Assuming same length here for simplicity's sake, but they don't have to be.
Quote:
Originally Posted by Tunca
Am i idiot?
|
No comment...