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

paqa_latency report streamInfo latency is zero on MacOS #982

Open
philburk opened this issue Nov 18, 2024 · 1 comment
Open

paqa_latency report streamInfo latency is zero on MacOS #982

philburk opened this issue Nov 18, 2024 · 1 comment

Comments

@philburk
Copy link
Collaborator

paqa_latency is reporting zero latency on all devices for MacOS

To Reproduce
Steps to reproduce the behavior. Include code if applicable.

  1. bin/paqa_latency

Expected behavior
Tests to pass with actual latency close to suggested latency.

Actual behavior
Got a latency of 0.0

------------------------ paqaCheckMultipleSuggested - OUTPUT
 lowLatency  = 0.00455782
 highLatency = 0.0147166
 numChannels = 2
 sampleRate  = 44100
   suggestedLatency[0] = 0.0046
          finalLatency = 0.0000
./qa/paqa_latency.c:296 - ERROR - final latency should be close to suggested latency, expected 0.004558, got 0.000000, tol=0.000456
OUTPUT CHECK FAILED !!! #3: 'ZOOM AMS-22 Driver'

Desktop (please complete the following information):

  • OS: Mac OS 14.7
  • PortAudio version: master on 2024-11-17
@philburk philburk changed the title paqa_latency is reporting zero latency on MacOS paqa_latency report streamInfo latency is zero on MacOS Nov 18, 2024
@philburk
Copy link
Collaborator Author

Oddly, the tests after paqaCheckMultipleSuggested are showing non-zero latency!

------------- Try a very small buffer.
Stream parameter: suggestedOutputLatency = 0.0045625
Stream parameter: user framesPerBuffer = 9
Stream info: inputLatency  = 0
Stream info: outputLatency = 0.00472917    <==!!! non-zero

philburk added a commit that referenced this issue Nov 18, 2024
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