mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00:00
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:
parent
ce2e2797cb
commit
78350cd17d
1 changed files with 1 additions and 1 deletions
|
|
@ -119,7 +119,7 @@ public interface TrackOutput {
|
||||||
* Called to write sample data to the output.
|
* Called to write sample data to the output.
|
||||||
*
|
*
|
||||||
* @param data A {@link ParsableByteArray} from which to read the sample data.
|
* @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);
|
void sampleData(ParsableByteArray data, int length);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue