Skip to content

fix(audio): Synchronize buffer size and sample rate across all compon…#709

Merged
braedonsaunders merged 1 commit intoclaude/build-openstudio-app-kgia5from
claude/remove-unused-import-KfbWA-U2eAk
Jan 6, 2026
Merged

fix(audio): Synchronize buffer size and sample rate across all compon…#709
braedonsaunders merged 1 commit intoclaude/build-openstudio-app-kgia5from
claude/remove-unused-import-KfbWA-U2eAk

Conversation

@braedonsaunders
Copy link
Owner

…ents

This fix addresses the issue where buffer size and sample rate settings were not synchronized between the web UI, native bridge, and TUI:

  1. Native bridge now sends DeviceConfig message back to browser when buffer size or sample rate changes, confirming the actual values

  2. Native bridge now sends DeviceInfo event to TUI when settings change, so the TUI display updates in real-time

  3. Changed default buffer size from 128 to 256 samples (matching web UI default)

  4. Added helper methods to AudioEngine:

    • get_input_device_id()
    • get_output_device_id()
    • get_channel_config()
  5. Web frontend now listens for deviceConfig events and updates the store with confirmed values from native bridge

This ensures all components show consistent values and the audio engine actually uses the settings the user selected.

…ents

This fix addresses the issue where buffer size and sample rate settings
were not synchronized between the web UI, native bridge, and TUI:

1. Native bridge now sends DeviceConfig message back to browser when
   buffer size or sample rate changes, confirming the actual values

2. Native bridge now sends DeviceInfo event to TUI when settings change,
   so the TUI display updates in real-time

3. Changed default buffer size from 128 to 256 samples (matching web UI default)

4. Added helper methods to AudioEngine:
   - get_input_device_id()
   - get_output_device_id()
   - get_channel_config()

5. Web frontend now listens for deviceConfig events and updates the store
   with confirmed values from native bridge

This ensures all components show consistent values and the audio engine
actually uses the settings the user selected.
@vercel
Copy link

vercel bot commented Jan 6, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
openstudio Ready Ready Preview, Comment Jan 6, 2026 1:18am

@braedonsaunders braedonsaunders merged commit 557d47b into claude/build-openstudio-app-kgia5 Jan 6, 2026
2 checks passed
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