How about a simple old school solution.
1. Pass the size of the array along with the array; otherwise you do not know its size.
2. Just assign it to a member variable.
This should do the trick:
void Configure(long channels, size_t size)