//
// Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
// under the terms of "Eclipse Public License v1.0"
// which accompanies this distribution, and is available
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
//
// Initial Contributors:
// Nokia Corporation - initial contribution.
//
// Contributors:
//
// Description: 
//
//

[Test]
title 21.1 PlayItf Play10SecWithAudioSink
create openmaxaltestmodule ALImpl
ALImpl al_createEngine 1 1 0 0
ALImpl al_objitf_Realize MO_ENGINE XA_BOOLEAN_FALSE
ALImpl al_objitf_GetInterface MO_ENGINE XA_IID_ENGINE
ALImpl al_SetDataLocator 1 file:/\/\/c:/testing/data/omxaltestdata/test.wav
ALImpl al_SetDataFormat 1 audio/mpeg 9
ALImpl al_SetDataSource 1 1 1
ALImpl al_SetDataSink 3 6 1
ALImpl al_engitf_CreateMediaPlayer 0
ALImpl al_objitf_Realize MO_PLAYER XA_BOOLEAN_FALSE
ALImpl al_objitf_GetInterface MO_PLAYER XA_IID_PLAY
ALImpl al_playitf_SetPlayState XA_PLAYSTATE_PLAYING
ALImpl al_playitf_GetPlayState XA_PLAYSTATE_PLAYING
pause 10000
ALImpl al_playitf_SetPlayState XA_PLAYSTATE_STOPPED
ALImpl al_playitf_GetPlayState XA_PLAYSTATE_STOPPED
ALImpl al_objitf_Destroy MO_PLAYER
ALImpl al_objitf_Destroy MO_ENGINE
delete ALImpl
[Endtest]

[Test]
title 21.2 PlayItf Play10SecWithAudioVideoSink
create openmaxaltestmodule ALImpl
ALImpl al_createEngine 1 1 0 0
ALImpl al_objitf_Realize MO_ENGINE XA_BOOLEAN_FALSE
ALImpl al_objitf_GetInterface MO_ENGINE XA_IID_ENGINE
ALImpl al_SetDataLocator 1 file:/\/\/c:/testing/data/omxaltestdata/test.wav
ALImpl al_SetDataFormat 1 vdieo/3gp 17
ALImpl al_SetDataSource 1 1 1
ALImpl al_SetDataSink 3 6 1
ALImpl al_CreateWindow WinPtX WinPtY WinTopLeft WinTopRight WinBotLeft WinBotRight
ALImpl al_SetDataSink 5 3 2
ALImpl al_engitf_CreateMediaPlayer 0
ALImpl al_objitf_Realize MO_PLAYER XA_BOOLEAN_FALSE
ALImpl al_objitf_GetInterface MO_PLAYER XA_IID_PLAY
ALImpl al_playitf_SetPlayState XA_PLAYSTATE_PLAYING
ALImpl al_playitf_GetPlayState XA_PLAYSTATE_PLAYING
pause 10000
ALImpl al_playitf_SetPlayState XA_PLAYSTATE_STOPPED
ALImpl al_playitf_GetPlayState XA_PLAYSTATE_STOPPED
ALImpl al_objitf_Destroy MO_PLAYER
ALImpl al_objitf_Destroy MO_ENGINE
ALImpl al_DeleteWindow
delete ALImpl
[Endtest]

[Test]
title 21.3 PlayItf Play10SecWithAudioSink
create openmaxaltestmodule ALImpl
ALImpl al_createEngine 1 1 0 0
ALImpl al_objitf_Realize MO_ENGINE XA_BOOLEAN_FALSE
ALImpl al_objitf_GetInterface MO_ENGINE XA_IID_ENGINE
ALImpl al_SetDataLocator 1 file:/\/\/f:/testing/data/omxaltestdata/128k_H264_AAC24M22_320x240_15fps.3gp
ALImpl al_SetDataFormat 1 audio/mpeg 9
ALImpl al_SetDataSource 1 1 1
ALImpl al_SetDataSink 3 6 1
ALImpl al_engitf_CreateMediaPlayer 0
ALImpl al_objitf_Realize MO_PLAYER XA_BOOLEAN_FALSE
ALImpl al_objitf_GetInterface MO_PLAYER XA_IID_PLAY
ALImpl al_playitf_SetPlayState XA_PLAYSTATE_PLAYING
ALImpl al_playitf_GetPlayState XA_PLAYSTATE_PLAYING
pause 10000
ALImpl al_playitf_SetPlayState XA_PLAYSTATE_STOPPED
ALImpl al_playitf_GetPlayState XA_PLAYSTATE_STOPPED
ALImpl al_objitf_Destroy MO_PLAYER
ALImpl al_objitf_Destroy MO_ENGINE
delete ALImpl
[Endtest]

[Test]
title 21.4 PlayItf Play10SecWithAudioVideoSink
create openmaxaltestmodule ALImpl
ALImpl al_createEngine 1 1 0 0
ALImpl al_objitf_Realize MO_ENGINE XA_BOOLEAN_FALSE
ALImpl al_objitf_GetInterface MO_ENGINE XA_IID_ENGINE
ALImpl al_SetDataLocator 1 file:/\/\/f:/testing/data/omxaltestdata/128k_H264_AAC24M22_320x240_15fps.3gp
ALImpl al_SetDataFormat 1 vdieo/3gp 17
ALImpl al_SetDataSource 1 1 1
ALImpl al_SetDataSink 3 6 1
ALImpl al_CreateWindow WinPtX WinPtY WinTopLeft WinTopRight WinBotLeft WinBotRight
ALImpl al_SetDataSink 5 3 2
ALImpl al_engitf_CreateMediaPlayer 0
ALImpl al_objitf_Realize MO_PLAYER XA_BOOLEAN_FALSE
ALImpl al_objitf_GetInterface MO_PLAYER XA_IID_PLAY
ALImpl al_playitf_SetPlayState XA_PLAYSTATE_PLAYING
ALImpl al_playitf_GetPlayState XA_PLAYSTATE_PLAYING
pause 10000
ALImpl al_playitf_SetPlayState XA_PLAYSTATE_STOPPED
ALImpl al_playitf_GetPlayState XA_PLAYSTATE_STOPPED
ALImpl al_objitf_Destroy MO_PLAYER
ALImpl al_objitf_Destroy MO_ENGINE
ALImpl al_DeleteWindow
delete ALImpl
[Endtest]

