]> git.vomp.tv Git - vompclient.git/commitdiff
Remove all #if DEV test() functions
authorChris Tallon <chris@vomp.tv>
Tue, 6 Aug 2024 16:20:29 +0000 (16:20 +0000)
committerChris Tallon <chris@vomp.tv>
Tue, 6 Aug 2024 16:20:29 +0000 (16:20 +0000)
src/audio.h
src/audioomx.cc
src/audioomx.h
src/audiowin.cc
src/audiowin.h
src/video.h
src/videoomx.cc
src/videoomx.h
src/videowin.cc
src/videowin.h

index 23948f6f33c95671b032125d0fc309447f36df32..e572721b858dfdc54c336c3ef4afd6be0c198bd1 100644 (file)
@@ -84,10 +84,6 @@ class Audio : public DrainTarget, public AbstractOption
     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;
index 12dc5afe4378ee277dbc8b296753e9443f7885ac..853db9ff00456cb9a852ebc455e777bea68493fe 100644 (file)
@@ -1694,7 +1694,6 @@ int AudioOMX::reset()
 {
   if (!initted) return 0;
 
-  //test();
   LogNT::getInstance()->debug(TAG, "reset called");
   DeAllocateCodecsOMX();
 
@@ -1745,25 +1744,6 @@ int AudioOMX::setVolume(int tvolume)
   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;
index 224c3dcd7968125ddd3259114b6cfcef38927beb..45b4f49d926ab05763ccc2e8974862fbf9fef01c 100644 (file)
@@ -95,10 +95,6 @@ class AudioOMX : public Audio
     bool addOptionsToPanes(int panenumber, Options* options, WOptionPane* pane);
     bool handleOptionChanges(Option* option);
 
-#ifdef DEV
-    int test();
-#endif
-
   private:
     int initAllParams();
     u1 streamType;
index fc4977d9cd86e99e3bf9d881570f4a0526ed0077..aabfb2d723214675e4c3117c21419885e3f1bd54 100644 (file)
@@ -716,12 +716,6 @@ bool AudioWin::supportsAc3(){
     return vw->supportsAc3();
 }
 
-#ifdef DEV
-int AudioWin::test()
-{
-  return 0;
-}
-#endif
 
 
 
index 8cc8a21d1f71b0426522621b4b2021a3492b970a..33658357107e4f08790e95faa86b4f6b9a43f57b 100644 (file)
@@ -108,9 +108,6 @@ private:
   bool firstsynched;
   long winvolume;
   u1 aud_type;
-#ifdef DEV
-    int test();
-#endif
 };
 
 #endif
index a77870a6de7713b8b4acfeb0aae2b652093d2fbe..16b2188ea9dae64e17ffd2b646f02600670ab218 100644 (file)
@@ -104,11 +104,6 @@ class Video: public DrainTarget, public AbstractOption
     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; }
index b83a1554781233fd48626014595d5e07bf0fcb6f..89eb674dc7a0caa2f4957d643dfaf314680eda0a 100644 (file)
@@ -2752,24 +2752,6 @@ u4 VideoOMX::timecodeToFrameNumber(u8 timecode)
 }
 
 */
-#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)
 {
index 1a1e09e2589f90095739068fc08abc369e81b2fa..f983aac5c621f6cd4e2d979095bd33b33449d972 100644 (file)
@@ -120,11 +120,6 @@ class VideoOMX : public Video
     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;
index 5edf7646cb818f5d1df73913c21f588d88dff2ec..18eeb60a769c782404cac7fc1adfb113e35ba8fc 100644 (file)
@@ -2047,18 +2047,5 @@ bool VideoWin::changeAType(int type,IMediaSample* ms){
     }
 }
 
-#ifdef DEV
-int VideoWin::test()
-{
-  return 0;
-}
-
-int VideoWin::test2()
-{
-  return 0;
-}
-#endif
-
-
 
 
index 86d39bff05b724e7e3ddcac331ad1d2262495a54..83c9a25cdeac289f872c34d142454ca38df7fa95 100644 (file)
@@ -157,10 +157,6 @@ public:
        bool selectVideoH264Filter(int filter);
 
 
-#ifdef DEV
-       int test();
-       int test2();
-#endif
 protected:
        bool setVideoDisplay(VideoDisplay display) { vd = display; return true; };