-
Notifications
You must be signed in to change notification settings - Fork 0
Add support for Volume FX and BASSLoud #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for Volume FX and BASSLoud #1
Conversation
This reverts commit ce4a631.
Fix `ChannelReferences` attempting JIT compilation on .NET iOS
| /// <summary> | ||
| /// BassLoud add-on: Loudness in LUFS of the last 400ms or the duration (in milliseconds) specified in the HIWORD | ||
| /// </summary> | ||
| BassLoudnessCurrent = 0, | ||
|
|
||
| /// <summary> | ||
| /// BassLoud add-on: Integrated loudness in LUFS. This is the average since measurement started. | ||
| /// </summary> | ||
| BassLoudnessIntegrated = 1, | ||
|
|
||
| /// <summary> | ||
| /// BassLoud add-on: Loudness range in LU. | ||
| /// </summary> | ||
| BassLoudnessRange = 2, | ||
|
|
||
| /// <summary> | ||
| /// BassLoud add-on: Peak level in linear scale. | ||
| /// </summary> | ||
| BassLoudnessPeak = 4, | ||
|
|
||
| /// <summary> | ||
| /// BassLoud add-on: True peak level in linear scale. | ||
| /// </summary> | ||
| BassLoudnessTruePeak = 8, | ||
|
|
||
| /// <summary> | ||
| /// BassLoud add-on: Automatically free the measurement when the channel is freed. | ||
| /// </summary> | ||
| BassLoudnessAutofree = 0x8000, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- broken indentation
- bit flag enums should use compile-time constant expressions with bit shifts or hex/binary literals
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Addressed 1
The rest of the file doesn't seem to do 2, I believe that we should stay consistent. Either we change everything, or nothing.
Remove BASS_Loudness from names and change to PascalCase
Changed these for internal testing and forgot to revert, oops
the project fails to load otherwise (i have no idea why lol)
|
BassLoud support has been merged into upstream ManagedBass#124 There are some differences (mainly with the function names) between the BassLoud bindings in this PR and upstream. Should we switch to match upstream or continue with our implementation? |
|
We should probably just use upstream. |
|
I'll close this PR and create a new one getting this fork up to date with upstream. There's a couple of changes I want to make to upstream as well, so I'll submit those. |
Prerequisite for ppy/osu#27793
Adds support for Volume Fx and Bassloud. Merges ManagedBass#124 and ManagedBass#121 with some custom bug fixes and patches to make them work. Also gets this branch up to date with ManagedBass master. Tested and works on MacOS and Windows
Another prerequisite for my PR is updated
ppy.ManagedBass.*nuget packages, so if you can, please upload updated versions of the following packages if & when this gets merged: