Audio cutting out at certain points
When I asked this question, I only had one option in the audio output devices list in my audio preferences. When I went back some time later, I noticed an option called [someone's name] - Macbook Air. I accidentally clicked it, and quickly set the setting back to my headphones. This seems to have fixed the problem.