titinko/frq0003gen

¿Bug? samplesPerFrq is fixed to 256 on output file

Closed this issue · 2 comments

Third argument of frq0003 is the sample size, and is used to calculate the numbers of frames to report, but in line:

*((int*)(&header[8])) = 256; // Samples per frq value.

is fixed to 256. It is correct or should be fixed?

Right now the program only supports 256. I put the parameter in with the expectation that it could be enhanced to support other sample rates in the future.

Oh, ok. I understand