Skip to content

vhost-device-sound: update format when pipewire has been released #856

@MatiasVara

Description

@MatiasVara

@nicholasdezai found that the format is not correctly setup in line:

audio_info.set_format(AudioFormat::S16LE);

This shall be fixed in next pw release that includes https://gitlab.freedesktop.org/pipewire/pipewire-rs/-/merge_requests/226/diffs. The fix would look like:

audio_info.set_format(AudioFormat(info.format));

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions