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

Error when trying to use PulseAudio's null sink as input/output device #913

Open
2 tasks done
heather7283 opened this issue Aug 27, 2023 · 0 comments
Open
2 tasks done
Labels
bug Something isn't working

Comments

@heather7283
Copy link

Describe the bug

Real time conversion in a GUI doesn't work when I'm trying to use PulseAudio's null sinks as input or output devices. The only configuration that works for me is when both input and output devices are set to "default (ALSA)".
My OS is Arch Linux and I'm using pipewire.

To Reproduce

  1. Have a Linux machine with pipewire installed
  2. Create new null sink with pactl load-module module-null-sink media.class=Audio/Sink sink_name=VirtualAudioDevice1 channel_map=stereo rate=48000 format=s32le
  3. Run svcg, select model and config files
  4. Select "VirtualAudioDevice1" as output device
  5. Click "(Re)Start Voice Changer"
  6. Get one of the following errors:
    sounddevice.PortAudioError: Error opening Stream: Illegal combination of I/O [PaErrorCode -9993]
    sounddevice.PortAudioError: Error opening Stream: Invalid sample rate [PaErrorCode -9997]

Additional context

pactl info:

Server String: /run/user/1000/pulse/native
Library Protocol Version: 35
Server Protocol Version: 35
Is Local: yes
Client Index: 968
Tile Size: 65472
User Name: heather
Host Name: FA506IH
Server Name: PulseAudio (on PipeWire 0.3.78)
Server Version: 15.0.0
Default Sample Specification: float32le 2ch 48000Hz
Default Channel Map: front-left,front-right
Default Sink: alsa_output.pci-0000_05_00.6.analog-stereo
Default Source: alsa_input.pci-0000_05_00.6.analog-stereo
Cookie: 5077:1ce5

pactl list short sinks:

51      alsa_output.pci-0000_05_00.6.analog-stereo      PipeWire        s32le 2ch 48000Hz       RUNNING
649     VirtualAudioDevice1     PipeWire        s32le 2ch 48000Hz       IDLE

Version

4.1.1

Platform

Arch Linux

Code of Conduct

  • I agree to follow this project's Code of Conduct.

No Duplicate

  • I have checked existing issues to avoid duplicates.
@heather7283 heather7283 added the bug Something isn't working label Aug 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant