summaryrefslogtreecommitdiff
path: root/rMD-exp/src
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2020-11-13 21:58:22 -0800
committerVito Caputo <vcaputo@pengaru.com>2020-11-13 21:58:22 -0800
commit2341ddfcd96f72cc4ee2c4f1e091ff2306caf62a (patch)
treee187d80e74565d643b53159739a15b99be97b120 /rMD-exp/src
parentb9e0c2ce4c0e8a93f6227bc71bcab5292389b1b4 (diff)
opendev: bump granularity of audio capture periods
This only applies to ALSA, but the av-sync precision is entirely dependent on the granularity of what ALSA refers to as "periods". The pdata->avd delay is decremented by the audio capture in period aligned steps, meaning the smallest decrement it can possibly do is the period size. Between these period sized intervals, rmdGetFrames kind of flies blind if the FPS is high enough for frametime to be substantially smaller than the period time. A smaller period does increase the ALSA capture overhead, basically increasing the number of times ALSA returns data to userspace, kind of like a higher interrupt rate. But it seems negligible for a modern system.
Diffstat (limited to 'rMD-exp/src')
0 files changed, 0 insertions, 0 deletions
© All Rights Reserved