[Test]
title 21.5 PlayItf Play10SecWithAudioSink
create openmaxaltestmodule ALImpl
ALImpl al_createEngine 1 1 0 0
ALImpl al_objitf_Realize MO_ENGINE XA_BOOLEAN_FALSE
ALImpl al_objitf_GetInterface MO_ENGINE XA_IID_ENGINE
ALImpl al_SetDataLocator 1 file:/\/\/f:/testing/data/omxaltestdata/145k_H263_NB12_352x288_15fps.3gp
ALImpl al_SetDataFormat 1 audio/mpeg 9
ALImpl al_SetDataSource 1 1 1
ALImpl al_SetDataSink 3 6 1
ALImpl al_engitf_CreateMediaPlayer 0
ALImpl al_objitf_Realize MO_PLAYER XA_BOOLEAN_FALSE
ALImpl al_objitf_GetInterface MO_PLAYER XA_IID_PLAY
ALImpl al_playitf_SetPlayState XA_PLAYSTATE_PLAYING
ALImpl al_playitf_GetPlayState XA_PLAYSTATE_PLAYING
pause 10000
ALImpl al_playitf_SetPlayState XA_PLAYSTATE_STOPPED
ALImpl al_playitf_GetPlayState XA_PLAYSTATE_STOPPED
ALImpl al_objitf_Destroy MO_PLAYER
ALImpl al_objitf_Destroy MO_ENGINE
delete ALImpl
[Endtest]

[Test]
title 21.6 PlayItf Play10SecWithAudioVideoSink
create openmaxaltestmodule ALImpl
ALImpl al_createEngine 1 1 0 0
ALImpl al_objitf_Realize MO_ENGINE XA_BOOLEAN_FALSE
ALImpl al_objitf_GetInterface MO_ENGINE XA_IID_ENGINE
ALImpl al_SetDataLocator 1 file:/\/\/f:/testing/data/omxaltestdata/145k_H263_NB12_352x288_15fps.3gp
ALImpl al_SetDataFormat 1 vdieo/3gp 17
ALImpl al_SetDataSource 1 1 1
ALImpl al_SetDataSink 3 6 1
ALImpl al_CreateWindow WinPtX WinPtY WinTopLeft WinTopRight WinBotLeft WinBotRight
ALImpl al_SetDataSink 5 3 2
ALImpl al_engitf_CreateMediaPlayer 0
ALImpl al_objitf_Realize MO_PLAYER XA_BOOLEAN_FALSE
ALImpl al_objitf_GetInterface MO_PLAYER XA_IID_PLAY
ALImpl al_playitf_SetPlayState XA_PLAYSTATE_PLAYING
ALImpl al_playitf_GetPlayState XA_PLAYSTATE_PLAYING
pause 10000
ALImpl al_playitf_SetPlayState XA_PLAYSTATE_STOPPED
ALImpl al_playitf_GetPlayState XA_PLAYSTATE_STOPPED
ALImpl al_objitf_Destroy MO_PLAYER
ALImpl al_objitf_Destroy MO_ENGINE
ALImpl al_DeleteWindow
delete ALImpl
[Endtest]

[Test]
title 21.7 PlayItf Play10SecWithAudioSink
create openmaxaltestmodule ALImpl
ALImpl al_createEngine 1 1 0 0
ALImpl al_objitf_Realize MO_ENGINE XA_BOOLEAN_FALSE
ALImpl al_objitf_GetInterface MO_ENGINE XA_IID_ENGINE
ALImpl al_SetDataLocator 1 file:/\/\/f:/testing/data/omxaltestdata/200k_RV9_COOK21_320x240_15fps.rm
ALImpl al_SetDataFormat 1 audio/mpeg 9
ALImpl al_SetDataSource 1 1 1
ALImpl al_SetDataSink 3 6 1
ALImpl al_engitf_CreateMediaPlayer 0
ALImpl al_objitf_Realize MO_PLAYER XA_BOOLEAN_FALSE
ALImpl al_objitf_GetInterface MO_PLAYER XA_IID_PLAY
ALImpl al_playitf_SetPlayState XA_PLAYSTATE_PLAYING
ALImpl al_playitf_GetPlayState XA_PLAYSTATE_PLAYING
pause 10000
ALImpl al_playitf_SetPlayState XA_PLAYSTATE_STOPPED
ALImpl al_playitf_GetPlayState XA_PLAYSTATE_STOPPED
ALImpl al_objitf_Destroy MO_PLAYER
ALImpl al_objitf_Destroy MO_ENGINE
delete ALImpl
[Endtest]

[Test]
title 21.8 PlayItf Play10SecWithAudioVideoSink
create openmaxaltestmodule ALImpl
ALImpl al_createEngine 1 1 0 0
ALImpl al_objitf_Realize MO_ENGINE XA_BOOLEAN_FALSE
ALImpl al_objitf_GetInterface MO_ENGINE XA_IID_ENGINE
ALImpl al_SetDataLocator 1 file:/\/\/f:/testing/data/omxaltestdata/200k_RV9_COOK21_320x240_15fps.rm
ALImpl al_SetDataFormat 1 vdieo/3gp 17
ALImpl al_SetDataSource 1 1 1
ALImpl al_SetDataSink 3 6 1
ALImpl al_CreateWindow WinPtX WinPtY WinTopLeft WinTopRight WinBotLeft WinBotRight
ALImpl al_SetDataSink 5 3 2
ALImpl al_engitf_CreateMediaPlayer 0
ALImpl al_objitf_Realize MO_PLAYER XA_BOOLEAN_FALSE
ALImpl al_objitf_GetInterface MO_PLAYER XA_IID_PLAY
ALImpl al_playitf_SetPlayState XA_PLAYSTATE_PLAYING
ALImpl al_playitf_GetPlayState XA_PLAYSTATE_PLAYING
pause 10000
ALImpl al_playitf_SetPlayState XA_PLAYSTATE_STOPPED
ALImpl al_playitf_GetPlayState XA_PLAYSTATE_STOPPED
ALImpl al_objitf_Destroy MO_PLAYER
ALImpl al_objitf_Destroy MO_ENGINE
ALImpl al_DeleteWindow
delete ALImpl
[Endtest]

