Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 161537c8 authored by Wei Jia's avatar Wei Jia
Browse files

MediaSync: update code example for setCallback.

Bug: 19666434
Change-Id: I03c16e94c6bdf531426a9b0ccd09c82a76daf009
parent e50121b4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -49,7 +49,7 @@ import java.util.List;
 *     public void onReturnAudioBuffer(MediaSync sync, ByteBuffer audioBuffer, int bufferIndex) {
 *         ...
 *     }
 * });
 * }, null);
 * // This needs to be done since sync is paused on creation.
 * sync.setPlaybackRate(1.0f, MediaSync.PLAYBACK_RATE_AUDIO_MODE_RESAMPLE);
 *