-
Notifications
You must be signed in to change notification settings - Fork 15
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 No_Hardware as HardwareType to disable radio audio effects #161
Conversation
Thank you! It's a good idea to put this option in the hardware type, unfortunately this is not how you disable realistic audio effects, so your PR on afv-native is also not correct and won't be merged, there are already functions in afv-native that allow you to disable the effects, namely "SetEnableInputFilters" and "SetEnableOutputEffects" which should both be set to false. If you want to tweak your PR I'll be happy to review it, otherwise I plan to implement this in the next releases. |
# Conflicts: # src/renderer/src/components/settings-modal/settings-modal.tsx
I changed the implementation to use the "SetEnableInputFilters" and "SetEnableOutputEffects", but I was unable to test them, because I was unable to build and check the changes because of the following error. Maybe you have an advice what is going on, or can test it yourself. LINK : fatal error LNK1104: cannot open file 'PocoFoundationmt.lib' [S:\Develop_Projects\TrackAudio\backend\build\extern\afv-native\afv_native.vcxproj] |
Yes that's an issue on main on windows at the moment, sorry about that, we will fix it soon. Thank you for the update to the PR, I will review your code. |
You should be able to build now. |
The build is now possible, and the setting is working, but the flags do not prevent the radio effects. |
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.
In addition to my specific line comments, you also need to update the default configuration so the default value for the new setting is specified.
Did not fully read in but you need to make sure you set those flags on connection and not only when updating the settings. AFV has no concept of a settings file, so you need to set everything before connecting |
Agree with @pierr3's comment. You probably want to set the settings in this method. It seems to be the shared function that gets called in various places when there's a need to ensure the audio settings are correct. |
And add radioEffects to defaultConfiguration and SetRadioEffects to the setAudioSettings
Change requests should know all be done. |
Looks like the latest change has a build failure as well:
|
The lower case build issue is now fixed. If there is a better way, tell me and I will use it. |
Well done! Thank you for your help |
This pull requests add the hardwareTypeIndex to the "No_Hardware" type of the HardwareType enum and the "No Hardware (Real Radio Affects disabled)" option with value 3 to the hardware select of the settings-modal.tsx, to make it possible to disable radio affects in TrackAudio.
This pull request shall implement the issue: #156
This pull request is dependent on the afv-native pull request: pierr3/afv-native#13