Revert "Creating two functions from duplicated code"

This reverts commit 59b4cefd53bab74cc95d708e04616aafb3dc0f97.

Conflicts:
headphones/postprocessor.py

Reverting PP changes