Skip to content

API additions for duplex devices #29

Open
0 of 4 issues completed
Open

Description

@SolarLiner

Add APIs to allow duplex devices to be created and used. The current API is too centered on single-purpose (input xor output), and I think the best move forward is a separate API extension for drivers that support duplex devices, instead.

Sub-issues

Sub-issues

0 of 4 Issues completed
Loading 4 sub-issues

Activity

  1. added
    feature
    on Mar 16, 2025
  2. added this to the 0.1.0 milestone on Mar 16, 2025
  3. self-assigned this
    on Mar 16, 2025
  4. moved this from Todo to In Progress in Backlogon Mar 17, 2025
  5. added
    api
    duplex
    on Mar 17, 2025
  6. strohel commented on Oct 28, 2025

    @strohel
    Contributor

    FWIW pipewire should also support native duplex streams, per https://docs.pipewire.org/page_streams.html

    For more complicated nodes such as filters or ports with multiple inputs and/or outputs you will need to use the pw_filter or make a pw_node yourself and export it with pw_core_export.

    And the following C example concisely shows the usage: https://docs.pipewire.org/audio-dsp-filter_8c-example.html

    Unfortunately, pipewire-rs doesn't seem to wrap it yet: https://gitlab.freedesktop.org/pipewire/pipewire-rs/-/issues/29

  7. SolarLiner commented on Oct 29, 2025

    @SolarLiner
    OwnerAuthor

    Yeah I saw pw_filter, it was in my mind for supporting native duplex streams. This rearchitecture is turning to be a big change and is going to break everything anyway, I think I'll end up redesigning everything anyway, and bring on a few other new features at the same time (such as dyn-safe traits for dynamic dispatch)

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

Metadata

Metadata

Assignees

Labels

apiduplexfeature

Type

No type

Projects

  • Status
    In Progress

Relationships

None yet

Development

No branches or pull requests

Issue actions