コード例 #1
0
ファイル: ZPlay.cs プロジェクト: Lokukarawita/MediaPlayer
        public bool PlayLoop(
            TTimeFormat TimeFormatStart,
            ref TStreamTime StartPosition,
            TTimeFormat TimeFormatEnd,
            ref TStreamTime EndPosition,
            uint NumberOfCycles,
            bool ContinuePlaying)
        {
            uint fContinuePlaying = !ContinuePlaying ? 0U : 1U;

            return(ZPlay.zplay_PlayLoop(this.objptr, Convert.ToInt32((int)TimeFormatStart), ref StartPosition, Convert.ToInt32((int)TimeFormatEnd), ref EndPosition, NumberOfCycles, fContinuePlaying) == 1);
        }