Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

High callback timing error in VB-Audio ASIO Test #232

Open
dechamps opened this issue May 27, 2024 · 2 comments
Open

High callback timing error in VB-Audio ASIO Test #232

dechamps opened this issue May 27, 2024 · 2 comments

Comments

@dechamps
Copy link
Owner

VB-Audio ASIO Driver Tester currently looks like this in FlexASIO 1.10a with the default config:

image

That doesn't look great. Presumably this could affect timing/sync in ASIO host applications, or perhaps even cause glitches.

I suspect this problem has always been there and is not a regression. My best guess is this is a consequence of the way PortAudio buffer adaptation works - especially since this test is full duplex. That being said, maybe there are ways to improve on this, e.g. by strategically aligning buffer sizes, or by improving PortAudio's internal logic.

@dechamps
Copy link
Owner Author

dechamps commented Jun 9, 2024

I have a suspicion this may be caused by PortAudio/portaudio#775: if the capture cursor can only advance in increments of 31.25 ms, then that would explain these "hiccups" as the ASIO buffer size is an awkward multiple of the actual granularity of the underlying DirectSound backend.

@dechamps
Copy link
Owner Author

My best guess is this is a consequence of the way PortAudio buffer adaptation works

Relevant: https://listserv.cuit.columbia.edu/scripts/wa.exe?A2=2409B&L=PORTAUDIO&D=0&S=b&P=557492

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant