gst_plugins_symbian/tsrc/gstreamertestmodule/inc/GStreamerTestClass.h
changeset 8 4a7fac7dd34a
parent 2 5505e8908944
child 11 1373546e05c6
equal deleted inserted replaced
7:71e347f905f2 8:4a7fac7dd34a
    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");
    88 _LIT( KTagFourCCProperty,"fourcc");
    89 _LIT( KTagFourCCProperty,"fourcc");
    89 _LIT( KTagMimeTypeProperty,"mimetype");
    90 _LIT( KTagMimeTypeProperty,"mimetype");
    90 
    91 
    91 // Source Properties
    92 // Source Properties
    92 _LIT( KTagGainProperty,"gain");
    93 _LIT( KTagGainProperty,"gain");
    99 //#define ?macro ?macro_def
   100 //#define ?macro ?macro_def
   100 // Logging path
   101 // Logging path
   101 #ifdef __WINSCW__
   102 #ifdef __WINSCW__
   102 _LIT( KGStreamerTestClassLogPath, "\\logs\\testframework\\" ); 
   103 _LIT( KGStreamerTestClassLogPath, "\\logs\\testframework\\" ); 
   103 #else
   104 #else
   104 _LIT( KGStreamerTestClassLogPath, "e:\\testing\\Log\\" );
   105 _LIT( KGStreamerTestClassLogPath, "c:\\logs\\" );
   105 #endif
   106 #endif
   106 
   107 
   107 // Log file
   108 // Log file
   108 _LIT( KGStreamerTestClassLogFile, "GStreamerTestClass.txt" ); 
   109 _LIT( KGStreamerTestClassLogFile, "GStreamerTestClass.txt" ); 
   109 
   110 
   152 
   153 
   153     GstElement *iDecoder;
   154     GstElement *iDecoder;
   154     GstElement *iFakesink;
   155     GstElement *iFakesink;
   155     GstElement *iFilesink;
   156     GstElement *iFilesink;
   156     GstElement *iEncoder;
   157     GstElement *iEncoder;
       
   158     GstElement *iAACEncoder;
       
   159     GstElement *iQtMux;
       
   160     GstElement *iAmrMux;
   157     GstElement *iFilter;
   161     GstElement *iFilter;
   158     GstElement *iWavenc;
   162     GstElement *iWavenc;
   159     GstBus* iBus;
   163     GstBus* iBus;
   160     GstCaps* iCaps;
   164     GstCaps* iCaps;
   161     GstG711EncoderIntfc *iG711EncoderIntfc;
   165     GstG711EncoderIntfc *iG711EncoderIntfc;
   211 		    EMP3DECODER,
   215 		    EMP3DECODER,
   212 		    EWAVEENCODER,
   216 		    EWAVEENCODER,
   213 		    ERESAMPLER,
   217 		    ERESAMPLER,
   214 		    ECONVERTER,
   218 		    ECONVERTER,
   215 		    EDEVSOUNDSRC,
   219 		    EDEVSOUNDSRC,
   216 		    EDEVSOUNDSINK
   220 		    EDEVSOUNDSINK,
       
   221 		    ENOKIAAACENCODER,
       
   222 		    ENOKIAQTMUX,
       
   223 		    ENOKIAAMRMUX,
   217 		    };
   224 		    };
   218 		
   225 		
   219       enum TElementCustomInterfaces
   226       enum TElementCustomInterfaces
   220             {
   227             {
   221             EG711ENCODER = 1,
   228             EG711ENCODER = 1,
   451 		TInt LinkElementsInPipeline( CStifItemParser& aItem );
   458 		TInt LinkElementsInPipeline( CStifItemParser& aItem );
   452 		TInt GetElementsCustomIntfc( CStifItemParser& aItem );
   459 		TInt GetElementsCustomIntfc( CStifItemParser& aItem );
   453 		TInt CustomIntfcProp( CStifItemParser& aItem );
   460 		TInt CustomIntfcProp( CStifItemParser& aItem );
   454 		
   461 		
   455 		TInt SetCapsInPipeLine( CStifItemParser& aItem );
   462 		TInt SetCapsInPipeLine( CStifItemParser& aItem );
   456 		
   463 		TInt StopRecording( CStifItemParser& aItem );
       
   464 		TInt GstReliabilitytestRecording( CStifItemParser& aItem );
       
   465 		TInt GstReliabilitytestPlaypause( CStifItemParser& aItem );
       
   466 		TInt SeekElement( CStifItemParser& aItem );
       
   467 		TInt CheckProperties ( CStifItemParser& aItem );
   457 		TInt SetMainLoopRun( CStifItemParser& aItem );
   468 		TInt SetMainLoopRun( CStifItemParser& aItem );
   458 		TInt GetConfigureData();
   469 		TInt GetConfigureData();
   459 		TInt SetConfigureData();
   470 		TInt SetConfigureData();
   460 
   471 
   461 
   472