Skip to content

Phase3a add effects macro and use it for amplify - #911

Open
yara-blue wants to merge 14 commits into
masterfrom
phase3a
Open

Phase3a add effects macro and use it for amplify#911
yara-blue wants to merge 14 commits into
masterfrom
phase3a

Conversation

@yara-blue

@yara-blue yara-blue commented Jul 30, 2026

Copy link
Copy Markdown
Member

review after #910

Tracking issue: #901

Now that we have three source traits we can implement effects for it no longer makes sense to have those effects live in /src/source. This is the start of moving them to src/effects.

We use a macro to (usually) define the effect once and get three structs and implementations.

To keep this PR reviewable this only uses this macro for amplify. To get more context see: https://github.com/RustAudio/rodio-experiments.

Note amplify has also been changed. We used to have three different amplify methods now we have one and the logic is all in a new Factor struct which amplify requires.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant