Repository navigation
Standalone: ASIO fixes (RtAudio past 6.0.1, one driver for both sides, no hang on stop) - #652
Merged
Merged
Conversation
guarantee_rtaudio fetched the 6.0.1 tag, the last release. Its ASIO host left bufferSwitchTimeInfo NULL, and Steinberg's Generic Low Latency ASIO driver calls it regardless of kAsioSupportsTimeInfo, so opening that driver in the standalone called address 0 on ASIOStart() and ended the process. thestk/rtaudio#486 supplies the callback; this pins the merge of it (521fcab) until a release carries it.
An ASIO driver serves both directions, and RtAudio opens input and output on one driver. The Windows settings window still listed every driver under Input, and choosing one other than the output's failed when the stream was opened. The backend now says whether its api shares one device between the directions (sharesOneDevice(), true for RtAudio's ASIO). While it does, the Input menu offers No Input and the output's driver only, and follows the Output menu: choosing another output moves the input to that driver, and keeps it on if it was on.
… has stopped calling back RtAudio's ASIO stopStream() waits without a timeout for the next callback to drain the output. A driver that never calls back hung the settings window on the next device change; closeStream() stops a running ASIO stream without that wait.
…ne of its own Under ASIO the driver is both sides, so the settings show one Driver menu and its input is the driver's wherever it has one. The latency note moves under the buffer size, where it has the full width.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Windows standalone, ASIO only; no plugin format changes.
Tested on Windows x64 with the MOTU Pro Audio and ASIO4ALL drivers.