Loading media/java/android/media/AudioTrack.java +5 −2 Original line number Diff line number Diff line Loading @@ -840,7 +840,10 @@ public class AudioTrack /** * Stops playing the audio data. * * When used on an instance created in {@link #MODE_STREAM} mode, audio will stop playing * after the last buffer that was written has been played. For an immediate stop, use * {@link #pause()}, followed by {@link #flush()} to discard audio data that hasn't been played * back yet. * @throws IllegalStateException */ public void stop() Loading @@ -859,7 +862,7 @@ public class AudioTrack /** * Pauses the playback of the audio data. Data that has not been played * back will not be discarded. Subsequent calls to {@link #play} will play * this data back. * this data back. See {@link #flush()} to discard this data. * * @throws IllegalStateException */ Loading Loading
media/java/android/media/AudioTrack.java +5 −2 Original line number Diff line number Diff line Loading @@ -840,7 +840,10 @@ public class AudioTrack /** * Stops playing the audio data. * * When used on an instance created in {@link #MODE_STREAM} mode, audio will stop playing * after the last buffer that was written has been played. For an immediate stop, use * {@link #pause()}, followed by {@link #flush()} to discard audio data that hasn't been played * back yet. * @throws IllegalStateException */ public void stop() Loading @@ -859,7 +862,7 @@ public class AudioTrack /** * Pauses the playback of the audio data. Data that has not been played * back will not be discarded. Subsequent calls to {@link #play} will play * this data back. * this data back. See {@link #flush()} to discard this data. * * @throws IllegalStateException */ Loading