gst_plugins_symbian/tsrc/gstreamertestmodule/inc/GStreamerTestClass.h
branchRCL_3
changeset 30 7e817e7e631c
parent 29 567bb019e3e3
equal deleted inserted replaced
29:567bb019e3e3 30:7e817e7e631c
    83 _LIT( KTagSamplesPlayedProperty,"samplesplayed");
    83 _LIT( KTagSamplesPlayedProperty,"samplesplayed");
    84 _LIT( KTagRightBalanceProperty,"rightbalance");
    84 _LIT( KTagRightBalanceProperty,"rightbalance");
    85 _LIT( KTagVolumeRampProperty,"volumeramp");
    85 _LIT( KTagVolumeRampProperty,"volumeramp");
    86 _LIT( KTagPriorityProperty,"priority");
    86 _LIT( KTagPriorityProperty,"priority");
    87 _LIT( KTagPereferenceProperty,"preference");
    87 _LIT( KTagPereferenceProperty,"preference");
    88 _LIT( KTagNumBuffersProperty,"num-buffers");
       
    89 _LIT( KTagFourCCProperty,"fourcc");
    88 _LIT( KTagFourCCProperty,"fourcc");
    90 _LIT( KTagMimeTypeProperty,"mimetype");
    89 _LIT( KTagMimeTypeProperty,"mimetype");
    91 
    90 
    92 // Source Properties
    91 // Source Properties
    93 _LIT( KTagGainProperty,"gain");
    92 _LIT( KTagGainProperty,"gain");
   100 //#define ?macro ?macro_def
    99 //#define ?macro ?macro_def
   101 // Logging path
   100 // Logging path
   102 #ifdef __WINSCW__
   101 #ifdef __WINSCW__
   103 _LIT( KGStreamerTestClassLogPath, "\\logs\\testframework\\" ); 
   102 _LIT( KGStreamerTestClassLogPath, "\\logs\\testframework\\" ); 
   104 #else
   103 #else
   105 _LIT( KGStreamerTestClassLogPath, "c:\\logs\\" );
   104 _LIT( KGStreamerTestClassLogPath, "e:\\testing\\Log\\" );
   106 #endif
   105 #endif
   107 
   106 
   108 // Log file
   107 // Log file
   109 _LIT( KGStreamerTestClassLogFile, "GStreamerTestClass.txt" ); 
   108 _LIT( KGStreamerTestClassLogFile, "GStreamerTestClass.txt" ); 
   110 
   109 
   153 
   152 
   154     GstElement *iDecoder;
   153     GstElement *iDecoder;
   155     GstElement *iFakesink;
   154     GstElement *iFakesink;
   156     GstElement *iFilesink;
   155     GstElement *iFilesink;
   157     GstElement *iEncoder;
   156     GstElement *iEncoder;
   158     GstElement *iAACEncoder;
       
   159     GstElement *iQtMux;
       
   160     GstElement *iAmrMux;
       
   161     GstElement *iFilter;
   157     GstElement *iFilter;
   162     GstElement *iWavenc;
   158     GstElement *iWavenc;
   163     GstBus* iBus;
   159     GstBus* iBus;
   164     GstCaps* iCaps;
   160     GstCaps* iCaps;
   165     GstG711EncoderIntfc *iG711EncoderIntfc;
   161     GstG711EncoderIntfc *iG711EncoderIntfc;
   215 		    EMP3DECODER,
   211 		    EMP3DECODER,
   216 		    EWAVEENCODER,
   212 		    EWAVEENCODER,
   217 		    ERESAMPLER,
   213 		    ERESAMPLER,
   218 		    ECONVERTER,
   214 		    ECONVERTER,
   219 		    EDEVSOUNDSRC,
   215 		    EDEVSOUNDSRC,
   220 		    EDEVSOUNDSINK,
   216 		    EDEVSOUNDSINK
   221 		    ENOKIAAACENCODER,
       
   222 		    ENOKIAQTMUX,
       
   223 		    ENOKIAAMRMUX,
       
   224 		    };
   217 		    };
   225 		
   218 		
   226       enum TElementCustomInterfaces
   219       enum TElementCustomInterfaces
   227             {
   220             {
   228             EG711ENCODER = 1,
   221             EG711ENCODER = 1,
   458 		TInt LinkElementsInPipeline( CStifItemParser& aItem );
   451 		TInt LinkElementsInPipeline( CStifItemParser& aItem );
   459 		TInt GetElementsCustomIntfc( CStifItemParser& aItem );
   452 		TInt GetElementsCustomIntfc( CStifItemParser& aItem );
   460 		TInt CustomIntfcProp( CStifItemParser& aItem );
   453 		TInt CustomIntfcProp( CStifItemParser& aItem );
   461 		
   454 		
   462 		TInt SetCapsInPipeLine( CStifItemParser& aItem );
   455 		TInt SetCapsInPipeLine( CStifItemParser& aItem );
   463 		TInt StopRecording( CStifItemParser& aItem );
   456 		
   464 		TInt GstReliabilitytestRecording( CStifItemParser& aItem );
       
   465 		TInt GstReliabilitytestPlaypause( CStifItemParser& aItem );
       
   466 		TInt SeekElement( CStifItemParser& aItem );
       
   467 		TInt CheckProperties ( CStifItemParser& aItem );
       
   468 		TInt SetMainLoopRun( CStifItemParser& aItem );
   457 		TInt SetMainLoopRun( CStifItemParser& aItem );
   469 		TInt GetConfigureData();
   458 		TInt GetConfigureData();
   470 		TInt SetConfigureData();
   459 		TInt SetConfigureData();
   471 		TInt PlayBack( CStifItemParser& aItem );
       
   472 
   460 
   473 
   461 
   474     
   462     
   475     public:     // Data
   463     public:     // Data
   476         // ?one_line_short_description_of_data
   464         // ?one_line_short_description_of_data