Skip to content

Disabling uclamp on demand / by user config #74

@marcan

Description

@marcan

The uclamp config works well for high buffer sizes using the internal speakers/mic. It doesn't once you start using other audio I/O devices, more complex graphs, and lower buffer sizes.

We need some way to disable the uclamp config. Ideally it should be something tunable at runtime that automatically tells all components (pipewire, wireplumber, pipewire-pulse) to switch off uclamp.

For autoconfig, one possible trivial signal to use would be whether there is any audio device configured with the Pro Audio profile which is active.

For a first shot, there should be some documented way to override the Asahi uclamp config with user configs. Right now I'm not sure if this is possible at all without touching system config files. I've been using uclampset at runtime but that's a hack.

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