1
Audio / Re: Does my recording pause when calling onProcessSamples?
« on: November 30, 2016, 01:02:24 pm »
Precession isn't that important, but the time between every onProcessSamples call needs to be the same for both mac and windows. And im not sure if the sampleCount i reliable.
If the sample count is "actually caught samples", when the processingInterval is not 1 ms, but instead the 31 ms for Windows. So i need to find out if i set the sample rate, and get the sample count, is the processingInterval reliable?
Eks:
4096 sample rate - i get 150 sample count - then the processing interval is actually 150 / 4096 = 0.036 s = 36 ms
Hope that makes sense
If the sample count is "actually caught samples", when the processingInterval is not 1 ms, but instead the 31 ms for Windows. So i need to find out if i set the sample rate, and get the sample count, is the processingInterval reliable?
Eks:
4096 sample rate - i get 150 sample count - then the processing interval is actually 150 / 4096 = 0.036 s = 36 ms
Hope that makes sense