[Test]
title 21.9 PlayItf Play10SecWithAudioSink
create openmaxaltestmodule ALImpl
ALImpl al_createEngine 1 1 0 0
ALImpl al_objitf_Realize MO_ENGINE XA_BOOLEAN_FALSE
ALImpl al_objitf_GetInterface MO_ENGINE XA_IID_ENGINE
ALImpl al_SetDataLocator 1 file:/\/\/f:/testing/data/omxaltestdata/30k_MPEG4_AAC_352x288_15fps.3gp
ALImpl al_SetDataFormat 1 audio/mpeg 9
ALImpl al_SetDataSource 1 1 1
ALImpl al_SetDataSink 3 6 1
ALImpl al_engitf_CreateMediaPlayer 0
ALImpl al_objitf_Realize MO_PLAYER XA_BOOLEAN_FALSE
ALImpl al_objitf_GetInterface MO_PLAYER XA_IID_PLAY
ALImpl al_playitf_SetPlayState XA_PLAYSTATE_PLAYING
ALImpl al_playitf_GetPlayState XA_PLAYSTATE_PLAYING
pause 10000
ALImpl al_playitf_SetPlayState XA_PLAYSTATE_STOPPED
ALImpl al_playitf_GetPlayState XA_PLAYSTATE_STOPPED
ALImpl al_objitf_Destroy MO_PLAYER
ALImpl al_objitf_Destroy MO_ENGINE
delete ALImpl
[Endtest]

[Test]
title 21.10 PlayItf Play10SecWithAudioVideoSink
create openmaxaltestmodule ALImpl
ALImpl al_createEngine 1 1 0 0
ALImpl al_objitf_Realize MO_ENGINE XA_BOOLEAN_FALSE
ALImpl al_objitf_GetInterface MO_ENGINE XA_IID_ENGINE
ALImpl al_SetDataLocator 1 file:/\/\/f:/testing/data/omxaltestdata/30k_MPEG4_AAC_352x288_15fps.3gp
ALImpl al_SetDataFormat 1 vdieo/3gp 17
ALImpl al_SetDataSource 1 1 1
ALImpl al_SetDataSink 3 6 1
ALImpl al_CreateWindow WinPtX WinPtY WinTopLeft WinTopRight WinBotLeft WinBotRight
ALImpl al_SetDataSink 5 3 2
ALImpl al_engitf_CreateMediaPlayer 0
ALImpl al_objitf_Realize MO_PLAYER XA_BOOLEAN_FALSE
ALImpl al_objitf_GetInterface MO_PLAYER XA_IID_PLAY
ALImpl al_playitf_SetPlayState XA_PLAYSTATE_PLAYING
ALImpl al_playitf_GetPlayState XA_PLAYSTATE_PLAYING
pause 10000
ALImpl al_playitf_SetPlayState XA_PLAYSTATE_STOPPED
ALImpl al_playitf_GetPlayState XA_PLAYSTATE_STOPPED
ALImpl al_objitf_Destroy MO_PLAYER
ALImpl al_objitf_Destroy MO_ENGINE
ALImpl al_DeleteWindow
delete ALImpl
[Endtest]

[Test]
title 21.11 PlayItf Play10SecWithAudioSink
create openmaxaltestmodule ALImpl
ALImpl al_createEngine 1 1 0 0
ALImpl al_objitf_Realize MO_ENGINE XA_BOOLEAN_FALSE
ALImpl al_objitf_GetInterface MO_ENGINE XA_IID_ENGINE
ALImpl al_SetDataLocator 1 file:/\/\/f:/testing/data/omxaltestdata/30s_MID_Generic.mid
ALImpl al_SetDataFormat 1 audio/mpeg 9
ALImpl al_SetDataSource 1 1 1
ALImpl al_SetDataSink 3 6 1
ALImpl al_engitf_CreateMediaPlayer 0
ALImpl al_objitf_Realize MO_PLAYER XA_BOOLEAN_FALSE
ALImpl al_objitf_GetInterface MO_PLAYER XA_IID_PLAY
ALImpl al_playitf_SetPlayState XA_PLAYSTATE_PLAYING
ALImpl al_playitf_GetPlayState XA_PLAYSTATE_PLAYING
pause 10000
ALImpl al_playitf_SetPlayState XA_PLAYSTATE_STOPPED
ALImpl al_playitf_GetPlayState XA_PLAYSTATE_STOPPED
ALImpl al_objitf_Destroy MO_PLAYER
ALImpl al_objitf_Destroy MO_ENGINE
delete ALImpl
[Endtest]

[Test]
title 21.12 PlayItf Play10SecWithAudioVideoSink
create openmaxaltestmodule ALImpl
ALImpl al_createEngine 1 1 0 0
ALImpl al_objitf_Realize MO_ENGINE XA_BOOLEAN_FALSE
ALImpl al_objitf_GetInterface MO_ENGINE XA_IID_ENGINE
ALImpl al_SetDataLocator 1 file:/\/\/f:/testing/data/omxaltestdata/30s_MID_Generic.mid
ALImpl al_SetDataFormat 1 vdieo/3gp 17
ALImpl al_SetDataSource 1 1 1
ALImpl al_SetDataSink 3 6 1
ALImpl al_CreateWindow WinPtX WinPtY WinTopLeft WinTopRight WinBotLeft WinBotRight
ALImpl al_SetDataSink 5 3 2
ALImpl al_engitf_CreateMediaPlayer 0
ALImpl al_objitf_Realize MO_PLAYER XA_BOOLEAN_FALSE
ALImpl al_objitf_GetInterface MO_PLAYER XA_IID_PLAY
ALImpl al_playitf_SetPlayState XA_PLAYSTATE_PLAYING
ALImpl al_playitf_GetPlayState XA_PLAYSTATE_PLAYING
pause 10000
ALImpl al_playitf_SetPlayState XA_PLAYSTATE_STOPPED
ALImpl al_playitf_GetPlayState XA_PLAYSTATE_STOPPED
ALImpl al_objitf_Destroy MO_PLAYER
ALImpl al_objitf_Destroy MO_ENGINE
ALImpl al_DeleteWindow
delete ALImpl
[Endtest]

