As a beginner in C, I learned a fancy way to allocate the memory with struct{} to replace something like ch1Buffer = calloc(u32Size, sizeof *ch1Buffer);
struct{}
ch1Buffer = calloc(u32Size, sizeof *ch1Buffer);