summaryrefslogtreecommitdiff
path: root/cmds/bootanimation/BootAnimation.h
diff options
context:
space:
mode:
authorGeoffrey Pitsch <gpitsch@google.com>2016-07-12 17:29:55 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2016-07-12 17:29:56 +0000
commit859029ff7b87087e5e70a087a75bac5836f41a22 (patch)
tree2fd046e76c40949500346ccee9d7c32cebe119ce /cmds/bootanimation/BootAnimation.h
parent50752f7391a4fd299da1f1b3af1fe58dd4381426 (diff)
parentd6d9a1d0b9cf6fa740d9fe410015b094475c5a4c (diff)
Merge "OpenSL-based audio support for BootAnimation" into nyc-mr1-dev
Diffstat (limited to 'cmds/bootanimation/BootAnimation.h')
-rw-r--r--cmds/bootanimation/BootAnimation.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/cmds/bootanimation/BootAnimation.h b/cmds/bootanimation/BootAnimation.h
index 85724f46d9d6..a53216eb0310 100644
--- a/cmds/bootanimation/BootAnimation.h
+++ b/cmds/bootanimation/BootAnimation.h
@@ -30,7 +30,6 @@ class SkBitmap;
namespace android {
-class AudioPlayer;
class Surface;
class SurfaceComposerClient;
class SurfaceControl;
@@ -98,7 +97,8 @@ private:
SortedVector<Frame> frames;
bool playUntilComplete;
float backgroundColor[3];
- FileMap* audioFile;
+ uint8_t* audioData;
+ int audioLength;
Animation* animation;
};
int fps;
@@ -124,7 +124,6 @@ private:
void checkExit();
sp<SurfaceComposerClient> mSession;
- sp<AudioPlayer> mAudioPlayer;
AssetManager mAssets;
Texture mAndroid[2];
Texture mClock;