📄 pbc_plcontrol.h
字号:
/*****************************************************************************
******************************************************************************
** **
** Copyright (c) 2005-2006 Videon Central, Inc. **
** All rights reserved. **
** **
** The computer program contained herein contains proprietary information **
** which is the property of Videon Central, Inc. The program may be used **
** and/or copied only with the written permission of Videon Central, Inc. **
** or in accordance with the terms and conditions stipulated in the **
** agreement/contract under which the programs have been supplied. **
** **
******************************************************************************
*****************************************************************************/
/**
* @file pbc_plcontrol.h
*
* Defines the API to the PlayList Control module of the Playback Control Engine.
* The PlayList Control module is responsible for starting and stopping playlist
* playback, as well as handling transitions between playitems in a playlist.
* This API is intended to be private and used by other Playback
* Control Engine modules only.
*
* $Id: pbc_plcontrol.h,v 1.18 2006/10/25 23:50:09 rbehe Exp $
*/
#ifndef PBC_PLCONTROL_H
#define PBC_PLCONTROL_H
#ifdef __cplusplus
extern "C" {
#endif
#include "vdvd_types.h"
#include "playctrl.h"
#include "pbc_types.h"
/**
* Procedures for controlling playlist playback.
*/
PLAYCTRL_STATUS PbcPLCtrlStartPL(PBC_HANDLE *hPBC, uint32 playlistID, uint16 playitemID, TIME45k time45k_StartTime,
UBYTE ubRandomShuffleIndex, BOOLEAN fNewPlaylist);
PLAYCTRL_STATUS PbcPLCtrlStopPL(PBC_HANDLE *hPBC, BOOLEAN fHoldPicture);
void PbcPLCtrlPlaylistComplete(PBC_HANDLE *hPBC, BOOLEAN fError);
PLAYCTRL_STATUS PbcPLCtrlBegStream(PBC_HANDLE *hPBC, PBC_PLAYITEM_CONTEXT *pPIContext, PE_ISTREAMCTRL_INPUT tInput, BOOLEAN fRepeatCall);
PLAYCTRL_STATUS PbcPLCtrlEndStream(PBC_HANDLE *hPBC, PBC_PLAYITEM_CONTEXT *pPIContext, PE_ISTREAMCTRL_INPUT tInput, BOOLEAN fRepeatCall);
PLAYCTRL_STATUS PbcPLCtrlPrefillComplete(PBC_HANDLE *hPBC, PE_ISTREAMCTRL_INPUT tInput);
uint16 PbcPLCtrlInitRandomShuffle(void);
uint16 PbcPLCtrlGetNextPlayitem(PBC_HANDLE *hPBC, uint32 uiPlayitemID);
uint16 PbcPLCtrlGetPrevPlayitem(PBC_HANDLE *hPBC, uint32 uiPlayitemID);
UBYTE PbcPLCtrlGetRandomShuffleIndex(PBC_HANDLE *hPBC);
void PbcPLCtrlBackupRandomShuffle(void);
void PbcPLCtrlRestoreRandomShuffle(void);
void PbcPLCtrlNotifyPlayRateChange(ULONG ulSpeed);
PLAYCTRL_STATUS PbcPLCtrlConfigPrimaryAudio(PBC_HANDLE *hPBC, uint32 uiPlaylistID, uint16 uiPlayitemID, uint32 uiAudioStn);
PLAYCTRL_STATUS PbcPLCtrlConfigPGandTextST(PBC_HANDLE *hPBC, uint32 uiPlaylistID, uint16 uiPlayitemID, uint32 uiPGTextStn);
PLAYCTRL_STATUS PbcPLCtrlConfigIG(PBC_HANDLE *hPBC, uint32 uiPlaylistID, uint16 uiPlayitemID, uint32 uiIGStn);
uint32 PbcPLCtrlCalculatePLMark(PLAYLISTMARK_TABLE *pPLMark, uint16 playitemID, TIME45k time45k_StartTime, uint8 mark_type);
TIME45k PbcPLCtrlUpdateLocation(PBC_HANDLE *hPBC, TIME45k time45k_CurrPTS, BOOLEAN fImmediate=FALSE);
DR_STREAM PbcPLCtrlGetDRStreamType(PBC_HANDLE *hPBC, PBC_STREAM_ENTRY_TYPE StreamEntry, uint16 uiPlayitemID, uint32 uiStn);
PLAYCTRL_STATUS PbcPLCtrlPlayPlayitem(PBC_HANDLE *hPBC, uint16 uiLastPlayitemID, uint16 uiPlayitemID, TIME45k time45k_StartTime,
BOOLEAN fReverse, uint32 uiPlayRate, UBYTE ubRandomShuffleIndex, BOOLEAN fNewPlaylist, PBC_WHICH_CONTEXT pwContext,
VDVD_CONNECT_COND connection, BOOLEAN fFirstPlayitem);
PLAYCTRL_STATUS PbcPLCtrlPlaySubPlayitem(PBC_HANDLE *hPBC, uint16 uiSyncPlayitemID, PBC_STREAM_ENTRY_TYPE StreamEntry, uint32 uiStn, BOOLEAN fPrefill);
#ifdef __cplusplus
}
#endif
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -