diff options
author | Bumble-Bee <bigbeeshane@gmail.com> | 2012-11-29 16:26:40 +0000 |
---|---|---|
committer | Aaron Echols <atechols@gmail.com> | 2012-12-14 14:52:08 -0700 |
commit | 87dc005928a231a6809a588ae84ed98e0313b170 (patch) | |
tree | 5a48e13d346d998b4b486db854042f9c91e23b59 /services/audioflinger | |
parent | 24fbad88bc04fb6c31ef8880dac815f6d360041a (diff) | |
download | frameworks_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.cpp | 2 |
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; |