Simple workaround for Media Composer’s ADM_COREAUDIO_UNDERRUN error
• Exception: ADM_COREAUDIO_UNDERRUN, Detected:2147483648I’d hit the “OK” button, hit play again in the source window, and the error would happen again. And again. At this point Media Composer just wouldn’t let me play anything as it kept popping up audio errors each time I hit play.
It seemed likely to me that the audio output engine had gotten itself into an unstable state.
I like trying to guess what’s going on under the hood, as sometimes it helps point the way to a solution. Looking at the error, “ADM” probably means something like “Avid Device Manager”, “COREAUDIO” is an OS X framework for audio, and “UNDERRUN” might be the type of error coming from the Coreaudio framework, complaining that Media Composer isn’t feeding it enough audio sample data. A “buffer underrun”.
It’s as if the operating system is presenting the application with a spoon (AKA the “buffer”), the size of which is directly related to the sampling rate and bit depth of the audio output setting, and the application needs to exactly fill that spoon when presented in order for any sound to be output. Media Composer for whatever reason isn’t completely filling the spoon. Maybe it’s forgotten the size of the spoon, or needs its eyes checked.
Restarting the application would probably fix the problem, and barring that, restarting the computer might fix all. A bit of shallow net searching 1 comes up with those suggested solutions. I’ve found another way that requires no relaunches or reboots:
- Open /Applications/Utilities/Audio MIDI Setup.app
- If necessary, hit command-1 to open the “Audio Devices” window.
- Click to select the audio output device you’re using for Media Composer, in my case at this station it’s “Built-in Line Output”.
- In the pane at right, switch the output format from its current channel number and bit depth setting to one of the other options in that menu. Then change it back. In my case, I switch it from “2ch-24bit Integer” to “2ch-16bit Integer” and then back to “2ch-24bit Integer” (I want to leave it at 24bit, as that’s the bit depth of my project’s audio and I’d like to avoid having either Media Composer or Coreaudio have to waste effort doing any conversions).
- That’s it, you’re done. Now go back to Media Composer, hit play, and bask in the glory of functional audio output.
If I were to hazard a guess as to what’s going on inside Media Composer that makes this work it is that step 4, changing the audio output device’s bit depth, pulls the rug out from under Media Composer a bit. OS X likely informs the application that the bit depth for the Coreaudio output device has changed. Media Composer probably then closes its own internal output device object (managed by the aforementioned “ADM”) that had been connected to Coreaudio and then creates a new internal output device with the new settings and connects it to Coreaudio.So it’s kind of a reset of the application’s audio output system, and now it’s got a nice new empty set of spoons coming in, and once again knows their exact size. –Apologies to all at Avid if this isn’t correct, I’m just guessing.
A bit of google searching comes up with a similar error message afflicting those running Media Composer on Windows. I can’t offer up a solution for those unfortunate souls 2 , but I’d bet there’s a similar bit of OS-level audio setting rejiggering that will have a similar effect.
February 10th, 2016 at 11:50 am
amazing! works!! thanks so much for sharing this info. I was going nuts!
March 11th, 2016 at 4:44 am
You’re a rock star. Saving my deadline!
March 21st, 2016 at 5:26 am
I can’t believe this worked. Thank you so much.
March 27th, 2016 at 10:12 pm
Saved my life! Working through the night to a deadline and hit this error message. Great fix. Many many thanks!
June 17th, 2016 at 9:19 am
Thanks from Venezuela
January 11th, 2017 at 2:22 am
You and a gentleman and a scholar. Thank you so much!
April 3rd, 2018 at 10:15 am
THANK YOU!
December 15th, 2019 at 10:14 am
Thanksss hero, Saved me in 2019!!