[macOS] Wire is constantly keeping coreaudiod alive, wasting a huge amount of battery

Open
#598 15 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
electron, macos, typescript

Research direction

Reproduce this on macOS by running Wire while monitoring coreaudiod in the system monitor, then compare its CPU usage after Wire exits. Trace the desktop audio-handling path to identify what keeps coreaudiod active; done means Wire no longer sustains the reported CPU load while active.

Written by the indexing model from the issue text.

Description

platform: macOS 🍏 type: bug / fix 🐞

There seems to be a bug when handling audio. According to the system monitor, coreaudiod constantly uses around 8% cpu as long as wire is active. Killing wire immediately fixes the problem, reducing the load to 0.

So something seems to be fishy with the way wire handles audio. Would be great if this could be looked into.

Dominant language
TypeScript
Stars
1.1k
Forks
236
Avg merge
6h 49m
Merged PRs (30d)
18

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from wireapp/wire-desktop

All issues in wireapp/wire-desktop

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.