[Test]
title 21.13 PlayItf Play10SecWithAudioSink
create openmaxaltestmodule ALImpl
ALImpl al_createEngine 1 1 0 0
ALImpl al_objitf_Realize MO_ENGINE XA_BOOLEAN_FALSE
ALImpl al_objitf_GetInterface MO_ENGINE XA_IID_ENGINE
ALImpl al_SetDataLocator 1 file:/\/\/f:/testing/data/omxaltestdata/384k_CBR_WMV9_CBR_WMA9_CIF_15fps.wmv
ALImpl al_SetDataFormat 1 audio/mpeg 9
ALImpl al_SetDataSource 1 1 1
ALImpl al_SetDataSink 3 6 1
ALImpl al_engitf_CreateMediaPlayer 0
ALImpl al_objitf_Realize MO_PLAYER XA_BOOLEAN_FALSE
ALImpl al_objitf_GetInterface MO_PLAYER XA_IID_PLAY
ALImpl al_playitf_SetPlayState XA_PLAYSTATE_PLAYING
ALImpl al_playitf_GetPlayState XA_PLAYSTATE_PLAYING
pause 10000
ALImpl al_playitf_SetPlayState XA_PLAYSTATE_STOPPED
ALImpl al_playitf_GetPlayState XA_PLAYSTATE_STOPPED
ALImpl al_objitf_Destroy MO_PLAYER
ALImpl al_objitf_Destroy MO_ENGINE
delete ALImpl
[Endtest]

[Test]
title 21.14 PlayItf Play10SecWithAudioVideoSink
create openmaxaltestmodule ALImpl
ALImpl al_createEngine 1 1 0 0
ALImpl al_objitf_Realize MO_ENGINE XA_BOOLEAN_FALSE
ALImpl al_objitf_GetInterface MO_ENGINE XA_IID_ENGINE
ALImpl al_SetDataLocator 1 file:/\/\/f:/testing/data/omxaltestdata/384k_CBR_WMV9_CBR_WMA9_CIF_15fps.wmv
ALImpl al_SetDataFormat 1 vdieo/3gp 17
ALImpl al_SetDataSource 1 1 1
ALImpl al_SetDataSink 3 6 1
ALImpl al_CreateWindow WinPtX WinPtY WinTopLeft WinTopRight WinBotLeft WinBotRight
ALImpl al_SetDataSink 5 3 2
ALImpl al_engitf_CreateMediaPlayer 0
ALImpl al_objitf_Realize MO_PLAYER XA_BOOLEAN_FALSE
ALImpl al_objitf_GetInterface MO_PLAYER XA_IID_PLAY
ALImpl al_playitf_SetPlayState XA_PLAYSTATE_PLAYING
ALImpl al_playitf_GetPlayState XA_PLAYSTATE_PLAYING
pause 10000
ALImpl al_playitf_SetPlayState XA_PLAYSTATE_STOPPED
ALImpl al_playitf_GetPlayState XA_PLAYSTATE_STOPPED
ALImpl al_objitf_Destroy MO_PLAYER
ALImpl al_objitf_Destroy MO_ENGINE
ALImpl al_DeleteWindow
delete ALImpl
[Endtest]

[Test]
title 21.15 PlayItf Play10SecWithAudioSink
create openmaxaltestmodule ALImpl
ALImpl al_createEngine 1 1 0 0
ALImpl al_objitf_Realize MO_ENGINE XA_BOOLEAN_FALSE
ALImpl al_objitf_GetInterface MO_ENGINE XA_IID_ENGINE
ALImpl al_SetDataLocator 1 file:/\/\/f:/testing/data/omxaltestdata/3GP_AAC+_8kbps_16khz_mono.3gp
ALImpl al_SetDataFormat 1 audio/mpeg 9
ALImpl al_SetDataSource 1 1 1
ALImpl al_SetDataSink 3 6 1
ALImpl al_engitf_CreateMediaPlayer 0
ALImpl al_objitf_Realize MO_PLAYER XA_BOOLEAN_FALSE
ALImpl al_objitf_GetInterface MO_PLAYER XA_IID_PLAY
ALImpl al_playitf_SetPlayState XA_PLAYSTATE_PLAYING
ALImpl al_playitf_GetPlayState XA_PLAYSTATE_PLAYING
pause 10000
ALImpl al_playitf_SetPlayState XA_PLAYSTATE_STOPPED
ALImpl al_playitf_GetPlayState XA_PLAYSTATE_STOPPED
ALImpl al_objitf_Destroy MO_PLAYER
ALImpl al_objitf_Destroy MO_ENGINE
delete ALImpl
[Endtest]

[Test]
title 21.16 PlayItf Play10SecWithAudioVideoSink
create openmaxaltestmodule ALImpl
ALImpl al_createEngine 1 1 0 0
ALImpl al_objitf_Realize MO_ENGINE XA_BOOLEAN_FALSE
ALImpl al_objitf_GetInterface MO_ENGINE XA_IID_ENGINE
ALImpl al_SetDataLocator 1 file:/\/\/f:/testing/data/omxaltestdata/3GP_AAC+_8kbps_16khz_mono.3gp
ALImpl al_SetDataFormat 1 vdieo/3gp 17
ALImpl al_SetDataSource 1 1 1
ALImpl al_SetDataSink 3 6 1
ALImpl al_CreateWindow WinPtX WinPtY WinTopLeft WinTopRight WinBotLeft WinBotRight
ALImpl al_SetDataSink 5 3 2
ALImpl al_engitf_CreateMediaPlayer 0
ALImpl al_objitf_Realize MO_PLAYER XA_BOOLEAN_FALSE
ALImpl al_objitf_GetInterface MO_PLAYER XA_IID_PLAY
ALImpl al_playitf_SetPlayState XA_PLAYSTATE_PLAYING
ALImpl al_playitf_GetPlayState XA_PLAYSTATE_PLAYING
pause 10000
ALImpl al_playitf_SetPlayState XA_PLAYSTATE_STOPPED
ALImpl al_playitf_GetPlayState XA_PLAYSTATE_STOPPED
ALImpl al_objitf_Destroy MO_PLAYER
ALImpl al_objitf_Destroy MO_ENGINE
ALImpl al_DeleteWindow
delete ALImpl
[Endtest]

