Play some sound effects, using a stream
The example source is there. You can have a live run of the examples here.
Play from stream can be very efficient to play sound effects in real time. For example in a game App. In this example, the App open the Audio Session and call startPlayerFromStream()
during initialization. When it want to play a noise, it has just to call the synchronous verb feed
. Very fast.
