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

FlexASIO attempts to check sample rate for disabled devices #85

Closed
dechamps opened this issue Aug 16, 2020 · 1 comment
Closed

FlexASIO attempts to check sample rate for disabled devices #85

dechamps opened this issue Aug 16, 2020 · 1 comment
Labels

Comments

@dechamps
Copy link
Owner

Something I noticed in this log provided in #84:

Selecting input device
Device explicitly disabled in configuration
No input device, proceeding without input
…
--- ENTERING CONTEXT: canSampleRate()
Checking for sample rate: 44100
Checking if input supports this sample rate
CFlexASIO::OpenStream(inputEnabled = 1, outputEnabled = 0, sampleRate = 44100, framesPerBuffer = 0, callback = 00007FF9EEADB950, callbackUserData = 0000000000000000
Opening PortAudio stream with...
...input parameters: none
...output parameters: none
...sample rate: 44100 Hz
...frames per buffer: 0
...stream flags: 8 [PrimeOutputBuffersUsingStreamCallback]
...stream callback: 00007FF9EEADB950 (user data 0000000000000000)
Input does not support this sample rate: unable to open PortAudio stream: Invalid device

Obviously this is nonsensical - FlexASIO should not attempt to check a sample rate on a device that is not configured.

This is benign though and unlikely to cause any issues in practice, as FlexASIO just ignores the resulting error and moves on, as one would expect.

@dechamps dechamps added the bug label Aug 16, 2020
@dechamps
Copy link
Owner Author

dechamps commented Sep 4, 2020

This is fixed in FlexASIO 1.6.

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

No branches or pull requests

1 participant