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);
精彩评论