Commit f59755f5 by christosts Committed by kim-vde

Fix JavaDoc

Replace Thread with thread on documentation.

PiperOrigin-RevId: 294401357
parent bc02643d
...@@ -29,7 +29,7 @@ import com.google.android.exoplayer2.util.Assertions; ...@@ -29,7 +29,7 @@ import com.google.android.exoplayer2.util.Assertions;
/** /**
* A {@link MediaCodecAdapter} that operates the {@link MediaCodec} in asynchronous mode. * A {@link MediaCodecAdapter} that operates the {@link MediaCodec} in asynchronous mode.
* *
* <p>The AsynchronousMediaCodecAdapter routes callbacks to the current Thread's {@link Looper} * <p>The AsynchronousMediaCodecAdapter routes callbacks to the current thread's {@link Looper}
* obtained via {@link Looper#myLooper()} * obtained via {@link Looper#myLooper()}
*/ */
@RequiresApi(21) @RequiresApi(21)
......
...@@ -32,7 +32,7 @@ import org.checkerframework.checker.nullness.qual.MonotonicNonNull; ...@@ -32,7 +32,7 @@ import org.checkerframework.checker.nullness.qual.MonotonicNonNull;
/** /**
* A {@link MediaCodecAdapter} that operates the underlying {@link MediaCodec} in asynchronous mode * A {@link MediaCodecAdapter} that operates the underlying {@link MediaCodec} in asynchronous mode
* and routes {@link MediaCodec.Callback} callbacks on a dedicated Thread that is managed * and routes {@link MediaCodec.Callback} callbacks on a dedicated thread that is managed
* internally. * internally.
* *
* <p>This adapter supports queueing input buffers asynchronously. * <p>This adapter supports queueing input buffers asynchronously.
...@@ -64,7 +64,7 @@ import org.checkerframework.checker.nullness.qual.MonotonicNonNull; ...@@ -64,7 +64,7 @@ import org.checkerframework.checker.nullness.qual.MonotonicNonNull;
* *
* @param codec The {@link MediaCodec} to wrap. * @param codec The {@link MediaCodec} to wrap.
* @param trackType One of {@link C#TRACK_TYPE_AUDIO} or {@link C#TRACK_TYPE_VIDEO}. Used for * @param trackType One of {@link C#TRACK_TYPE_AUDIO} or {@link C#TRACK_TYPE_VIDEO}. Used for
* labelling the internal Thread accordingly. * labelling the internal thread accordingly.
*/ */
/* package */ DedicatedThreadAsyncMediaCodecAdapter(MediaCodec codec, int trackType) { /* package */ DedicatedThreadAsyncMediaCodecAdapter(MediaCodec codec, int trackType) {
this( this(
...@@ -80,9 +80,7 @@ import org.checkerframework.checker.nullness.qual.MonotonicNonNull; ...@@ -80,9 +80,7 @@ import org.checkerframework.checker.nullness.qual.MonotonicNonNull;
* @param codec The {@link MediaCodec} to wrap. * @param codec The {@link MediaCodec} to wrap.
* @param enableAsynchronousQueueing Whether input buffers will be queued asynchronously. * @param enableAsynchronousQueueing Whether input buffers will be queued asynchronously.
* @param trackType One of {@link C#TRACK_TYPE_AUDIO} or {@link C#TRACK_TYPE_VIDEO}. Used for * @param trackType One of {@link C#TRACK_TYPE_AUDIO} or {@link C#TRACK_TYPE_VIDEO}. Used for
* labelling the internal Thread accordingly. * labelling the internal thread accordingly.
* @throws IllegalArgumentException If {@code trackType} is not one of {@link C#TRACK_TYPE_AUDIO}
* or {@link C#TRACK_TYPE_VIDEO}.
*/ */
/* package */ DedicatedThreadAsyncMediaCodecAdapter( /* package */ DedicatedThreadAsyncMediaCodecAdapter(
MediaCodec codec, boolean enableAsynchronousQueueing, int trackType) { MediaCodec codec, boolean enableAsynchronousQueueing, int trackType) {
......
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