First, I took off the back cover to see if that was part of the issue, audio continued to cut out.
Then I removed the usb port/headphone jack. The issue continues.
I removed the battery and main board, found no issues, put it back together and the issue continues.
I removed the pogo pins in case something crazy there was going on, but that did nothing.
I formated system/data/cache and reinstalled CM, and the issue continues.
The crazy thing is, bluetooth audio works fine, even though if you connect a headset, it takes precedence and cuts out the audio.
Any suggestions on how to fix this are welcome. Thank you