const static u1 MPEG1_PES = 3; // unused
const static u1 MP3 = 0; //media player
-#ifdef DEV
- virtual int test()=0;
-#endif
-
protected:
static Audio* instance;
int initted;
{
if (!initted) return 0;
- //test();
LogNT::getInstance()->debug(TAG, "reset called");
DeAllocateCodecsOMX();
return 1;
}
-#ifdef DEV
-int AudioOMX::test()
-{
- // u8 stc = 0;
- // return ioctl(fdAudio, AV_SET_AUD_STC, &stc);
-
- /* aud_sync_parms_t a;
- a.parm1 = 0;
- a.parm2 = 0;
- */
- // int b = ioctl(fdAudio, AV_SET_AUD_DISABLE_SYNC, &a);
-
-
- /*OK*/ //printf("Audio sync disable = %i\n", b);
-
- return 1;
-}
-#endif
-
unsigned int AudioOMX::AdvanceMpAudioSync(const u1* data, unsigned int size, unsigned int* framesize)
{
if (size <= 2) return size; // silly;
bool addOptionsToPanes(int panenumber, Options* options, WOptionPane* pane);
bool handleOptionChanges(Option* option);
-#ifdef DEV
- int test();
-#endif
-
private:
int initAllParams();
u1 streamType;
return vw->supportsAc3();
}
-#ifdef DEV
-int AudioWin::test()
-{
- return 0;
-}
-#endif
bool firstsynched;
long winvolume;
u1 aud_type;
-#ifdef DEV
- int test();
-#endif
};
#endif
virtual void turnVideoOff() {};
// virtual u8 frameNumberToTimecode(u4 timecode) { return 0; };//Obsolete and not HD compatible
-#ifdef DEV
- virtual int test() { return 0; }
- virtual int test2() { return 0; }
-#endif
-
int getMode() { return mode; }
u1 getFormat() { return format; }
u4 getScreenWidth() { return screenWidth; }
}
*/
-#ifdef DEV
-int VideoOMX::test()
-{
- return 0;
-
- // u8 stc = 0;
- // return ioctl(fdVideo, AV_SET_VID_STC, &stc);
- /*
- // reset();
- return 1;
- */
-}
-
-int VideoOMX::test2()
-{
- return 0;
-}
-#endif
long long VideoOMX::SetStartOffset(long long curreftime, bool* rsync)
{
bool addOptionsToPanes(int panenumber, Options *options, WOptionPane* pane);
bool handleOptionChanges(Option* option);
-#ifdef DEV
- int test();
- int test2();
-#endif
-
static inline OMX_TICKS intToOMXTicks(long long pts)
{
OMX_TICKS temp;
}
}
-#ifdef DEV
-int VideoWin::test()
-{
- return 0;
-}
-
-int VideoWin::test2()
-{
- return 0;
-}
-#endif
-
-
bool selectVideoH264Filter(int filter);
-#ifdef DEV
- int test();
- int test2();
-#endif
protected:
bool setVideoDisplay(VideoDisplay display) { vd = display; return true; };