[Test]
title 21.17 PlayItf Play10SecWithAudioSink
create openmaxaltestmodule ALImpl
ALImpl al_createEngine 1 1 0 0
ALImpl al_objitf_Realize MO_ENGINE XA_BOOLEAN_FALSE
ALImpl al_objitf_GetInterface MO_ENGINE XA_IID_ENGINE
ALImpl al_SetDataLocator 1 file:/\/\/f:/testing/data/omxaltestdata/3gp_AAC-LC_16kbps_24kHz_mono.3gp
ALImpl al_SetDataFormat 1 audio/mpeg 9
ALImpl al_SetDataSource 1 1 1
ALImpl al_SetDataSink 3 6 1
ALImpl al_engitf_CreateMediaPlayer 0
ALImpl al_objitf_Realize MO_PLAYER XA_BOOLEAN_FALSE
ALImpl al_objitf_GetInterface MO_PLAYER XA_IID_PLAY
ALImpl al_playitf_SetPlayState XA_PLAYSTATE_PLAYING
ALImpl al_playitf_GetPlayState XA_PLAYSTATE_PLAYING
pause 10000
ALImpl al_playitf_SetPlayState XA_PLAYSTATE_STOPPED
ALImpl al_playitf_GetPlayState XA_PLAYSTATE_STOPPED
ALImpl al_objitf_Destroy MO_PLAYER
ALImpl al_objitf_Destroy MO_ENGINE
delete ALImpl
[Endtest]

[Test]
title 21.18 PlayItf Play10SecWithAudioVideoSink
create openmaxaltestmodule ALImpl
ALImpl al_createEngine 1 1 0 0
ALImpl al_objitf_Realize MO_ENGINE XA_BOOLEAN_FALSE
ALImpl al_objitf_GetInterface MO_ENGINE XA_IID_ENGINE
ALImpl al_SetDataLocator 1 file:/\/\/f:/testing/data/omxaltestdata/3gp_AAC-LC_16kbps_24kHz_mono.3gp
ALImpl al_SetDataFormat 1 vdieo/3gp 17
ALImpl al_SetDataSource 1 1 1
ALImpl al_SetDataSink 3 6 1
ALImpl al_CreateWindow WinPtX WinPtY WinTopLeft WinTopRight WinBotLeft WinBotRight
ALImpl al_SetDataSink 5 3 2
ALImpl al_engitf_CreateMediaPlayer 0
ALImpl al_objitf_Realize MO_PLAYER XA_BOOLEAN_FALSE
ALImpl al_objitf_GetInterface MO_PLAYER XA_IID_PLAY
ALImpl al_playitf_SetPlayState XA_PLAYSTATE_PLAYING
ALImpl al_playitf_GetPlayState XA_PLAYSTATE_PLAYING
pause 10000
ALImpl al_playitf_SetPlayState XA_PLAYSTATE_STOPPED
ALImpl al_playitf_GetPlayState XA_PLAYSTATE_STOPPED
ALImpl al_objitf_Destroy MO_PLAYER
ALImpl al_objitf_Destroy MO_ENGINE
ALImpl al_DeleteWindow
delete ALImpl
[Endtest]

[Test]
title 21.19 PlayItf Play10SecWithAudioSink
create openmaxaltestmodule ALImpl
ALImpl al_createEngine 1 1 0 0
ALImpl al_objitf_Realize MO_ENGINE XA_BOOLEAN_FALSE
ALImpl al_objitf_GetInterface MO_ENGINE XA_IID_ENGINE
ALImpl al_SetDataLocator 1 file:/\/\/f:/testing/data/omxaltestdata/3Mbps_864x480_25fps_AAC_128_short.MP4
ALImpl al_SetDataFormat 1 audio/mpeg 9
ALImpl al_SetDataSource 1 1 1
ALImpl al_SetDataSink 3 6 1
ALImpl al_engitf_CreateMediaPlayer 0
ALImpl al_objitf_Realize MO_PLAYER XA_BOOLEAN_FALSE
ALImpl al_objitf_GetInterface MO_PLAYER XA_IID_PLAY
ALImpl al_playitf_SetPlayState XA_PLAYSTATE_PLAYING
ALImpl al_playitf_GetPlayState XA_PLAYSTATE_PLAYING
pause 10000
ALImpl al_playitf_SetPlayState XA_PLAYSTATE_STOPPED
ALImpl al_playitf_GetPlayState XA_PLAYSTATE_STOPPED
ALImpl al_objitf_Destroy MO_PLAYER
ALImpl al_objitf_Destroy MO_ENGINE
delete ALImpl
[Endtest]

[Test]
title 21.20 PlayItf Play10SecWithAudioVideoSink
create openmaxaltestmodule ALImpl
ALImpl al_createEngine 1 1 0 0
ALImpl al_objitf_Realize MO_ENGINE XA_BOOLEAN_FALSE
ALImpl al_objitf_GetInterface MO_ENGINE XA_IID_ENGINE
ALImpl al_SetDataLocator 1 file:/\/\/f:/testing/data/omxaltestdata/3Mbps_864x480_25fps_AAC_128_short.MP4
ALImpl al_SetDataFormat 1 vdieo/3gp 17
ALImpl al_SetDataSource 1 1 1
ALImpl al_SetDataSink 3 6 1
ALImpl al_CreateWindow WinPtX WinPtY WinTopLeft WinTopRight WinBotLeft WinBotRight
ALImpl al_SetDataSink 5 3 2
ALImpl al_engitf_CreateMediaPlayer 0
ALImpl al_objitf_Realize MO_PLAYER XA_BOOLEAN_FALSE
ALImpl al_objitf_GetInterface MO_PLAYER XA_IID_PLAY
ALImpl al_playitf_SetPlayState XA_PLAYSTATE_PLAYING
ALImpl al_playitf_GetPlayState XA_PLAYSTATE_PLAYING
pause 10000
ALImpl al_playitf_SetPlayState XA_PLAYSTATE_STOPPED
ALImpl al_playitf_GetPlayState XA_PLAYSTATE_STOPPED
ALImpl al_objitf_Destroy MO_PLAYER
ALImpl al_objitf_Destroy MO_ENGINE
ALImpl al_DeleteWindow
delete ALImpl
[Endtest]

