summaryrefslogtreecommitdiffstats
path: root/services/audioflinger
diff options
context:
space:
mode:
authorBumble-Bee <bigbeeshane@gmail.com>2012-11-29 16:26:40 +0000
committerAaron Echols <atechols@gmail.com>2012-12-14 14:52:08 -0700
commit87dc005928a231a6809a588ae84ed98e0313b170 (patch)
tree5a48e13d346d998b4b486db854042f9c91e23b59 /services/audioflinger
parent24fbad88bc04fb6c31ef8880dac815f6d360041a (diff)
downloadframeworks_av-87dc005928a231a6809a588ae84ed98e0313b170.zip
frameworks_av-87dc005928a231a6809a588ae84ed98e0313b170.tar.gz
frameworks_av-87dc005928a231a6809a588ae84ed98e0313b170.tar.bz2
Allow JB_MR0 Audio prebuilts to load
Usage : add "COMMON_GLOBAL_CFLAGS += -DMR0_AUDIO_BLOB" to BoardConfig.mk
Diffstat (limited to 'services/audioflinger')
-rw-r--r--services/audioflinger/AudioFlinger.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/audioflinger/AudioFlinger.cpp b/services/audioflinger/AudioFlinger.cpp
index d811c23..1ce47a3 100644
--- a/services/audioflinger/AudioFlinger.cpp
+++ b/services/audioflinger/AudioFlinger.cpp
@@ -206,7 +206,7 @@ static int load_audio_interface(const char *if_name, audio_hw_device_t **dev)
if (rc) {
goto out;
}
-#ifndef ICS_AUDIO_BLOB
+#if !defined(ICS_AUDIO_BLOB) && !defined(MR0_AUDIO_BLOB)
if ((*dev)->common.version != AUDIO_DEVICE_API_VERSION_CURRENT) {
ALOGE("%s wrong audio hw device version %04x", __func__, (*dev)->common.version);
rc = BAD_VALUE;