mirror of
https://github.com/androidx/media.git
synced 2025-04-30 06:46:50 +08:00
Replace links to xiph.org/flac/format.html with RFC 9639
PiperOrigin-RevId: 736564046
This commit is contained in:
parent
dfebe72b6a
commit
412ba2e201
@ -22,10 +22,7 @@ import androidx.media3.common.util.Util;
|
|||||||
import androidx.media3.extractor.flac.FlacConstants;
|
import androidx.media3.extractor.flac.FlacConstants;
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
|
|
||||||
/**
|
/** Reads and peeks FLAC frame elements according to RFC 9639. */
|
||||||
* Reads and peeks FLAC frame elements according to the <a
|
|
||||||
* href="https://xiph.org/flac/format.html">FLAC format specification</a>.
|
|
||||||
*/
|
|
||||||
@UnstableApi
|
@UnstableApi
|
||||||
public final class FlacFrameReader {
|
public final class FlacFrameReader {
|
||||||
|
|
||||||
|
@ -30,10 +30,7 @@ import java.io.IOException;
|
|||||||
import java.util.Arrays;
|
import java.util.Arrays;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
/**
|
/** Reads and peeks FLAC stream metadata elements according to RFC 9639. */
|
||||||
* Reads and peeks FLAC stream metadata elements according to the <a
|
|
||||||
* href="https://xiph.org/flac/format.html">FLAC format specification</a>.
|
|
||||||
*/
|
|
||||||
@UnstableApi
|
@UnstableApi
|
||||||
public final class FlacMetadataReader {
|
public final class FlacMetadataReader {
|
||||||
|
|
||||||
|
@ -22,7 +22,7 @@ import androidx.media3.common.util.Util;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* A {@link SeekMap} implementation for FLAC streams that contain a <a
|
* A {@link SeekMap} implementation for FLAC streams that contain a <a
|
||||||
* href="https://xiph.org/flac/format.html#metadata_block_seektable">seek table</a>.
|
* href="https://www.rfc-editor.org/rfc/rfc9639.html#name-seek-table">seek table</a>.
|
||||||
*/
|
*/
|
||||||
@UnstableApi
|
@UnstableApi
|
||||||
public final class FlacSeekTableSeekMap implements SeekMap {
|
public final class FlacSeekTableSeekMap implements SeekMap {
|
||||||
|
@ -33,17 +33,14 @@ import java.util.List;
|
|||||||
/**
|
/**
|
||||||
* Holder for FLAC metadata.
|
* Holder for FLAC metadata.
|
||||||
*
|
*
|
||||||
* <p>See the following spec references:
|
* <p>See the following sections of RFC 9639:
|
||||||
*
|
*
|
||||||
* <ul>
|
* <ul>
|
||||||
* <li><a href="https://xiph.org/flac/format.html#metadata_block_streaminfo">FLAC format
|
* <li><a href="https://www.rfc-editor.org/rfc/rfc9639.html#name-streaminfo">8.2 Streaminfo</a>
|
||||||
* METADATA_BLOCK_STREAMINFO</a>
|
* <li><a href="https://www.rfc-editor.org/rfc/rfc9639.html#name-seek-table">8.5 Seek Table</a>
|
||||||
* <li><a href="https://xiph.org/flac/format.html#metadata_block_seektable">FLAC format
|
* <li><a href="https://www.rfc-editor.org/rfc/rfc9639.html#name-vorbis-comment">8.6 Vorbis
|
||||||
* METADATA_BLOCK_SEEKTABLE</a>
|
* Comment</a>
|
||||||
* <li><a href="https://xiph.org/flac/format.html#metadata_block_vorbis_comment">FLAC format
|
* <li><a href="https://www.rfc-editor.org/rfc/rfc9639.html#name-picture">8.8 Picture</a>
|
||||||
* METADATA_BLOCK_VORBIS_COMMENT</a>
|
|
||||||
* <li><a href="https://xiph.org/flac/format.html#metadata_block_picture">FLAC format
|
|
||||||
* METADATA_BLOCK_PICTURE</a>
|
|
||||||
* </ul>
|
* </ul>
|
||||||
*/
|
*/
|
||||||
@UnstableApi
|
@UnstableApi
|
||||||
|
@ -51,7 +51,7 @@ import org.checkerframework.checker.nullness.qual.MonotonicNonNull;
|
|||||||
/**
|
/**
|
||||||
* Extracts data from FLAC container format.
|
* Extracts data from FLAC container format.
|
||||||
*
|
*
|
||||||
* <p>The format specification can be found at https://xiph.org/flac/format.html.
|
* <p>The format is specified in RFC 9639.
|
||||||
*/
|
*/
|
||||||
@UnstableApi
|
@UnstableApi
|
||||||
public final class FlacExtractor implements Extractor {
|
public final class FlacExtractor implements Extractor {
|
||||||
|
@ -118,7 +118,7 @@ public final class PictureFrame implements Metadata.Entry {
|
|||||||
* Parses a {@code METADATA_BLOCK_PICTURE} into a {@code PictureFrame} instance.
|
* Parses a {@code METADATA_BLOCK_PICTURE} into a {@code PictureFrame} instance.
|
||||||
*
|
*
|
||||||
* <p>{@code pictureBlock} may be read directly from a <a
|
* <p>{@code pictureBlock} may be read directly from a <a
|
||||||
* href="https://xiph.org/flac/format.html#metadata_block_picture">FLAC file</a>, or decoded from
|
* href="https://www.rfc-editor.org/rfc/rfc9639.html#name-picture">FLAC file</a>, or decoded from
|
||||||
* the base64 content of a <a
|
* the base64 content of a <a
|
||||||
* href="https://wiki.xiph.org/VorbisComment#METADATA_BLOCK_PICTURE">Vorbis Comment</a>.
|
* href="https://wiki.xiph.org/VorbisComment#METADATA_BLOCK_PICTURE">Vorbis Comment</a>.
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user