videoplayback/videohelix/tsrc/ut_videohelixtest/src/videohelixtest.cpp
branchRCL_3
changeset 15 8f0df5c82986
parent 0 96612d01cf9f
equal deleted inserted replaced
14:55fa1ec415c6 15:8f0df5c82986
    13 *
    13 *
    14 * Description:  Test Harness for VideoHelix Playback Plugin
    14 * Description:  Test Harness for VideoHelix Playback Plugin
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 // Version : %version: 6 %
    18 // Version : %version: 7 %
    19 
    19 
    20 
    20 
    21 // INCLUDE FILES
    21 // INCLUDE FILES
    22 
    22 
    23 #include "stifutilities.h"
    23 #include "stifutilities.h"
   127 
   127 
   128     iExpectedCallbackArray = new (ELeave) CArrayPtrFlat<TCallbackEvent>( 1 );
   128     iExpectedCallbackArray = new (ELeave) CArrayPtrFlat<TCallbackEvent>( 1 );
   129 
   129 
   130     //
   130     //
   131     //  CenRep volume range is 0 - number of steps (either 10 or 20).
   131     //  CenRep volume range is 0 - number of steps (either 10 or 20).
   132     //  Set default CenRep values as volume(4), mute(0)
   132     //  Set default CenRep values as volume(40), mute(0)
   133     //
   133     //
   134     CRepository* volCenRep = CRepository::NewL( KCRUidMPXVideoSettings );
   134     CRepository* volCenRep = CRepository::NewL( KCRUidMPXVideoSettings );
   135     volCenRep->Set( KMPXVideoPlaybackVolume, 4 );
   135     volCenRep->Set( KMPXVideoPlaybackVolume, 40 );
   136     volCenRep->Set( KMPXVideoPlaybackMute, 0 );
   136     volCenRep->Set( KMPXVideoPlaybackMute, 0 );
   137     delete volCenRep;
   137     delete volCenRep;
   138 
   138 
   139     //
   139     //
   140     //  Create VideoHelix Playback Plugin for STIF testing
   140     //  Create VideoHelix Playback Plugin for STIF testing