Airpods Max not working when plugged in
I bought the 3.5mm to lighting cable adapter for my Airpods Max to make sure there was no audio delay when running certain applications. It worked fine for a week or so, but then suddenly my computer suddenly stopped detecting that anything was even plugged in. Bluetooth, however, works fine. I've tried factory resetting them, resetting drivers, pairing in sound settings, but nothing has worked. Could this be an issue with the cable or the headphones itself, as it does not seem to be a problem with the computer.
Thanks