[Test]
title 21.21 PlayItf Play10SecWithAudioSink
create openmaxaltestmodule ALImpl
ALImpl al_createEngine 1 1 0 0
ALImpl al_objitf_Realize MO_ENGINE XA_BOOLEAN_FALSE
ALImpl al_objitf_GetInterface MO_ENGINE XA_IID_ENGINE
ALImpl al_SetDataLocator 1 file:/\/\/f:/testing/data/omxaltestdata/768Kbps_H264_VGA_24fps_AAC44_128kbps.MKV
ALImpl al_SetDataFormat 1 audio/mpeg 9
ALImpl al_SetDataSource 1 1 1
ALImpl al_SetDataSink 3 6 1
ALImpl al_engitf_CreateMediaPlayer 0
ALImpl al_objitf_Realize MO_PLAYER XA_BOOLEAN_FALSE
ALImpl al_objitf_GetInterface MO_PLAYER XA_IID_PLAY
ALImpl al_playitf_SetPlayState XA_PLAYSTATE_PLAYING
ALImpl al_playitf_GetPlayState XA_PLAYSTATE_PLAYING
pause 10000
ALImpl al_playitf_SetPlayState XA_PLAYSTATE_STOPPED
ALImpl al_playitf_GetPlayState XA_PLAYSTATE_STOPPED
ALImpl al_objitf_Destroy MO_PLAYER
ALImpl al_objitf_Destroy MO_ENGINE
delete ALImpl
[Endtest]

[Test]
title 21.22 PlayItf Play10SecWithAudioVideoSink
create openmaxaltestmodule ALImpl
ALImpl al_createEngine 1 1 0 0
ALImpl al_objitf_Realize MO_ENGINE XA_BOOLEAN_FALSE
ALImpl al_objitf_GetInterface MO_ENGINE XA_IID_ENGINE
ALImpl al_SetDataLocator 1 file:/\/\/f:/testing/data/omxaltestdata/768Kbps_H264_VGA_24fps_AAC44_128kbps.MKV
ALImpl al_SetDataFormat 1 vdieo/3gp 17
ALImpl al_SetDataSource 1 1 1
ALImpl al_SetDataSink 3 6 1
ALImpl al_CreateWindow WinPtX WinPtY WinTopLeft WinTopRight WinBotLeft WinBotRight
ALImpl al_SetDataSink 5 3 2
ALImpl al_engitf_CreateMediaPlayer 0
ALImpl al_objitf_Realize MO_PLAYER XA_BOOLEAN_FALSE
ALImpl al_objitf_GetInterface MO_PLAYER XA_IID_PLAY
ALImpl al_playitf_SetPlayState XA_PLAYSTATE_PLAYING
ALImpl al_playitf_GetPlayState XA_PLAYSTATE_PLAYING
pause 10000
ALImpl al_playitf_SetPlayState XA_PLAYSTATE_STOPPED
ALImpl al_playitf_GetPlayState XA_PLAYSTATE_STOPPED
ALImpl al_objitf_Destroy MO_PLAYER
ALImpl al_objitf_Destroy MO_ENGINE
ALImpl al_DeleteWindow
delete ALImpl
[Endtest]

[Test]
title 21.23 PlayItf Play10SecWithAudioSink
create openmaxaltestmodule ALImpl
ALImpl al_createEngine 1 1 0 0
ALImpl al_objitf_Realize MO_ENGINE XA_BOOLEAN_FALSE
ALImpl al_objitf_GetInterface MO_ENGINE XA_IID_ENGINE
ALImpl al_SetDataLocator 1 file:/\/\/f:/testing/data/omxaltestdata/AAC_LC_16kbps_8khz_mono.aac
ALImpl al_SetDataFormat 1 audio/mpeg 9
ALImpl al_SetDataSource 1 1 1
ALImpl al_SetDataSink 3 6 1
ALImpl al_engitf_CreateMediaPlayer 0
ALImpl al_objitf_Realize MO_PLAYER XA_BOOLEAN_FALSE
ALImpl al_objitf_GetInterface MO_PLAYER XA_IID_PLAY
ALImpl al_playitf_SetPlayState XA_PLAYSTATE_PLAYING
ALImpl al_playitf_GetPlayState XA_PLAYSTATE_PLAYING
pause 10000
ALImpl al_playitf_SetPlayState XA_PLAYSTATE_STOPPED
ALImpl al_playitf_GetPlayState XA_PLAYSTATE_STOPPED
ALImpl al_objitf_Destroy MO_PLAYER
ALImpl al_objitf_Destroy MO_ENGINE
delete ALImpl
[Endtest]

[Test]
title 21.24 PlayItf Play10SecWithAudioVideoSink
create openmaxaltestmodule ALImpl
ALImpl al_createEngine 1 1 0 0
ALImpl al_objitf_Realize MO_ENGINE XA_BOOLEAN_FALSE
ALImpl al_objitf_GetInterface MO_ENGINE XA_IID_ENGINE
ALImpl al_SetDataLocator 1 file:/\/\/f:/testing/data/omxaltestdata/AAC_LC_16kbps_8khz_mono.aac
ALImpl al_SetDataFormat 1 vdieo/3gp 17
ALImpl al_SetDataSource 1 1 1
ALImpl al_SetDataSink 3 6 1
ALImpl al_CreateWindow WinPtX WinPtY WinTopLeft WinTopRight WinBotLeft WinBotRight
ALImpl al_SetDataSink 5 3 2
ALImpl al_engitf_CreateMediaPlayer 0
ALImpl al_objitf_Realize MO_PLAYER XA_BOOLEAN_FALSE
ALImpl al_objitf_GetInterface MO_PLAYER XA_IID_PLAY
ALImpl al_playitf_SetPlayState XA_PLAYSTATE_PLAYING
ALImpl al_playitf_GetPlayState XA_PLAYSTATE_PLAYING
pause 10000
ALImpl al_playitf_SetPlayState XA_PLAYSTATE_STOPPED
ALImpl al_playitf_GetPlayState XA_PLAYSTATE_STOPPED
ALImpl al_objitf_Destroy MO_PLAYER
ALImpl al_objitf_Destroy MO_ENGINE
ALImpl al_DeleteWindow
delete ALImpl
[Endtest]

