jamulussoftware / jamulussoftware/jamulus

Reduce calls to Init() in sound drivers

Open
#3,892 8 comments 0 reactions 0 assignees View on GitHub
refactoring
Dominant language
C
Stars
1.1k
Forks
248
Avg merge
2d 3h
Merged PRs (30d)
9

Description

**Description**

Findings from the last ASIO4ALL bug fix showed that the Init() function might be called 4 times in the ASIO backend. This feels inefficient. I remember that iOS even refused to start due to having too many audio initialization calls.
We might need to rethink the sound design - not now but for after the review freeze.

Contributor guide

Open the contributing guide

Research direction

Start by tracing the Init() calls in the ASIO backend and reviewing the iOS startup path mentioned in the issue. Identify why initialization can occur four times and define the expected single initialization lifecycle; done means redundant calls are reduced without preventing ASIO4ALL or iOS audio from starting.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
audio-video-rtc
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.