AuburnSounds / AuburnSounds/Dplug

Lack of AU destruction in one of the two AU APIs

Open
#925 3 comments 0 reactions 0 assignees View on GitHub
Bug
Dominant language
D
Stars
564
Forks
34
PR merge metrics
No merged PRs in 30d

Description

```
if (select == kComponentCloseSelect) // -2
{
destroyFree(cast(void*)this); // free all resources except the runtime
releaseAUFunctions();
return noErr;
}
```

I'm not sure why it's cast to void*, probably the former destruction code would work but not the newer.

Contributor guide

Open the contributing guide

Research direction

Compare the two AU API destruction paths, starting with the kComponentCloseSelect branch shown in the issue. Check why this path uses destroyFree(cast(void*)this) before releaseAUFunctions(), and verify that both APIs consistently destroy resources and release AU functions.

Written by the indexing model from the issue text.

Assessment

Domain
audio-video-rtc
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.