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

Voice Input Error: Failed to initialize ALSA PCM capture device #5853

Open
JohnBaptist42 opened this issue Feb 18, 2025 · 0 comments
Open

Voice Input Error: Failed to initialize ALSA PCM capture device #5853

JohnBaptist42 opened this issue Feb 18, 2025 · 0 comments

Comments

@JohnBaptist42
Copy link

Description

The voice input feature is failing to initialize the microphone in Warp Terminal.

Current Behavior

  • Voice input shows 'Failed to start voice input' error message
  • No microphone dropdown/selection menu is available
  • ALSA PCM capture device fails to initialize
  • Error log: 'ALSA function snd_pcm_hw_params_set_buffer_size failed with error Invalid argument (22)'

Environment

  • Operating System: Linux (Arch Linux)
  • Warp Version: v0.2025.02.12.16.51.stable_03
  • Audio System: PipeWire/PipeWire-Pulse

Steps to Reproduce

  1. Enable voice input feature in Warp
  2. Attempt to start voice input
  3. Error appears immediately

Additional Information

  • PipeWire and PipeWire-Pulse services are running correctly
  • User has proper audio group permissions
  • Microphone works correctly in other applications
  • The feature is powered by Whisperflow, which appears to be missing or not properly integrated

Error Log

2025-02-18T19:00:40Z [ERROR] Failed to start voice input: A backend-specific error has occurred: ALSA function 'snd_pcm_hw_params_set_buffer_size' failed with error 'Invalid argument (22)'

Requested Changes

  1. Proper installation/integration of Whisperflow service
  2. Implementation of microphone selection dropdown
  3. Fix for ALSA PCM buffer size configuration

Impact

Voice input functionality is completely unavailable, preventing users from using this feature.

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

No branches or pull requests

1 participant