Lines Matching defs:play

57  * a value of 3 causes the sound to play a total of 4 times.</p>
60 * the sound to play at its original frequency (resampled, if necessary,
62 * sound to play at twice its original frequency, and a playback rate of
63 * 0.5 causes it to play at half its original frequency. The playback
67 * Priority is used when a call to play() would cause the number of active
73 * streams, the new sound will not play and the play() function will return
77 * play. For each level, there is a set of unique sounds that are used only
86 * <p>Once the sounds are loaded and play has started, the application can
87 * trigger sounds by calling SoundPool.play(). Playing streams can be
94 * is stopped to allow a higher priority stream to play, the stream is no
102 * another level, a new SoundPool is created, sounds are loaded, and play
152 * @return a sound ID. This value can be used to play or unload the sound.
188 * @return a sound ID. This value can be used to play or unload the sound.
210 * @return a sound ID. This value can be used to play or unload the sound.
236 * @return a sound ID. This value can be used to play or unload the sound.
264 * further control playback. Note that calling play() may cause
270 * rate (pitch) of the sound. A value of 1.0 means play back at
271 * the original frequency. A value of 2.0 means play back twice
282 public native final int play(int soundID, float leftVolume, float rightVolume,
289 * value returned by the play() function. If the stream is
294 * @param streamID a streamID returned by the play() function
302 * is the value returned by the play() function. If the stream
306 * @param streamID a streamID returned by the play() function
332 * is the value returned by the play() function. If the stream
337 * @param streamID a streamID returned by the play() function
345 * This is the value returned by the play() function. The
349 * @param streamID a streamID returned by the play() function
360 * This is the value returned by the play() function. Affects the
361 * order in which streams are re-used to play new sounds. If the
364 * @param streamID a streamID returned by the play() function
376 * @param streamID a streamID returned by the play() function
390 * @param streamID a streamID returned by the play() function