StreetVoice / HysteriaPlayer

Objective-C audio player, sitting on top of AVPlayer
Other
583 stars 99 forks source link

play speed #106

Closed kevinlin505 closed 8 years ago

kevinlin505 commented 8 years ago

Great library. The one question I have is does this library support play speed control? like 1.5x, 2x the normal speed? If not, do you have any plan on integrating it?

saiday commented 8 years ago

@kevinlin505 Since HysteriaPlayer is sitting on top of AVPlayer, so change play speed is a easy task, all we need to do is set rate property. (0.50, 0.67, 0.80, 1.0, 1.25, 1.50, and 2.0) Also, rate functionality provided by AVPlayer is pitch optimized.

Answer to your question, I don't think HysteriaPlayer should support play speed rate setting. The main purpose of HysteriaPlayer is handling playback functionality.