Skip to content

linux no sound no errors using cpal and rodio #921

@davehorner

Description

@davehorner

hello,
I decided to checkout the latest ubuntu 24.10 release and I'm having trouble with rodio which relies on cpal.
RustAudio/rodio#173 (comment)

there are two example applications, one that is sdl2 based and another that just uses rdev. the examples work fine on windows.
on linux they are silent. or one example will work while the other does not.

I have quite a bit of time and detail in the notes referenced above. I've tested cpal via:
cargo run --example beep
I had the machine in a state where beep would be silent and exit without error. (while one of the samples worked!)
I rebooted and now beep is working and one sample works but the other does not. Both samples are ultimately using cpal so it is confusing.

I believe this is really something that should bubble up into ubuntu / pulseaudio / pipewire. The failing beep was transient and I would like to reproduce that again.

There are a number of errors that bubble up which I do not know how to resolve once installing pulseaudio and reinstalling pipewire.

I'm not sure the proper channels for going upstream and I'm still trying to nail things down but I would appreciate help closing rodio's 173

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions