Closed sdesimone closed 11 years ago
How would these functions work in practice? It looks like you need to call fade out only at the time when the stream is about to end, and you'd call fade in right as the stream was created?
You can use them in different ways. Firstly, just as you mention. But also, e.g., to fade out the current song when the user taps a Stop button (instead of abruptly stopping sound); this could happen at any moment. Fade in can be used for cross-fading two streamers when the user taps a Next song button: [currentStreamer fadeOutDuration:10.0]; [newStreamer fadeInDuration:10.0]; [newStreamer start]; (after 10.0 secs the currentStreamer could be removed, also).
Hope this helps understanding those methods.
Sounds good to me, thanks!
Thanks for the great work!