My device uses the parallel LCD interface and doesn't use audio at all.
I'm using the SabreSD code as my starting point. I've left all of the HDMI code in and removed unneeded audio drivers from my config.
During boot I get the following output:
usbcore: registered new interface driver snd-usb-audio
mxc_hdmi_soc mxc_hdmi_soc.0: MXC HDMI Audio
imx-hdmi-soc-dai imx-hdmi-soc-dai.0: Failed: Load HDMI-video first.
Initialize HDMI-audio failed. Load HDMI-video first!
ALSA device list:
No soundcards found.
But since I'm using the Parallel LCD the HDMI video isn't loaded, I think.
Then in Logcat I get the following:
01-01 00:00:08.560: I/AudioPolicyManagerBase(2095): loadAudioPolicyConfig() loaded /system/etc/audio_policy.conf
01-01 00:00:08.580: E/audio_hw_primary(2095): no supported sound card found, aborting.
01-01 00:00:08.580: E/AudioFlinger(2095): int android::load_audio_interface(const char*, audio_hw_device_t**) couldn't open audio hw device in audio.primary (Invalid argument)
01-01 00:00:08.580: I/AudioFlinger(2095): loadHwModule() error -22 loading module primary
01-01 00:00:08.580: W/AudioPolicyManagerBase(2095): could not open HW module primary
01-01 00:00:08.580: I/audio_a2dp_hw(2095): adev_open: adev_open in A2dp_hw module
01-01 00:00:08.580: I/AudioFlinger(2095): loadHwModule() Loaded a2dp audio interface from A2DP Audio HW HAL (audio) handle 1
01-01 00:00:08.600: I/r_submix(2095): adev_open(name=audio_hw_if)
01-01 00:00:08.600: I/r_submix(2095): adev_init_check()
01-01 00:00:08.600: I/AudioFlinger(2095): loadHwModule() Loaded r_submix audio interface from Wifi Display audio HAL (audio) handle 2
01-01 00:00:08.600: I/AudioFlinger(2095): loadHwModule() Loaded usb audio interface from USB audio HW HAL (audio) handle 3
01-01 00:00:08.600: E/AudioPolicyManagerBase(2095): Not output found for attached devices 00000002
01-01 00:00:08.600: E/AudioPolicyManagerBase(2095): Failed to open primary output
01-01 00:00:08.600: E/AudioPolicyManagerBase(2095): getDeviceForStrategy() speaker device not found for STRATEGY_SONIFICATION
01-01 00:00:08.600: E/AudioPolicyManagerBase(2095): getDeviceForStrategy() speaker device not found for STRATEGY_SONIFICATION
01-01 00:00:08.600: E/AudioPolicyService(2095): couldn't init_check the audio policy (No such device)
Is there a simple way to remove all audio?