am 481c4b64: Merge "Fix class vs. struct mismatch"
* commit '481c4b641ea7d210396f16478c486cabf51db879': Fix class vs. struct mismatch
This commit is contained in:
@@ -193,7 +193,7 @@ bool AudioPlayer::init(const char* config)
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
void AudioPlayer::playFile(struct FileMap* fileMap) {
|
void AudioPlayer::playFile(FileMap* fileMap) {
|
||||||
// stop any currently playing sound
|
// stop any currently playing sound
|
||||||
requestExitAndWait();
|
requestExitAndWait();
|
||||||
|
|
||||||
|
|||||||
@@ -18,6 +18,7 @@
|
|||||||
#define _BOOTANIMATION_AUDIOPLAYER_H
|
#define _BOOTANIMATION_AUDIOPLAYER_H
|
||||||
|
|
||||||
#include <utils/Thread.h>
|
#include <utils/Thread.h>
|
||||||
|
#include <utils/FileMap.h>
|
||||||
|
|
||||||
namespace android {
|
namespace android {
|
||||||
|
|
||||||
@@ -28,7 +29,7 @@ public:
|
|||||||
virtual ~AudioPlayer();
|
virtual ~AudioPlayer();
|
||||||
bool init(const char* config);
|
bool init(const char* config);
|
||||||
|
|
||||||
void playFile(struct FileMap* fileMap);
|
void playFile(FileMap* fileMap);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
virtual bool threadLoop();
|
virtual bool threadLoop();
|
||||||
@@ -39,7 +40,7 @@ private:
|
|||||||
int mPeriodSize;
|
int mPeriodSize;
|
||||||
int mPeriodCount;
|
int mPeriodCount;
|
||||||
|
|
||||||
struct FileMap* mCurrentFile;
|
FileMap* mCurrentFile;
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace android
|
} // namespace android
|
||||||
|
|||||||
@@ -30,7 +30,7 @@
|
|||||||
namespace android {
|
namespace android {
|
||||||
|
|
||||||
struct IMediaHTTPService;
|
struct IMediaHTTPService;
|
||||||
struct MetaData;
|
class MetaData;
|
||||||
struct NuMediaExtractor;
|
struct NuMediaExtractor;
|
||||||
|
|
||||||
struct JMediaExtractor : public RefBase {
|
struct JMediaExtractor : public RefBase {
|
||||||
|
|||||||
@@ -24,8 +24,8 @@
|
|||||||
|
|
||||||
namespace android {
|
namespace android {
|
||||||
|
|
||||||
struct IMemory;
|
class IMemory;
|
||||||
struct MemoryDealer;
|
class MemoryDealer;
|
||||||
|
|
||||||
struct JMediaHTTPConnection : public RefBase {
|
struct JMediaHTTPConnection : public RefBase {
|
||||||
enum {
|
enum {
|
||||||
|
|||||||
Reference in New Issue
Block a user