FlacConstants
@UnstableApi
class FlacConstants
Defines constants used by the FLAC extractor.
Summary
Constants |
|
|---|---|
const Int |
Maximum size of a FLAC frame header in bytes. |
const Int |
Size of the header of a FLAC metadata block in bytes. |
const Int |
Picture metadata block type. |
const Int |
Seek table metadata block type. |
const Int |
Stream info metadata block type. |
const Int |
Vorbis comment metadata block type. |
const Int |
Minimum size of a FLAC frame header in bytes. |
const Int |
Size of the FLAC stream info block (header included) in bytes. |
const Int |
Size of the FLAC stream marker in bytes. |
Constants
MAX_FRAME_HEADER_SIZE
const val MAX_FRAME_HEADER_SIZE = 16: Int
Maximum size of a FLAC frame header in bytes.
This is a header with:
- The standard mandatory first 4 bytes
- A 7 byte coded number
- A 2 byte uncommon block size
- A 2 byte uncommon sample rate
- A CRC-8 byte
METADATA_BLOCK_HEADER_SIZE
const val METADATA_BLOCK_HEADER_SIZE = 4: Int
Size of the header of a FLAC metadata block in bytes.
METADATA_TYPE_SEEK_TABLE
const val METADATA_TYPE_SEEK_TABLE = 3: Int
Seek table metadata block type.
METADATA_TYPE_STREAM_INFO
const val METADATA_TYPE_STREAM_INFO = 0: Int
Stream info metadata block type.
METADATA_TYPE_VORBIS_COMMENT
const val METADATA_TYPE_VORBIS_COMMENT = 4: Int
Vorbis comment metadata block type.
MIN_FRAME_HEADER_SIZE
const val MIN_FRAME_HEADER_SIZE = 6: Int
Minimum size of a FLAC frame header in bytes.
This is a header with:
- The standard mandatory first 4 bytes
- A single byte coded number
- No uncommon block size or uncommon sample rate
- A CRC-8 byte
STREAM_INFO_BLOCK_SIZE
const val STREAM_INFO_BLOCK_SIZE = 38: Int
Size of the FLAC stream info block (header included) in bytes.