Update javadoc for TrackOutput#sampleData to make it more clear that implementors aren't expected to rewind with setPosition()

PiperOrigin-RevId: 260718614
This commit is contained in:
olly 2019-07-30 16:14:06 +01:00 committed by Oliver Woodman
parent 8c1b60f2db
commit 58e70e8351

View File

@ -119,7 +119,7 @@ public interface TrackOutput {
* Called to write sample data to the output.
*
* @param data A {@link ParsableByteArray} from which to read the sample data.
* @param length The number of bytes to read.
* @param length The number of bytes to read, starting from {@code data.getPosition()}.
*/
void sampleData(ParsableByteArray data, int length);