50 #ifndef FUSIONSOUNDAUDIOPROVIDER_H_
51 #define FUSIONSOUNDAUDIOPROVIDER_H_
53 #include "mb/interface/IContinuousMediaProvider.h"
54 #include "mb/interface/ISurface.h"
59 #include "fusionsound/fusionsound.h"
60 #include "directfb/direct/interface.h"
78 IFusionSoundMusicProvider* decoder;
79 IFusionSoundStream* stream;
80 IFusionSoundPlayback* playback;
81 pthread_mutex_t decMutex;
82 GingaScreenID myScreen;
86 static IFusionSound* _fsSound;
87 static bool _fsInitialized;
92 static void initialize(
int numArgs=0,
char* args[]=NULL);
94 virtual void setLoadSymbol(
string symbol);
95 virtual string getLoadSymbol();
97 bool getHasVisual(){
return false;};
98 static void release();
99 void* getProviderContent();
100 void setProviderContent(
void* content){};
101 virtual void setAVPid(
int aPid,
int vPid){};
102 virtual void feedBuffers(){};
103 virtual bool checkVideoResizeEvent(
ISurface*
frame){
return false;};
104 double getTotalMediaTime();
105 virtual int64_t getVPts(){
return 0;};
106 double getMediaTime();
107 void setMediaTime(
double pos);
112 void resume(
ISurface* surface,
bool hasVisual=
false);
115 void setSoundLevel(
float level);
116 void getOriginalResolution(
int* width,
int* height);
118 void refreshDR(
void* data){};
Definition: NetworkUtil.h:53
Definition: IContinuousMediaProvider.h:71
Definition: IProviderListener.h:59
Definition: FusionSoundAudioProvider.h:76
Definition: ISurface.h:64