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

Audio Precision software calls canSampleRate() with NaN #135

Closed
dechamps opened this issue Nov 1, 2021 · 1 comment
Closed

Audio Precision software calls canSampleRate() with NaN #135

dechamps opened this issue Nov 1, 2021 · 1 comment
Labels
asiohost Relates to a specific ASIO Host Application.
Milestone

Comments

@dechamps
Copy link
Owner

dechamps commented Nov 1, 2021

I was sent a log where "APx500 6.1\AudioPrecision.RealTime.exe" software was used, and one of the first thing it contains is the following:

--- ENTERING CONTEXT: canSampleRate()
Checking for sample rate: -nan(ind)

This looks like a bug in the host application as it seems to call canSampleRate() with a NaN parameter. Fortunately it seems benign as it doesn't prevent anything from working (as far as I can tell). FlexASIO should arguably reject the call immediately instead of attempting to open a PortAudio stream with a NaN sample rate, which could potentially not end well.

@dechamps dechamps added the asiohost Relates to a specific ASIO Host Application. label Nov 1, 2021
@dechamps dechamps added this to the FlexASIO 1.9 milestone Nov 1, 2021
dechamps added a commit to dechamps/ASIOTest that referenced this issue May 5, 2022
@dechamps
Copy link
Owner Author

dechamps commented May 7, 2022

Safeguards were implemented in FlexASIO 1.9.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
asiohost Relates to a specific ASIO Host Application.
Projects
None yet
Development

No branches or pull requests

1 participant