mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00:00
Fix JavaDoc
Replace Thread with thread on documentation. PiperOrigin-RevId: 294401357
This commit is contained in:
parent
bc02643df0
commit
f59755f51c
2 changed files with 4 additions and 6 deletions
|
|
@ -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;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 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;
|
||||||
*
|
*
|
||||||
* @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;
|
||||||
* @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) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue