View Single Post
Old 01-26-2018, 09:01 AM   #23
Tale
Human being with feelings
 
Tale's Avatar
 
Join Date: Jul 2008
Location: The Netherlands
Posts: 3,645
Default

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 View Post
Am i idiot?
No comment...
Tale is offline   Reply With Quote