labstreaminglayer/App-AudioCapture

Runs at wrong rate

cboulay opened this issue · 2 comments

I don't know if something changed in Windows, but this app now seems to run at the wrong rate.

Maybe the way the time offset is being calculated is incorrect. See here.

Maybe the nominal rate is incorrect. See here

Also, while looking at this I noticed that boost is used for 1 line when launching a thread, and a couple other lines for sleeping. This can be replaced by stl. (stl sleep here)

I've started a port to CMake+Qt somewhere, if someone could pick it up it'd also make this app cross-platform.

Merged in Qt port in #2