[Test]
title 21.25 PlayItf Play10SecWithAudioSink
create openmaxaltestmodule ALImpl
ALImpl al_createEngine 1 1 0 0
ALImpl al_objitf_Realize MO_ENGINE XA_BOOLEAN_FALSE
ALImpl al_objitf_GetInterface MO_ENGINE XA_IID_ENGINE
ALImpl al_SetDataLocator 1 file:/\/\/f:/testing/data/omxaltestdata/AMR-WB-23kb.awb
ALImpl al_SetDataFormat 1 audio/mpeg 9
ALImpl al_SetDataSource 1 1 1
ALImpl al_SetDataSink 3 6 1
ALImpl al_engitf_CreateMediaPlayer 0
ALImpl al_objitf_Realize MO_PLAYER XA_BOOLEAN_FALSE
ALImpl al_objitf_GetInterface MO_PLAYER XA_IID_PLAY
ALImpl al_playitf_SetPlayState XA_PLAYSTATE_PLAYING
ALImpl al_playitf_GetPlayState XA_PLAYSTATE_PLAYING
pause 10000
ALImpl al_playitf_SetPlayState XA_PLAYSTATE_STOPPED
ALImpl al_playitf_GetPlayState XA_PLAYSTATE_STOPPED
ALImpl al_objitf_Destroy MO_PLAYER
ALImpl al_objitf_Destroy MO_ENGINE
delete ALImpl
[Endtest]

[Test]
title 21.26 PlayItf Play10SecWithAudioVideoSink
create openmaxaltestmodule ALImpl
ALImpl al_createEngine 1 1 0 0
ALImpl al_objitf_Realize MO_ENGINE XA_BOOLEAN_FALSE
ALImpl al_objitf_GetInterface MO_ENGINE XA_IID_ENGINE
ALImpl al_SetDataLocator 1 file:/\/\/f:/testing/data/omxaltestdata/AMR-WB-23kb.awb
ALImpl al_SetDataFormat 1 vdieo/3gp 17
ALImpl al_SetDataSource 1 1 1
ALImpl al_SetDataSink 3 6 1
ALImpl al_CreateWindow WinPtX WinPtY WinTopLeft WinTopRight WinBotLeft WinBotRight
ALImpl al_SetDataSink 5 3 2
ALImpl al_engitf_CreateMediaPlayer 0
ALImpl al_objitf_Realize MO_PLAYER XA_BOOLEAN_FALSE
ALImpl al_objitf_GetInterface MO_PLAYER XA_IID_PLAY
ALImpl al_playitf_SetPlayState XA_PLAYSTATE_PLAYING
ALImpl al_playitf_GetPlayState XA_PLAYSTATE_PLAYING
pause 10000
ALImpl al_playitf_SetPlayState XA_PLAYSTATE_STOPPED
ALImpl al_playitf_GetPlayState XA_PLAYSTATE_STOPPED
ALImpl al_objitf_Destroy MO_PLAYER
ALImpl al_objitf_Destroy MO_ENGINE
ALImpl al_DeleteWindow
delete ALImpl
[Endtest]

[Test]
title 21.27 PlayItf Play10SecWithAudioSink
create openmaxaltestmodule ALImpl
ALImpl al_createEngine 1 1 0 0
ALImpl al_objitf_Realize MO_ENGINE XA_BOOLEAN_FALSE
ALImpl al_objitf_GetInterface MO_ENGINE XA_IID_ENGINE
ALImpl al_SetDataLocator 1 file:/\/\/f:/testing/data/omxaltestdata/AMR_NB_12.2kbps.amr
ALImpl al_SetDataFormat 1 audio/mpeg 9
ALImpl al_SetDataSource 1 1 1
ALImpl al_SetDataSink 3 6 1
ALImpl al_engitf_CreateMediaPlayer 0
ALImpl al_objitf_Realize MO_PLAYER XA_BOOLEAN_FALSE
ALImpl al_objitf_GetInterface MO_PLAYER XA_IID_PLAY
ALImpl al_playitf_SetPlayState XA_PLAYSTATE_PLAYING
ALImpl al_playitf_GetPlayState XA_PLAYSTATE_PLAYING
pause 10000
ALImpl al_playitf_SetPlayState XA_PLAYSTATE_STOPPED
ALImpl al_playitf_GetPlayState XA_PLAYSTATE_STOPPED
ALImpl al_objitf_Destroy MO_PLAYER
ALImpl al_objitf_Destroy MO_ENGINE
delete ALImpl
[Endtest]

[Test]
title 21.28 PlayItf Play10SecWithAudioVideoSink
create openmaxaltestmodule ALImpl
ALImpl al_createEngine 1 1 0 0
ALImpl al_objitf_Realize MO_ENGINE XA_BOOLEAN_FALSE
ALImpl al_objitf_GetInterface MO_ENGINE XA_IID_ENGINE
ALImpl al_SetDataLocator 1 file:/\/\/f:/testing/data/omxaltestdata/AMR_NB_12.2kbps.amr
ALImpl al_SetDataFormat 1 vdieo/3gp 17
ALImpl al_SetDataSource 1 1 1
ALImpl al_SetDataSink 3 6 1
ALImpl al_CreateWindow WinPtX WinPtY WinTopLeft WinTopRight WinBotLeft WinBotRight
ALImpl al_SetDataSink 5 3 2
ALImpl al_engitf_CreateMediaPlayer 0
ALImpl al_objitf_Realize MO_PLAYER XA_BOOLEAN_FALSE
ALImpl al_objitf_GetInterface MO_PLAYER XA_IID_PLAY
ALImpl al_playitf_SetPlayState XA_PLAYSTATE_PLAYING
ALImpl al_playitf_GetPlayState XA_PLAYSTATE_PLAYING
pause 10000
ALImpl al_playitf_SetPlayState XA_PLAYSTATE_STOPPED
ALImpl al_playitf_GetPlayState XA_PLAYSTATE_STOPPED
ALImpl al_objitf_Destroy MO_PLAYER
ALImpl al_objitf_Destroy MO_ENGINE
ALImpl al_DeleteWindow
delete ALImpl
[Endtest]

