summaryrefslogtreecommitdiffstats
path: root/opensles/libopensles/IEngine.c
diff options
context:
space:
mode:
Diffstat (limited to 'opensles/libopensles/IEngine.c')
-rw-r--r--opensles/libopensles/IEngine.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/opensles/libopensles/IEngine.c b/opensles/libopensles/IEngine.c
index 33a33144..a40de1f2 100644
--- a/opensles/libopensles/IEngine.c
+++ b/opensles/libopensles/IEngine.c
@@ -162,6 +162,7 @@ static SLresult IEngine_CreateAudioPlayer(SLEngineItf self, SLObjectItf *pPlayer
this->mAudioTrack = NULL;
// placement new (explicit constructor)
(void) new (&this->mSfPlayer) android::sp<android::SfPlayer>();
+ (void) new (&this->mAuxEffect) android::sp<android::AudioEffect>();
#endif
// Check the source and sink parameters against generic constraints,