Skip to content

feat: Decouple equalizer_presets_count from equalizer_presets - #423

Merged
Sapd merged 3 commits into
Sapd:masterfrom
bwachtendorf:master
Oct 29, 2025
Merged

feat: Decouple equalizer_presets_count from equalizer_presets#423
Sapd merged 3 commits into
Sapd:masterfrom
bwachtendorf:master

Conversation

@bwachtendorf

@bwachtendorf bwachtendorf commented Oct 8, 2025

Copy link
Copy Markdown
Contributor

Changes made

I decoupled equalizer_presets_count from equalizer_presets, so I could select all profiles on my Audeze Maxwell headset.
The only downsides of this implementation (as I can see right now) are:

  • input validation of --equalizer-preset is open-ended now
  • requires "hardcoding" equalizer_presets_count for each device with preset support

This would also solve #415.

An alternative to "hardcoding" equalizer_presets_count would be to implement dummy presets for Audeze Maxwell and count those like it was done until now.

Checklist

  • I adjusted the README (if needed)
  • For new features in HeadsetControl: I discussed it beforehand in Issues or Discussions and adhered to the wiki

@Sapd

Sapd commented Oct 29, 2025

Copy link
Copy Markdown
Owner

Ah I think I rebased and you pushed something at the same time.

Note that your profile is not linked in the commits because you probably dont have that email address in the commit in the GitHub profile

@Sapd

Sapd commented Oct 29, 2025

Copy link
Copy Markdown
Owner

From my side it's ready. Tell me if its fine from your side to also merge.

@bwachtendorf

Copy link
Copy Markdown
Contributor Author

I did not push anything. I was about to push the linting fixes but you were faster than me.

I understand now how I could have implemented the input validation, but at the time I could not find a suitable place to put it. As for the warning, I wanted to fix it before making the PR but forgot.

Otherwise it looks good to me and still works with my Audeze Maxwell headset.

@Sapd
Sapd merged commit e75607d into Sapd:master Oct 29, 2025
4 of 5 checks passed
@Sapd

Sapd commented Oct 29, 2025

Copy link
Copy Markdown
Owner

I did not push anything. I was about to push the linting fixes but you were faster than me.

Thank you! Was probably misreading something during push.

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.

2 participants