Monday, August 8, 2011

DVCHDPROAudio.plugin Console Error

I'm sure you've seen it if you've ever launched your Console and looked at All Messages. Something like:

8/8/11 12:50:03 AM Mail[212] Error loading /Library/Audio/Plug-Ins/HAL/DVCPROHDAudio.plugin/Contents/MacOS/DVCPROHDAudio:  dlopen(/Library/Audio/Plug-Ins/HAL/DVCPROHDAudio.plugin/Contents/MacOS/DVCPROHDAudio, 262): no suitable image found.  Did find:
/Library/Audio/Plug-Ins/HAL/DVCPROHDAudio.plugin/Contents/MacOS/DVCPROHDAudio: no matching architecture in universal wrapper

You'll see it for VLC, Mail, loginwindow, SustemUIServer, UserEventAgent and a bunch of other stuff.

You don't need it. Or at the very least, it's highly unlikely you'll need it.

So what to do? Since Apple has never really clarified what's going on here and it's a LONG STANDING bug/error/incompatibility and older versions can't even load on Intel machines (there is a universal version from 2007 of the plugin) I went to where it was, zipped it, trashed the original and left the zip file sitting there.

It's located in /Library/Audio/Plug-Ins/HAL

What is this thing anyway, you ask?

I think it's a USB driver for 1:1 audio connections that apps like Reason, Audacity, Cubase and Logic use; or at least used to.

If you want to poke around the file you can take a look at it in the Terminal: copy and paste in:

ls -IR /Library/Audio/Plug-Ins/HAL/DVCPROHDAudio.plugin

and you'll see some helpful-ish information:

drwxrwxr-x  6 root  admin  204 Apr 20  2007 Contents

total 24
-rw-rw-r--  1 root  admin  1258 Mar 30  2007 Info.plist
drwxrwxr-x  3 root  admin   102 Apr 20  2007 MacOS
-rw-rw-r--  1 root  admin     9 Mar 30  2007 PkgInfo
-rw-rw-r--  1 root  admin   514 Apr 20  2007 version.plist

total 2456
-rwxrwxr-x  1 root  admin  1254748 Mar 30  2007 DVCPROHDAudio

So it's not a permission's issue.

Then you can try: (again, copy and paste into the Terminal)

file /Library/Audio/Plug-Ins/HAL/DVCPROHDAudio.plugin/Contents/MacOS/DVCPROHDAudio

and you'll see some slightly more helpful things like:

/Library/Audio/Plug-Ins/HAL/DVCPROHDAudio.plugin/Contents/MacOS/DVCPROHDAudio: Mach-O universal binary with 2 architectures
/Library/Audio/Plug-Ins/HAL/DVCPROHDAudio.plugin/Contents/MacOS/DVCPROHDAudio (for architecture ppc): Mach-O bundle ppc
/Library/Audio/Plug-Ins/HAL/DVCPROHDAudio.plugin/Contents/MacOS/DVCPROHDAudio (for architecture i386): Mach-O bundle i386

So, hey, at least the version you may or may not have is Universal.

And you can even right-click on it and Show Package Contents and dig around. You can open the DVCPROHDAudio file in Contents/MacOS with something like Hex Fiend and confirm that it's an audio driver for some obscure and some fairly outdated stuff.

Bottom line is you'll know if you need it. If you don't know, then you don't need it and likely never will. For my system it seems okay to zip the original package in the HAL folder and trash the original plug-in. This way it won't load (because it's not a .plugin file) and should the occasion arise when you do need it, just double click it to unzip it right where it needs to be.