setplayspeed

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

setplayspeed

跳至解决方案
1,060 次查看
weikeng-jimmy
Contributor III

Hi Sir,

I found android API in the Android_codec_release_note as below . The "setPlaySpeed" is only for audio track ? Or it can make the video frame rewind/forward ?

Thanks!

6 Extend Android Multimedia Framework APIs
In Jelly Bean, Freescale has extended only one Android API, set playback speed.
/* trick mode */
/**
* Set playback speed.
*
* @param Speed[] contains only one item which is normalized speed multiplied by 0x10000
* Range of normalized speed is:
* [-16,-2] means rewind, [0.1, 16] means fast forward, step is 0.1
* when normalized speed is [0.1, 1.9] audio is outputted, otherwise audio
* is not outputted.
* After this function call returns, result speed is stored in Speed[0], to show whether
it succeeds or fails.
*/
public native void setPlaySpeed(int[] Speed);

标签 (3)
0 项奖励
回复
1 解答
746 次查看
joanxie
NXP TechSupport
NXP TechSupport

I've updated in your SR, if any update, pls let me know it, if no, pls close this thread.

在原帖中查看解决方案

0 项奖励
回复
1 回复
747 次查看
joanxie
NXP TechSupport
NXP TechSupport

I've updated in your SR, if any update, pls let me know it, if no, pls close this thread.

0 项奖励
回复