Skip to content

Official Linux AppImage has ~1–2s audio latency on PipeWire, locally built binary does not #173

Description

@A-netrunner

The official Linux appImage introduces approximately 1–2 seconds of audio latency when using AndroidMic over USB (ADB).

Building the exact same source locally with:

cargo build --release

produces a binary with negligible latency, comparable to Windows.

This appears to be specific to the official appImage, not the source code

Environment

  • AndroidMic Desktop: 2.2.8 appImage
  • Android App: 2.2.8 (locally built)
  • OS: CachyOS (Arch Linux)
  • Desktop: KDE Plasma
  • Audio: PipeWire 1.6.8
  • Connection: USB (ADB)

Expected behavior :

Latency should be similar to the Windows version (very low).

Actual behavior :

The official appImage has approximately 1–2 seconds of microphone delay.

i changed cargo.toml : cpal = { version = "0.18.1", features = [ "pipewire"] }

When i try to select pipewire in AppImage build i couldn't also i tried it on x.x.6 to x.x.8 same audio delay but that graph in app was taking audio accurately,

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions