Closed freesig closed 5 years ago
Looks like it's reading the ASIOSampleType as ASIOSTInt32LSB = 18
But the mic I'm testing with is 16 bit int
Might be worth hard coding everything to this machines format to rule that out although I still think something else is wrong because of the length of the wav file produced.
Ok I've discovered the bug in the interleaving code. I'm away from my windows computer but have made an asio_utils sub crate so I can test the interleaving and now have a working interleave function.
The Record Wav example is not working on this branch. I have a hunch that this is due to miss handling buffers.
It is writing bytes to the wav file but something is wrong because a 3 second recording comes out as 6 minute wav file and sounds like some sort of future glitch music.
I'm going to try an verify the interleaving is correct.
Todo