Commit c6047033 by andrewlewis Committed by Oliver Woodman

Remove unused parameter from ChunkSource.continueBuffering.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=120691990
parent ab615682
...@@ -207,7 +207,7 @@ public class ChunkSampleSource implements SampleSource, TrackStream, Loader.Call ...@@ -207,7 +207,7 @@ public class ChunkSampleSource implements SampleSource, TrackStream, Loader.Call
@Override @Override
public void continueBuffering(long positionUs) { public void continueBuffering(long positionUs) {
downstreamPositionUs = positionUs; downstreamPositionUs = positionUs;
chunkSource.continueBuffering(positionUs); chunkSource.continueBuffering();
if (!loader.isLoading()) { if (!loader.isLoading()) {
maybeStartLoading(); maybeStartLoading();
} }
......
...@@ -84,10 +84,8 @@ public interface ChunkSource { ...@@ -84,10 +84,8 @@ public interface ChunkSource {
* Indicates to the source that it should still be checking for updates to the stream. * Indicates to the source that it should still be checking for updates to the stream.
* <p> * <p>
* This method should only be called when the source is enabled. * This method should only be called when the source is enabled.
*
* @param playbackPositionUs The current playback position.
*/ */
void continueBuffering(long playbackPositionUs); void continueBuffering();
/** /**
* Evaluates whether {@link MediaChunk}s should be removed from the back of the queue. * Evaluates whether {@link MediaChunk}s should be removed from the back of the queue.
......
...@@ -159,7 +159,7 @@ public class DashChunkSource implements ChunkSource { ...@@ -159,7 +159,7 @@ public class DashChunkSource implements ChunkSource {
} }
@Override @Override
public void continueBuffering(long playbackPositionUs) { public void continueBuffering() {
if (!currentManifest.dynamic || fatalError != null) { if (!currentManifest.dynamic || fatalError != null) {
return; return;
} }
......
...@@ -163,7 +163,7 @@ public class SmoothStreamingChunkSource implements ChunkSource { ...@@ -163,7 +163,7 @@ public class SmoothStreamingChunkSource implements ChunkSource {
} }
@Override @Override
public void continueBuffering(long playbackPositionUs) { public void continueBuffering() {
if (!currentManifest.isLive || fatalError != null) { if (!currentManifest.isLive || fatalError != null) {
return; return;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment