OSDN Git Service

Fixed C/C++ interworking problem in IAndroidEffect
authorEric Laurent <elaurent@google.com>
Wed, 15 Sep 2010 16:39:19 +0000 (09:39 -0700)
committerEric Laurent <elaurent@google.com>
Wed, 15 Sep 2010 17:45:55 +0000 (10:45 -0700)
commit88eb1c9e7a1a86e09fc7c56583414bb974873648
tree0068afade01292d453e1cca65ffb4f885a615131
parent81d6dbae0fa67e80b6aa3b6b886120c3aa4cb045
Fixed C/C++ interworking problem in IAndroidEffect

The IAndroidEffect structure contains a KeyedVector object
which constructor was not called when the structure was allocated.

The fix consists in changing the structure member to a pointer
to a KeyedVector and create the object from C++ code when the
object containing the IAndroidInterface is created (AudioPlayer
and OutputMix).

Change-Id: I328b4b61537ddb178b33427c6bad06678a29647a
opensles/libopensles/android_AudioPlayer.cpp
opensles/libopensles/android_Effect.cpp
opensles/libopensles/android_OutputMix.cpp
opensles/libopensles/sles_allinclusive.h