Skip to content

Pulse driver does not work with the pipewire shim #9

Description

@ckcr4lyf

I am on Arch Linux, trying to use this with pulse. I am getting errors if I try and use it (though I am technically on pipewire).

System:

$ uname -a
Linux arch 6.3.9-arch1-1 #1 SMP PREEMPT_DYNAMIC Wed, 21 Jun 2023 20:46:20 +0000 x86_64 GNU/Linux

$ pacman -Qi pipewire
Name            : pipewire
Version         : 1:0.3.72-1

$ pacman -Qi pulseaudio
Name            : pipewire-pulse
Version         : 1:0.3.72-1

$ pacman -Qi libpulse
Name            : libpulse
Version         : 16.1-6

Tried via:

$ ./target/debug/bardcast -d pulse -m peek
==================================
bardcast v0.1.1
(c) Paul Bonnen <hal7df@gmail.com>
==================================
2023-07-02T16:37:28.557+08:00 INFO  [bardcast::snd] Configured sound drivers: pulse
2023-07-02T16:37:28.570+08:00 INFO  [bardcast::snd::pulse] Connected to PulseAudio server
Runtime error: Sound driver failed to initialize: PulseAudio driver failed to initialize (PulseAudio error: Bad state)

$ ./target/debug/bardcast -d pulse -m monitor
==================================
bardcast v0.1.1
(c) Paul Bonnen <hal7df@gmail.com>
==================================
2023-07-02T16:37:33.209+08:00 INFO  [bardcast::snd] Configured sound drivers: pulse
2023-07-02T16:37:33.214+08:00 INFO  [bardcast::snd::pulse] Connected to PulseAudio server
2023-07-02T16:37:33.229+08:00 INFO  [bardcast::snd] Started application using driver 'pulse'
Segmentation fault (core dumped)

$ ./target/debug/bardcast -d pulse -m capture
==================================
bardcast v0.1.1
(c) Paul Bonnen <hal7df@gmail.com>
==================================
2023-07-02T16:38:06.474+08:00 INFO  [bardcast::snd] Configured sound drivers: pulse
2023-07-02T16:38:06.480+08:00 INFO  [bardcast::snd::pulse] Connected to PulseAudio server
Runtime error: Sound driver failed to initialize: PulseAudio driver failed to initialize (PulseAudio error: Bad state)

Let me know if there's anything I can do to help.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions