mirror of
https://github.com/samsonjs/media.git
synced 2026-04-02 10:45:51 +00:00
Make Javadoc compile with Java8
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=130922558
This commit is contained in:
parent
9f1fc274c9
commit
d5607cfc47
4 changed files with 10 additions and 10 deletions
|
|
@ -56,7 +56,7 @@ import com.google.android.exoplayer2.source.MediaSource;
|
|||
* <p>The figure below shows the {@link ExoPlayer} threading model.</p>
|
||||
* <p align="center"><img src="doc-files/exoplayer-threading-model.png"
|
||||
* alt="MediaPlayer state diagram"
|
||||
* border="0"/></p>
|
||||
* border="0"></p>
|
||||
*
|
||||
* <ul>
|
||||
* <li>It is recommended that instances are created and accessed from a single application thread.
|
||||
|
|
@ -84,14 +84,14 @@ import com.google.android.exoplayer2.source.MediaSource;
|
|||
*
|
||||
* <p align="center"><img src="doc-files/exoplayer-state.png"
|
||||
* alt="ExoPlayer state"
|
||||
* border="0"/></p>
|
||||
* border="0"></p>
|
||||
*
|
||||
* <p>The possible playback state transitions are shown below. Transitions can be triggered either
|
||||
* by changes in the state of the {@link Renderer}s being used, or as a result of
|
||||
* {@link #setMediaSource(MediaSource)}, {@link #stop()} or {@link #release()} being called.</p>
|
||||
* <p align="center"><img src="doc-files/exoplayer-playbackstate.png"
|
||||
* alt="ExoPlayer playback state transitions"
|
||||
* border="0"/></p>
|
||||
* border="0"></p>
|
||||
*/
|
||||
public interface ExoPlayer {
|
||||
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ import java.io.IOException;
|
|||
* transition.
|
||||
* <p align="center"><img src="doc-files/renderer-states.png"
|
||||
* alt="Renderer state transitions"
|
||||
* border="0"/></p>
|
||||
* border="0"></p>
|
||||
*/
|
||||
public interface Renderer extends ExoPlayerComponent {
|
||||
|
||||
|
|
|
|||
|
|
@ -178,7 +178,7 @@ public final class AudioTrack {
|
|||
|
||||
/**
|
||||
* Whether to enable a workaround for an issue where an audio effect does not keep its session
|
||||
* active across releasing/initializing a new audio track, on platform API version before 21.
|
||||
* active across releasing/initializing a new audio track, on platform API version < 21.
|
||||
* <p>
|
||||
* The flag must be set before creating a player.
|
||||
*/
|
||||
|
|
@ -679,10 +679,10 @@ public final class AudioTrack {
|
|||
}
|
||||
|
||||
/**
|
||||
* Sets the playback parameters. Only available for SDK_INT >= 23
|
||||
* Sets the playback parameters. Only available for SDK_INT >= 23
|
||||
*
|
||||
* @throws UnsupportedOperationException if the Playback Parameters are not supported. That is,
|
||||
* SDK_INT < 23.
|
||||
* SDK_INT < 23.
|
||||
*/
|
||||
public void setPlaybackParams(PlaybackParams playbackParams) {
|
||||
audioTrackUtil.setPlaybackParameters(playbackParams);
|
||||
|
|
@ -1216,7 +1216,7 @@ public final class AudioTrack {
|
|||
*
|
||||
* @param playbackParams to be used by the {@link android.media.AudioTrack}.
|
||||
* @throws UnsupportedOperationException If Playback Parameters are not supported
|
||||
* (i.e. SDK_INT < 23).
|
||||
* (i.e. SDK_INT < 23).
|
||||
*/
|
||||
public void setPlaybackParameters(PlaybackParams playbackParams) {
|
||||
throw new UnsupportedOperationException();
|
||||
|
|
|
|||
|
|
@ -31,11 +31,11 @@ public interface MetadataDecoder<T> {
|
|||
boolean canDecode(String mimeType);
|
||||
|
||||
/**
|
||||
* Decodes metadata objects of type <T> from the provided binary data.
|
||||
* Decodes metadata object from the provided binary data.
|
||||
*
|
||||
* @param data The raw binary data from which to decode the metadata.
|
||||
* @param size The size of the input data.
|
||||
* @return @return A decoded metadata object of type <T>.
|
||||
* @return @return A decoded metadata object.
|
||||
* @throws MetadataDecoderException If a problem occurred decoding the data.
|
||||
*/
|
||||
T decode(byte[] data, int size) throws MetadataDecoderException;
|
||||
|
|
|
|||
Loading…
Reference in a new issue