I spent a bunch of time researching audio dropouts generally on OSX.
Wow. There's a litany of complaints about it, in all sorts of applications, ranging as far back as 10.3.1! It does look like there are a few things worth checking, though...
1. SMC Reset: Anyone who has this issue, it is worth trying the "catch all" miracle OSX cure:
SMC Reset. I found lots of examples of people having similar issues in all manner of applications (VLC, iTunes, web streaming, pro-audio apps, etc) where resetting SMC fixed it like magic.
That makes some kind of sense. SMC controls stuff like power management, idle performance, and stuff like that. It also persists even through clean installs, so if your SMC is borked, it won't be fixed by reinstalling the OS. It only takes a minute, and has very few side-effects.
2. NVRAM Reset: This is a tiny bit more "destructive" (but really not much). Macs store some other system settings in non-volatile PRAM. This actually has specifics about audio hardware (and video performance settings), and I read a number of reports of it helping people with similar issues over the years (and plenty where it didn't). Instructions:
https://support.apple.com/en-us/HT204063This does reset some things (mostly the system volume settings, and customized Startup Disk settings) so read through the Apple guide, but as long as you don't have a weird dual-boot setup, or very difficult to tweak monitor resolution settings, it should be basically harmless, and could help.
3. Thunderbolt Display: I've seen this myself at work, and I don't know why I didn't think to mention it before. If anyone has a Thunderbolt Display attached to their system... If you can, try it without the Thunderbolt display attached (hopefully it is a laptop) and see if the issue goes away. There have been all sorts of weird issues with Thunderbolt displays, but especially audio issues.
If you're using USB passthrough to connect a DAC to a USB port on the Thunderbolt display, it might help to use a USB port right on the Mac, but this isn't the only issue. There have been firmware updates to the Thunderbolt displays that fix many of these issue, but not all of them (and I think there are just bad ones out there).
We've RMA'd those Thunderbolt displays at work like it is our job. Actually, it is, but... In any case, if you can at all test it without the Thunderbolt Display attached, try it.
4. Outstanding Firmware Updates? There
have been firmware updates for a number of Macs, including 2011 Macbook Pros (which I believe is the model Brian is using in this thread),
specifically related to audio drop outs and other quality issues.
Make sure you've applied any outstanding Firmware updates. You can check yours here:
https://support.apple.com/en-us/HT201518It is possible (I've seen it myself) that the updates could no longer show in Software Update under certain conditions. But, if they weren't ever successfully applied, you can manually download them using that article.
5. Pull up the Console monitor: And watch the log messages as they go by. Do you see anything while it happens? In particular, any kernel messages about IOAudioStream?
That could lead to clues, and it seemed that a bunch of people with issues in older OS revisions were seeing this behavior with VLC and iTunes.
6. Repair Disk Permissions: This is a bit of a long-shot, but is worth throwing out there. I mentioned before fsck, but I didn't specifically mention repairing disk permissions. This is usually voodoo, but it basically never hurts, and will almost always find some kind of issue to fix (in my experience). I did, while searching tonight, find a few people who reported similar issues were fixed (again, in other applications) by running permissions repair.
Don't know why that'd be the case, but you never know.
7. AVID Plugin of Evil: This is a super-longshot, but there is an AVID plugin that gets installed with certain codecs and applications that is known to cause audio stuttering and drop-outs under Yosemite. If you have this on your system:
/Library/Audio/Plug-Ins/HAL/Avid CoreAudio.pluginCopy it elsewhere, reboot, and see if the issue is solved.
Probably only applies to people using pro-audio applications (ProTools and Media Composer), but worth mentioning.