summaryrefslogtreecommitdiffstats
path: root/cmds/bootanimation/AudioPlayer.h
diff options
context:
space:
mode:
authorBernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>2014-11-17 21:15:30 +0100
committerChih-Hung Hsieh <chh@google.com>2014-11-24 16:18:15 -0800
commit99d61edfda1f80d13f1f1c96fbec41278f3da709 (patch)
tree14233c90399e45c1f6dfc4aebd75d3b117384948 /cmds/bootanimation/AudioPlayer.h
parent613d20668a28f9dc970949c9efd2ca7f61bed6f4 (diff)
downloadframeworks_base-99d61edfda1f80d13f1f1c96fbec41278f3da709.zip
frameworks_base-99d61edfda1f80d13f1f1c96fbec41278f3da709.tar.gz
frameworks_base-99d61edfda1f80d13f1f1c96fbec41278f3da709.tar.bz2
Fix class vs. struct mismatch
Don't refer to classes as structs and view versa -- causes warnings in clang (in code built with -Werror) Change-Id: I4d7f461bcf6fe4e43a14ad2f28ee0e0ddea95abc Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
Diffstat (limited to 'cmds/bootanimation/AudioPlayer.h')
-rw-r--r--cmds/bootanimation/AudioPlayer.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/cmds/bootanimation/AudioPlayer.h b/cmds/bootanimation/AudioPlayer.h
index 7e82a07..1def0ae 100644
--- a/cmds/bootanimation/AudioPlayer.h
+++ b/cmds/bootanimation/AudioPlayer.h
@@ -18,6 +18,7 @@
#define _BOOTANIMATION_AUDIOPLAYER_H
#include <utils/Thread.h>
+#include <utils/FileMap.h>
namespace android {
@@ -28,7 +29,7 @@ public:
virtual ~AudioPlayer();
bool init(const char* config);
- void playFile(struct FileMap* fileMap);
+ void playFile(FileMap* fileMap);
private:
virtual bool threadLoop();
@@ -39,7 +40,7 @@ private:
int mPeriodSize;
int mPeriodCount;
- struct FileMap* mCurrentFile;
+ FileMap* mCurrentFile;
};
} // namespace android