镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

SarAsio: offer a stereo pair when no hardware interface is selected (#31, #54) - #150

Draft
eiz-claude wants to merge 2 commits into
mack/fix-133-configure-inner-driverfrom
mack/fix-54-stereo-without-interface
Draft

eiz-claude wants to merge 2 commits into
mack/fix-133-configure-inner-driverfrom
mack/fix-54-stereo-without-interface

Conversation

@eiz-claude

@eiz-claude eiz-claude commented Oct 3, 2026 •

Copy link
Copy Markdown
Collaborator

Fixes #31, fixes #54.

With no hardware interface configured (first run, or after the selected driver failed to load), SarAsio offered one mono input and one mono output. Live rejects such a device ("Live only supports audio devices that have at least one stereo output"), and Reason does too according to a comment on #54. So SAR's control panel was out of reach until it had been configured from another host such as REAPER, the workaround people used in both issues.

SarAsio now offers two inputs and two outputs in that state. It also frees the previous fake buffers when createBuffers is called again instead of dropping the pointers.

Test

New SarTest no-interface check (issue-54-no-interface scenario): write a configuration without a hardware interface, open SAR the way a host does (init, getChannels, getChannelInfo, createBuffers on every channel, start, stop), and fail unless it offers at least a stereo pair each way.

test VM channels offered result
tests without the fix 1 in, 1 out failed
with the fix 2 in, 2 out passed

Not tested with Live or Reason themselves. The error message in both issues asks for exactly this, but it's worth confirming with a Live trial before closing the issues.

🤖 Generated with Claude Code

eiz and others added 2 commits October 3, 2026 10:44
Adds SarTest no-interface and an issue-54-no-interface scenario: open
SAR with a configuration that has no hardware interface, and fail
unless it offers at least two inputs and two outputs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Without a hardware interface (first run, or after the selected driver
failed to load), SAR offered one mono input and one mono output. Live
("only supports audio devices that have at least one stereo output")
and Reason refuse such a device, so SAR's control panel was out of
reach until it was configured from another host. Offer two of each.

Also free the previous fake buffers when createBuffers is called again
instead of dropping the pointers.

Fixes #31, fixes #54.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@eiz-claude
eiz-claude added this pull request to stack #154 October 3, 2026 15:01
@eiz-claude eiz-claude changed the title mack/fix 54 stereo without interface SarAsio: offer a stereo pair when no hardware interface is selected (#31, #54) Oct 3, 2026
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

Successfully merging this pull request may close these issues.

2 participants