BenParz, i can't thank you enough for this! the choppy audio after installing Viper was making me crazy.
I'm running Lineage OS 05/18/2019 + nano gaaps
After mess around with this modules i got other way:
1 . Install Audio Compatibility Patch. It now comes with a multi-option installer, so you want to Select NO to the first option then choose Vol + (Patch New Logic). Select NO to the second option and then use Vol - (remove Volume Listener Library). This is done so that your audio won't crackle. You can skip USB Dac if you're not using it and you should choose NO at the last option (library workaround).
2. Download and install Viper4Android 2.7.1 Magisk Module here:
https://zackptg5.com/downloads/v4afx_v2.7.1.0.zip .
More info :
https://forum.xda-developers.com/android/apps-games/app-viper4android-fx-2-6-0-0-t3774651
3. Fix BT:
a. Rename "audio_policy_configuration.xml" in "/sbin/.magisk/img/acp/system/vendor/etc/audio" to "audio_policy_configuration.xml.bak".
b. Copy the audio policy configuration xml file from "/sbin/.magisk/img/acp/system/etc" to "/sbin/.magisk/img/acp/system/vendor/etc/audio".
4. Go to ViperFx and install drivers, Viper will auto Reboot!
I'm probably cutting some corners here, but i got no problems at all this far.