[Test]
title 21.29 PlayItf Play10SecWithAudioSink
create openmaxaltestmodule ALImpl
ALImpl al_createEngine 1 1 0 0
ALImpl al_objitf_Realize MO_ENGINE XA_BOOLEAN_FALSE
ALImpl al_objitf_GetInterface MO_ENGINE XA_IID_ENGINE
ALImpl al_SetDataLocator 1 file:/\/\/f:/testing/data/omxaltestdata/DivX_MP3_1MBps_320X240_25fps.avi
ALImpl al_SetDataFormat 1 audio/mpeg 9
ALImpl al_SetDataSource 1 1 1
ALImpl al_SetDataSink 3 6 1
ALImpl al_engitf_CreateMediaPlayer 0
ALImpl al_objitf_Realize MO_PLAYER XA_BOOLEAN_FALSE
ALImpl al_objitf_GetInterface MO_PLAYER XA_IID_PLAY
ALImpl al_playitf_SetPlayState XA_PLAYSTATE_PLAYING
ALImpl al_playitf_GetPlayState XA_PLAYSTATE_PLAYING
pause 10000
ALImpl al_playitf_SetPlayState XA_PLAYSTATE_STOPPED
ALImpl al_playitf_GetPlayState XA_PLAYSTATE_STOPPED
ALImpl al_objitf_Destroy MO_PLAYER
ALImpl al_objitf_Destroy MO_ENGINE
delete ALImpl
[Endtest]

[Test]
title 21.30 PlayItf Play10SecWithAudioVideoSink
create openmaxaltestmodule ALImpl
ALImpl al_createEngine 1 1 0 0
ALImpl al_objitf_Realize MO_ENGINE XA_BOOLEAN_FALSE
ALImpl al_objitf_GetInterface MO_ENGINE XA_IID_ENGINE
ALImpl al_SetDataLocator 1 file:/\/\/f:/testing/data/omxaltestdata/DivX_MP3_1MBps_320X240_25fps.avi
ALImpl al_SetDataFormat 1 vdieo/3gp 17
ALImpl al_SetDataSource 1 1 1
ALImpl al_SetDataSink 3 6 1
ALImpl al_CreateWindow WinPtX WinPtY WinTopLeft WinTopRight WinBotLeft WinBotRight
ALImpl al_SetDataSink 5 3 2
ALImpl al_engitf_CreateMediaPlayer 0
ALImpl al_objitf_Realize MO_PLAYER XA_BOOLEAN_FALSE
ALImpl al_objitf_GetInterface MO_PLAYER XA_IID_PLAY
ALImpl al_playitf_SetPlayState XA_PLAYSTATE_PLAYING
ALImpl al_playitf_GetPlayState XA_PLAYSTATE_PLAYING
pause 10000
ALImpl al_playitf_SetPlayState XA_PLAYSTATE_STOPPED
ALImpl al_playitf_GetPlayState XA_PLAYSTATE_STOPPED
ALImpl al_objitf_Destroy MO_PLAYER
ALImpl al_objitf_Destroy MO_ENGINE
ALImpl al_DeleteWindow
delete ALImpl
[Endtest]

[Test]
title 21.31 PlayItf Play10SecWithAudioSink
create openmaxaltestmodule ALImpl
ALImpl al_createEngine 1 1 0 0
ALImpl al_objitf_Realize MO_ENGINE XA_BOOLEAN_FALSE
ALImpl al_objitf_GetInterface MO_ENGINE XA_IID_ENGINE
ALImpl al_SetDataLocator 1 file:/\/\/f:/testing/data/omxaltestdata/MP4_24kbps_16khz_mono.mp4
ALImpl al_SetDataFormat 1 audio/mpeg 9
ALImpl al_SetDataSource 1 1 1
ALImpl al_SetDataSink 3 6 1
ALImpl al_engitf_CreateMediaPlayer 0
ALImpl al_objitf_Realize MO_PLAYER XA_BOOLEAN_FALSE
ALImpl al_objitf_GetInterface MO_PLAYER XA_IID_PLAY
ALImpl al_playitf_SetPlayState XA_PLAYSTATE_PLAYING
ALImpl al_playitf_GetPlayState XA_PLAYSTATE_PLAYING
pause 10000
ALImpl al_playitf_SetPlayState XA_PLAYSTATE_STOPPED
ALImpl al_playitf_GetPlayState XA_PLAYSTATE_STOPPED
ALImpl al_objitf_Destroy MO_PLAYER
ALImpl al_objitf_Destroy MO_ENGINE
delete ALImpl
[Endtest]

[Test]
title 21.32 PlayItf Play10SecWithAudioVideoSink
create openmaxaltestmodule ALImpl
ALImpl al_createEngine 1 1 0 0
ALImpl al_objitf_Realize MO_ENGINE XA_BOOLEAN_FALSE
ALImpl al_objitf_GetInterface MO_ENGINE XA_IID_ENGINE
ALImpl al_SetDataLocator 1 file:/\/\/f:/testing/data/omxaltestdata/MP4_24kbps_16khz_mono.mp4
ALImpl al_SetDataFormat 1 vdieo/3gp 17
ALImpl al_SetDataSource 1 1 1
ALImpl al_SetDataSink 3 6 1
ALImpl al_CreateWindow WinPtX WinPtY WinTopLeft WinTopRight WinBotLeft WinBotRight
ALImpl al_SetDataSink 5 3 2
ALImpl al_engitf_CreateMediaPlayer 0
ALImpl al_objitf_Realize MO_PLAYER XA_BOOLEAN_FALSE
ALImpl al_objitf_GetInterface MO_PLAYER XA_IID_PLAY
ALImpl al_playitf_SetPlayState XA_PLAYSTATE_PLAYING
ALImpl al_playitf_GetPlayState XA_PLAYSTATE_PLAYING
pause 10000
ALImpl al_playitf_SetPlayState XA_PLAYSTATE_STOPPED
ALImpl al_playitf_GetPlayState XA_PLAYSTATE_STOPPED
ALImpl al_objitf_Destroy MO_PLAYER
ALImpl al_objitf_Destroy MO_ENGINE
ALImpl al_DeleteWindow
delete ALImpl
[Endtest]
