diff options
author | Eric Laurent <elaurent@google.com> | 2013-10-04 08:36:52 -0700 |
---|---|---|
committer | Eric Laurent <elaurent@google.com> | 2013-10-04 08:42:21 -0700 |
commit | 385e7509eb563c983647e72b1232225c2200435f (patch) | |
tree | a6648133e77d801f1e686657d5a0f92b3d9e139e /media/libeffects | |
parent | 7bab024867996bec6dc4e3e31ed4570da9afbc25 (diff) | |
download | frameworks_av-385e7509eb563c983647e72b1232225c2200435f.zip frameworks_av-385e7509eb563c983647e72b1232225c2200435f.tar.gz frameworks_av-385e7509eb563c983647e72b1232225c2200435f.tar.bz2 |
fix offload audio effect proxy implementation uuid
The proxy implementation UUID should not be the NULL UUID as
AudioFlinger will reject effect creation if the AudioEffect
is constructed by passing the implementation UUID and not the
type UUID.
Bug: 11070481.
Change-Id: Ia9049d974e76303c5b63a607ee594b7dc1f182d4
Diffstat (limited to 'media/libeffects')
-rw-r--r-- | media/libeffects/proxy/EffectProxy.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/media/libeffects/proxy/EffectProxy.cpp b/media/libeffects/proxy/EffectProxy.cpp index b3304b7..dd4ad08 100644 --- a/media/libeffects/proxy/EffectProxy.cpp +++ b/media/libeffects/proxy/EffectProxy.cpp @@ -30,9 +30,10 @@ namespace android { // This is a dummy proxy descriptor just to return to Factory during the initial // GetDescriptor call. Later in the factory, it is replaced with the // SW sub effect descriptor +// proxy UUID af8da7e0-2ca1-11e3-b71d-0002a5d5c51b const effect_descriptor_t gProxyDescriptor = { EFFECT_UUID_INITIALIZER, // type - EFFECT_UUID_INITIALIZER, // uuid + {0xaf8da7e0, 0x2ca1, 0x11e3, 0xb71d, { 0x00, 0x02, 0xa5, 0xd5, 0xc5, 0x1b }}, // uuid EFFECT_CONTROL_API_VERSION, //version of effect control API (EFFECT_FLAG_TYPE_INSERT | EFFECT_FLAG_INSERT_LAST | EFFECT_FLAG_VOLUME_CTRL), // effect capability flags |