开发者

Titanium How to Play the Sound from nth second

I have the following code.

recording.start();
file = recording.stop();

sound = Titanium.Media.createSound({sound:file});

sound.play();

I need to play the recording from duration 1开发者_如何学运维5 seconds.

How do i do this?


Have you tried the method instead of the property?

sound.setTime(15);
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