In my device (Nokia 6.1 plus), when I plugin my earphone it makes noise only in Poweramp. After I found some problems on DVC. Then I change the DVC settings from ON to OFF then again I turned it into ON. Then only it works fine without noise. I found this same problem with other android pie devices. Is there any permanent solution for this?