CRI ADX
Last Updated: 2024-07-17 10:48 p
日本語
English
中文
指定播放开始时间播放(搜索播放)
示例目录
/cri/pc/samples/criatomex/seek_playback
示例描述
可以使用::criAtomExPlayer_SetStartTime函数,为Player指定播放开始时间(搜索位置)。
以毫秒为单位指定播放开始时间。
完成设置播放开始时间,以后用此Player播放的音频将从指定时间开始播放。
CriAtomExPlayerHn
player;
criAtomExPlayer_SetStartTime
(player, 10000);
/* 设置为从10秒的位置开始播放 */
criAtomExPlayer_Start
(player);
/* 开始播放 */
criAtomExPlayer_SetStartTime
void criAtomExPlayer_SetStartTime(CriAtomExPlayerHn player, CriSint64 start_time_ms)
Specify the playback starting position
criAtomExPlayer_Start
CriAtomExPlaybackId criAtomExPlayer_Start(CriAtomExPlayerHn player)
Start the playback
CriAtomExPlayerHn
CriAtomExPlayerObj * CriAtomExPlayerHn
Player handle
Definition:
cri_le_atom_ex.h:3622
Copyright (c) CRI Middleware Co., Ltd. 1.9.1