Lines Matching full:play
28 * camera2 API does not play any sounds on its own for any capture or video recording actions.</p>
30 * <p>With the older {@link android.hardware.Camera} API, use this class to play an appropriate
37 * <p>There is no need to play sounds when using
40 * as the Android framework will play the appropriate sounds when needed for
63 * @see #play
71 * @see #play
79 * @see #play
87 * @see #play
111 * played later by {@link #play}.
115 * @see #play
132 * <p>Play one of the predefined platform sounds for media actions.</p>
134 * <p>Use this method to play a platform-specific sound for various media
141 * <p>With the {@link android.hardware.camera2 camera2} API, this method can be used to play
148 * <p>If the sound has not been loaded by {@link #load} before calling play,
149 * play will load the sound at the cost of some additional latency before
152 * @param soundName The type of sound to play, selected from
162 public synchronized void play(int soundName) {
171 mSoundPool.play(mSoundIds[soundName], 1.0f, 1.0f, 0, 0, 1.0f);
181 soundPool.play(sampleId, 1.0f, 1.0f, 0, 0, 1.0f);