setplayspeed

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

setplayspeed

Jump to solution
840 Views
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);

Labels (3)
0 Kudos
1 Solution
526 Views
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.

View solution in original post

0 Kudos
1 Reply
527 Views
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 Kudos