Commit 76c58a34 by andrewlewis Committed by Oliver Woodman

Clarify createPeriod javadoc.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=140202942
parent 9c612f94
...@@ -52,7 +52,9 @@ public interface MediaSource { ...@@ -52,7 +52,9 @@ public interface MediaSource {
void maybeThrowSourceInfoRefreshError() throws IOException; void maybeThrowSourceInfoRefreshError() throws IOException;
/** /**
* Returns a {@link MediaPeriod} corresponding to the period at the specified index. * Returns a new {@link MediaPeriod} corresponding to the period at the specified {@code index}.
* This method may be called multiple times with the same index without an intervening call to
* {@link #releasePeriod(MediaPeriod)}.
* *
* @param index The index of the period. * @param index The index of the period.
* @param allocator An {@link Allocator} from which to obtain media buffer allocations. * @param allocator An {@link Allocator} from which to obtain media buffer allocations.
......
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